class Flightclass extends Resource (View source)

The "flightclass" collection of methods.

Typical usage is:

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

Methods

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

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

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

Returns the flight class with the given class ID. (flightclass.get)

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

Inserts an flight class with the given ID and properties.

listFlightclass(array $optParams = [])

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

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

Updates the flight class referenced by the given class ID. This method supports patch semantics. (flightclass.patch)

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

Updates the flight class referenced by the given class ID.

Details

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

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

(flightclass.addmessage)

Parameters

string $resourceId

The unique identifier for a class. This ID must be unique across all classes 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

FlightClassAddMessageResponse

Exceptions

Exception

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

Returns the flight class with the given class ID. (flightclass.get)

Parameters

string $resourceId

The unique identifier for a class. This ID must be unique across all classes 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

FlightClass

Exceptions

Exception

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

Inserts an flight class with the given ID and properties.

(flightclass.insert)

Parameters

FlightClass $postBody
array $optParams

Optional parameters.

Return Value

FlightClass

Exceptions

Exception

FlightClassListResponse listFlightclass(array $optParams = [])

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

(flightclass.listFlightclass)

Parameters

array $optParams

Optional parameters.

Return Value

FlightClassListResponse

Exceptions

Exception

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

Updates the flight class referenced by the given class ID. This method supports patch semantics. (flightclass.patch)

Parameters

string $resourceId

The unique identifier for a class. This ID must be unique across all classes 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 '-'.

FlightClass $postBody
array $optParams

Optional parameters.

Return Value

FlightClass

Exceptions

Exception

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

Updates the flight class referenced by the given class ID.

(flightclass.update)

Parameters

string $resourceId

The unique identifier for a class. This ID must be unique across all classes 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 '-'.

FlightClass $postBody
array $optParams

Optional parameters.

Return Value

FlightClass

Exceptions

Exception