Show / Hide Table of Contents

Class PurchasesResource.ProductsResource

The "products" collection of methods.

Inheritance
object
PurchasesResource.ProductsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.AndroidPublisher.v3
Assembly: Google.Apis.AndroidPublisher.v3.dll
Syntax
public class PurchasesResource.ProductsResource

Constructors

ProductsResource(IClientService)

Constructs a new resource.

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

Methods

Acknowledge(ProductPurchasesAcknowledgeRequest, string, string, string)

Acknowledges a purchase of an inapp item.

Declaration
public virtual PurchasesResource.ProductsResource.AcknowledgeRequest Acknowledge(ProductPurchasesAcknowledgeRequest body, string packageName, string productId, string token)
Parameters
Type Name Description
ProductPurchasesAcknowledgeRequest body

The body of the request.

string packageName

The package name of the application the inapp product was sold in (for example, 'com.some.thing').

string productId

The inapp product SKU (for example, 'com.some.thing.inapp1').

string token

The token provided to the user's device when the inapp product was purchased.

Returns
Type Description
PurchasesResource.ProductsResource.AcknowledgeRequest

Consume(string, string, string)

Consumes a purchase for an inapp item.

Declaration
public virtual PurchasesResource.ProductsResource.ConsumeRequest Consume(string packageName, string productId, string token)
Parameters
Type Name Description
string packageName

The package name of the application the inapp product was sold in (for example, 'com.some.thing').

string productId

The inapp product SKU (for example, 'com.some.thing.inapp1').

string token

The token provided to the user's device when the inapp product was purchased.

Returns
Type Description
PurchasesResource.ProductsResource.ConsumeRequest

Get(string, string, string)

Checks the purchase and consumption status of an inapp item.

Declaration
public virtual PurchasesResource.ProductsResource.GetRequest Get(string packageName, string productId, string token)
Parameters
Type Name Description
string packageName

The package name of the application the inapp product was sold in (for example, 'com.some.thing').

string productId

The inapp product SKU (for example, 'com.some.thing.inapp1').

string token

The token provided to the user's device when the inapp product was purchased.

Returns
Type Description
PurchasesResource.ProductsResource.GetRequest
In this article
Back to top Generated by DocFX