Show / Hide Table of Contents

Class LoyaltyclassResource

The "loyaltyclass" collection of methods.

Inheritance
object
LoyaltyclassResource
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 LoyaltyclassResource

Constructors

LoyaltyclassResource(IClientService)

Constructs a new resource.

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

Methods

Addmessage(AddMessageRequest, string)

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

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

The body of the request.

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

Returns
Type Description
LoyaltyclassResource.AddmessageRequest

Get(string)

Returns the loyalty class with the given class ID.

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

Returns
Type Description
LoyaltyclassResource.GetRequest

Insert(LoyaltyClass)

Inserts an loyalty class with the given ID and properties.

Declaration
public virtual LoyaltyclassResource.InsertRequest Insert(LoyaltyClass body)
Parameters
Type Name Description
LoyaltyClass body

The body of the request.

Returns
Type Description
LoyaltyclassResource.InsertRequest

List()

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

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

Patch(LoyaltyClass, string)

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

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

The body of the request.

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

Returns
Type Description
LoyaltyclassResource.PatchRequest

Update(LoyaltyClass, string)

Updates the loyalty class referenced by the given class ID.

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

The body of the request.

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

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