Class PurchasesResource.ProductsResource.GetRequest
Checks the purchase and consumption status of an inapp item.
Inheritance
PurchasesResource.ProductsResource.GetRequest
Inherited Members
Namespace: Google.Apis.AndroidPublisher.v3
Assembly: Google.Apis.AndroidPublisher.v3.dll
Syntax
public class PurchasesResource.ProductsResource.GetRequest : AndroidPublisherBaseServiceRequest<ProductPurchase>, IClientServiceRequest<ProductPurchase>, IClientServiceRequest
Constructors
GetRequest(IClientService, string, string, string)
Constructs a new Get request.
Declaration
public GetRequest(IClientService service, string packageName, string productId, string token)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | packageName | |
string | productId | |
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 |
ProductId
The inapp product SKU (for example, 'com.some.thing.inapp1').
Declaration
[RequestParameter("productId", RequestParameterType.Path)]
public virtual string ProductId { 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 Get parameter list.
Declaration
protected override void InitParameters()