Show / Hide Table of Contents

Class LoyaltyobjectResource

The "loyaltyobject" collection of methods.

Inheritance
object
LoyaltyobjectResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Walletobjects.v1
Assembly: Google.Apis.Walletobjects.v1.dll
Syntax
public class LoyaltyobjectResource

Constructors

LoyaltyobjectResource(IClientService)

Constructs a new resource.

Declaration
public LoyaltyobjectResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Addmessage(AddMessageRequest, string)

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

Declaration
public virtual LoyaltyobjectResource.AddmessageRequest Addmessage(AddMessageRequest body, string resourceId)
Parameters
Type Name Description
AddMessageRequest body

The body of the request.

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 '-'.

Returns
Type Description
LoyaltyobjectResource.AddmessageRequest

Get(string)

Returns the loyalty object with the given object ID.

Declaration
public virtual LoyaltyobjectResource.GetRequest Get(string resourceId)
Parameters
Type Name Description
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 '-'.

Returns
Type Description
LoyaltyobjectResource.GetRequest

Insert(LoyaltyObject)

Inserts an loyalty object with the given ID and properties.

Declaration
public virtual LoyaltyobjectResource.InsertRequest Insert(LoyaltyObject body)
Parameters
Type Name Description
LoyaltyObject body

The body of the request.

Returns
Type Description
LoyaltyobjectResource.InsertRequest

List()

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

Declaration
public virtual LoyaltyobjectResource.ListRequest List()
Returns
Type Description
LoyaltyobjectResource.ListRequest

Modifylinkedofferobjects(ModifyLinkedOfferObjectsRequest, string)

Modifies linked offer objects for the loyalty object with the given ID.

Declaration
public virtual LoyaltyobjectResource.ModifylinkedofferobjectsRequest Modifylinkedofferobjects(ModifyLinkedOfferObjectsRequest body, string resourceId)
Parameters
Type Name Description
ModifyLinkedOfferObjectsRequest body

The body of the request.

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 '-'.

Returns
Type Description
LoyaltyobjectResource.ModifylinkedofferobjectsRequest

Patch(LoyaltyObject, string)

Updates the loyalty object referenced by the given object ID. This method supports patch semantics.

Declaration
public virtual LoyaltyobjectResource.PatchRequest Patch(LoyaltyObject body, string resourceId)
Parameters
Type Name Description
LoyaltyObject body

The body of the request.

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 '-'.

Returns
Type Description
LoyaltyobjectResource.PatchRequest

Update(LoyaltyObject, string)

Updates the loyalty object referenced by the given object ID.

Declaration
public virtual LoyaltyobjectResource.UpdateRequest Update(LoyaltyObject body, string resourceId)
Parameters
Type Name Description
LoyaltyObject body

The body of the request.

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 '-'.

Returns
Type Description
LoyaltyobjectResource.UpdateRequest
In this article
Back to top Generated by DocFX