Class GiftcardclassResource
The "giftcardclass" collection of methods.
Inherited Members
Namespace: Google.Apis.Walletobjects.v1
Assembly: Google.Apis.Walletobjects.v1.dll
Syntax
public class GiftcardclassResource
Constructors
GiftcardclassResource(IClientService)
Constructs a new resource.
Declaration
public GiftcardclassResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Addmessage(AddMessageRequest, string)
Adds a message to the gift card class referenced by the given class ID.
Declaration
public virtual GiftcardclassResource.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 |
|---|---|
| GiftcardclassResource.AddmessageRequest |
Get(string)
Returns the gift card class with the given class ID.
Declaration
public virtual GiftcardclassResource.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 |
|---|---|
| GiftcardclassResource.GetRequest |
Insert(GiftCardClass)
Inserts an gift card class with the given ID and properties.
Declaration
public virtual GiftcardclassResource.InsertRequest Insert(GiftCardClass body)
Parameters
| Type | Name | Description |
|---|---|---|
| GiftCardClass | body | The body of the request. |
Returns
| Type | Description |
|---|---|
| GiftcardclassResource.InsertRequest |
List()
Returns a list of all gift card classes for a given issuer ID.
Declaration
public virtual GiftcardclassResource.ListRequest List()
Returns
| Type | Description |
|---|---|
| GiftcardclassResource.ListRequest |
Patch(GiftCardClass, string)
Updates the gift card class referenced by the given class ID. This method supports patch semantics.
Declaration
public virtual GiftcardclassResource.PatchRequest Patch(GiftCardClass body, string resourceId)
Parameters
| Type | Name | Description |
|---|---|---|
| GiftCardClass | 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 |
|---|---|
| GiftcardclassResource.PatchRequest |
Update(GiftCardClass, string)
Updates the gift card class referenced by the given class ID.
Declaration
public virtual GiftcardclassResource.UpdateRequest Update(GiftCardClass body, string resourceId)
Parameters
| Type | Name | Description |
|---|---|---|
| GiftCardClass | 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 |
|---|---|
| GiftcardclassResource.UpdateRequest |