class Genericobject extends Resource (View source)

The "genericobject" collection of methods.

Typical usage is:

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

Methods

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

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

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

Returns the generic object with the given object ID. (genericobject.get)

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

Inserts a generic object with the given ID and properties.

listGenericobject(array $optParams = [])

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

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

Updates the generic object referenced by the given object ID. This method supports patch semantics. (genericobject.patch)

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

Updates the generic object referenced by the given object ID.

Details

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

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

(genericobject.addmessage)

Parameters

string $resourceId

The unique identifier for an object. 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

GenericObjectAddMessageResponse

Exceptions

Exception

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

Returns the generic object with the given object ID. (genericobject.get)

Parameters

string $resourceId

The unique identifier for an object. This ID must be unique across all objects 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

GenericObject

Exceptions

Exception

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

Inserts a generic object with the given ID and properties.

(genericobject.insert)

Parameters

GenericObject $postBody
array $optParams

Optional parameters.

Return Value

GenericObject

Exceptions

Exception

GenericObjectListResponse listGenericobject(array $optParams = [])

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

(genericobject.listGenericobject)

Parameters

array $optParams

Optional parameters.

Return Value

GenericObjectListResponse

Exceptions

Exception

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

Updates the generic object referenced by the given object ID. This method supports patch semantics. (genericobject.patch)

Parameters

string $resourceId

The unique identifier for an object. This ID must be unique across all objects 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 -.

GenericObject $postBody
array $optParams

Optional parameters.

Return Value

GenericObject

Exceptions

Exception

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

Updates the generic object referenced by the given object ID.

(genericobject.update)

Parameters

string $resourceId

The unique identifier for an object. This ID must be unique across all objects 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 -.

GenericObject $postBody
array $optParams

Optional parameters.

Return Value

GenericObject

Exceptions

Exception