Class PurchasesResource.SubscriptionsResource.AcknowledgeRequest
Acknowledges a subscription purchase.
Inheritance
System.Object
ClientServiceRequest<System.String>
AndroidPublisherBaseServiceRequest<System.String>
PurchasesResource.SubscriptionsResource.AcknowledgeRequest
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.v3
Assembly: Google.Apis.AndroidPublisher.v3.dll
Syntax
public class AcknowledgeRequest : AndroidPublisherBaseServiceRequest<string>, IClientServiceRequest<string>, IClientServiceRequest
Constructors
AcknowledgeRequest(IClientService, SubscriptionPurchasesAcknowledgeRequest, String, String, String)
Constructs a new Acknowledge request.
Declaration
public AcknowledgeRequest(IClientService service, SubscriptionPurchasesAcknowledgeRequest body, string packageName, string subscriptionId, string token)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
SubscriptionPurchasesAcknowledgeRequest | body | |
System.String | packageName | |
System.String | subscriptionId | |
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<System.String>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<System.String>.MethodName
PackageName
The package name of the application for which this subscription was purchased (for example, 'com.some.thing').
Declaration
[RequestParameter("packageName", RequestParameterType.Path)]
public virtual string PackageName { 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<System.String>.RestPath
SubscriptionId
The purchased subscription ID (for example, 'monthly001').
Declaration
[RequestParameter("subscriptionId", RequestParameterType.Path)]
public virtual string SubscriptionId { get; }
Property Value
Type | Description |
---|---|
System.String |
Token
The token provided to the user's device when the subscription was purchased.
Declaration
[RequestParameter("token", RequestParameterType.Path)]
public virtual string Token { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
System.Object |
Overrides
Google.Apis.Requests.ClientServiceRequest<System.String>.GetBody()
InitParameters()
Initializes Acknowledge parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.AndroidPublisher.v3.AndroidPublisherBaseServiceRequest<System.String>.InitParameters()