class Flightobject extends Resource (View source)

The "flightobject" collection of methods.

Typical usage is:

 $walletobjectsService = new Google\Service\Walletobjects(...);
 $flightobject = $walletobjectsService->flightobject;

Methods

addmessage(string $resourceId, AddMessageRequest $postBody, array $optParams = [])

Adds a message to the flight object referenced by the given object ID.

get(string $resourceId, array $optParams = [])

Returns the flight object with the given object ID. (flightobject.get)

insert(FlightObject $postBody, array $optParams = [])

Inserts an flight object with the given ID and properties.

listFlightobject(array $optParams = [])

Returns a list of all flight objects for a given issuer ID.

patch(string $resourceId, FlightObject $postBody, array $optParams = [])

Updates the flight object referenced by the given object ID. This method supports patch semantics. (flightobject.patch)

update(string $resourceId, FlightObject $postBody, array $optParams = [])

Updates the flight object referenced by the given object ID.

Details

FlightObjectAddMessageResponse addmessage(string $resourceId, AddMessageRequest $postBody, array $optParams = [])

Adds a message to the flight object referenced by the given object ID.

(flightobject.addmessage)

Parameters

string $resourceId

The unique identifier for an object. This ID must be unique across all objects from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.

AddMessageRequest $postBody
array $optParams

Optional parameters.

Return Value

FlightObjectAddMessageResponse

Exceptions

Exception

FlightObject get(string $resourceId, array $optParams = [])

Returns the flight object with the given object ID. (flightobject.get)

Parameters

string $resourceId

The unique identifier for an object. This ID must be unique across all objects from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.

array $optParams

Optional parameters.

Return Value

FlightObject

Exceptions

Exception

FlightObject insert(FlightObject $postBody, array $optParams = [])

Inserts an flight object with the given ID and properties.

(flightobject.insert)

Parameters

FlightObject $postBody
array $optParams

Optional parameters.

Return Value

FlightObject

Exceptions

Exception

FlightObjectListResponse listFlightobject(array $optParams = [])

Returns a list of all flight objects for a given issuer ID.

(flightobject.listFlightobject)

Parameters

array $optParams

Optional parameters.

Return Value

FlightObjectListResponse

Exceptions

Exception

FlightObject patch(string $resourceId, FlightObject $postBody, array $optParams = [])

Updates the flight object referenced by the given object ID. This method supports patch semantics. (flightobject.patch)

Parameters

string $resourceId

The unique identifier for an object. This ID must be unique across all objects from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.

FlightObject $postBody
array $optParams

Optional parameters.

Return Value

FlightObject

Exceptions

Exception

FlightObject update(string $resourceId, FlightObject $postBody, array $optParams = [])

Updates the flight object referenced by the given object ID.

(flightobject.update)

Parameters

string $resourceId

The unique identifier for an object. This ID must be unique across all objects from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.

FlightObject $postBody
array $optParams

Optional parameters.

Return Value

FlightObject

Exceptions

Exception