Class PurchasesResource.Subscriptionsv2Resource.DeferRequest
Defers the renewal of a subscription.
Inheritance
PurchasesResource.Subscriptionsv2Resource.DeferRequest
Inherited Members
Namespace: Google.Apis.AndroidPublisher.v3
Assembly: Google.Apis.AndroidPublisher.v3.dll
Syntax
public class PurchasesResource.Subscriptionsv2Resource.DeferRequest : AndroidPublisherBaseServiceRequest<DeferSubscriptionPurchaseResponse>, IClientServiceRequest<DeferSubscriptionPurchaseResponse>, IClientServiceRequest
Constructors
DeferRequest(IClientService, DeferSubscriptionPurchaseRequest, string, string)
Constructs a new Defer request.
Declaration
public DeferRequest(IClientService service, DeferSubscriptionPurchaseRequest body, string packageName, string token)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| DeferSubscriptionPurchaseRequest | body | |
| 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
Required. The package 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 |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Token
Required. 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 |
|---|---|
| string |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes Defer parameter list.
Declaration
protected override void InitParameters()