Loyaltyclass
class Loyaltyclass extends Resource (View source)
The "loyaltyclass" collection of methods.
Typical usage is:
$walletobjectsService = new Google\Service\Walletobjects(...);
$loyaltyclass = $walletobjectsService->loyaltyclass;
Methods
Adds a message to the loyalty class referenced by the given class ID.
Returns the loyalty class with the given class ID. (loyaltyclass.get)
Inserts an loyalty class with the given ID and properties.
Returns a list of all loyalty classes for a given issuer ID.
Updates the loyalty class referenced by the given class ID. This method supports patch semantics. (loyaltyclass.patch)
Updates the loyalty class referenced by the given class ID.
Details
LoyaltyClassAddMessageResponse
addmessage(string $resourceId, AddMessageRequest $postBody, array $optParams = [])
Adds a message to the loyalty class referenced by the given class ID.
(loyaltyclass.addmessage)
LoyaltyClass
get(string $resourceId, array $optParams = [])
Returns the loyalty class with the given class ID. (loyaltyclass.get)
LoyaltyClass
insert(LoyaltyClass $postBody, array $optParams = [])
Inserts an loyalty class with the given ID and properties.
(loyaltyclass.insert)
LoyaltyClassListResponse
listLoyaltyclass(array $optParams = [])
Returns a list of all loyalty classes for a given issuer ID.
(loyaltyclass.listLoyaltyclass)
LoyaltyClass
patch(string $resourceId, LoyaltyClass $postBody, array $optParams = [])
Updates the loyalty class referenced by the given class ID. This method supports patch semantics. (loyaltyclass.patch)
LoyaltyClass
update(string $resourceId, LoyaltyClass $postBody, array $optParams = [])
Updates the loyalty class referenced by the given class ID.
(loyaltyclass.update)