class Genericclass extends Resource (View source)

The "genericclass" collection of methods.

Typical usage is:

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

Methods

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

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

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

Returns the generic class with the given class ID. (genericclass.get)

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

Inserts a generic class with the given ID and properties.

listGenericclass(array $optParams = [])

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

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

Updates the generic class referenced by the given class ID. This method supports patch semantics. (genericclass.patch)

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

Updates the Generic class referenced by the given class ID.

Details

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

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

(genericclass.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

GenericClassAddMessageResponse

Exceptions

Exception

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

Returns the generic class with the given class ID. (genericclass.get)

Parameters

string $resourceId

The unique identifier for a class. This ID must be unique across all classes from an issuer. This value needs to follow the format issuerID.identifier where issuerID is issued by Google and identifier is chosen by you. The unique identifier can only include alphanumeric characters, ., _, or -.

array $optParams

Optional parameters.

Return Value

GenericClass

Exceptions

Exception

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

Inserts a generic class with the given ID and properties.

(genericclass.insert)

Parameters

GenericClass $postBody
array $optParams

Optional parameters.

Return Value

GenericClass

Exceptions

Exception

GenericClassListResponse listGenericclass(array $optParams = [])

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

(genericclass.listGenericclass)

Parameters

array $optParams

Optional parameters.

Return Value

GenericClassListResponse

Exceptions

Exception

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

Updates the generic class referenced by the given class ID. This method supports patch semantics. (genericclass.patch)

Parameters

string $resourceId

The unique identifier for a class. This ID must be unique across all classes from an issuer. This value needs to follow the format issuerID.identifier where issuerID is issued by Google and identifier is chosen by you. The unique identifier can only include alphanumeric characters, ., _, or -.

GenericClass $postBody
array $optParams

Optional parameters.

Return Value

GenericClass

Exceptions

Exception

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

Updates the Generic class referenced by the given class ID.

(genericclass.update)

Parameters

string $resourceId

The unique identifier for a class. This ID must be unique across all classes from an issuer. This value needs to follow the format issuerID.identifier where issuerID is issued by Google and identifier is chosen by you. The unique identifier can only include alphanumeric characters, ., _, or -.

GenericClass $postBody
array $optParams

Optional parameters.

Return Value

GenericClass

Exceptions

Exception