Class InapppurchasesResource.GetRequest
Checks the purchase and consumption status of an inapp item.
Inheritance
System.Object
InapppurchasesResource.GetRequest
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.AndroidPublisher.v1_1
Assembly: Google.Apis.AndroidPublisher.v1_1.dll
Syntax
public class GetRequest : AndroidPublisherBaseServiceRequest<InappPurchase>, IClientServiceRequest<InappPurchase>, 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 | |
System.String | packageName | |
System.String | productId | |
System.String | token |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AndroidPublisher.v1_1.Data.InappPurchase>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AndroidPublisher.v1_1.Data.InappPurchase>.MethodName
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 |
---|---|
System.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 |
---|---|
System.String |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AndroidPublisher.v1_1.Data.InappPurchase>.RestPath
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 |
---|---|
System.String |
Methods
InitParameters()
Initializes Get parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.AndroidPublisher.v1_1.AndroidPublisherBaseServiceRequest<Google.Apis.AndroidPublisher.v1_1.Data.InappPurchase>.InitParameters()