Class PurchasesResource.Productsv2Resource.Getproductpurchasev2Request
Checks the purchase and consumption status of an inapp item.
Inheritance
PurchasesResource.Productsv2Resource.Getproductpurchasev2Request
Inherited Members
Namespace: Google.Apis.AndroidPublisher.v3
Assembly: Google.Apis.AndroidPublisher.v3.dll
Syntax
public class PurchasesResource.Productsv2Resource.Getproductpurchasev2Request : AndroidPublisherBaseServiceRequest<ProductPurchaseV2>, IClientServiceRequest<ProductPurchaseV2>, IClientServiceRequest
Constructors
Getproductpurchasev2Request(IClientService, string, string)
Constructs a new Getproductpurchasev2 request.
Declaration
public Getproductpurchasev2Request(IClientService service, string packageName, string token)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| string | packageName | |
| string | token |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
PackageName
The package name of the application the inapp product was sold in (for example, 'com.some.thing').
Declaration
[RequestParameter("packageName", RequestParameterType.Path)]
public virtual string PackageName { get; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Token
The token provided to the user's device when the inapp product was purchased.
Declaration
[RequestParameter("token", RequestParameterType.Path)]
public virtual string Token { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
InitParameters()
Initializes Getproductpurchasev2 parameter list.
Declaration
protected override void InitParameters()