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