Class PurchasesResource.SubscriptionsResource.RefundRequest
Refunds a user's subscription purchase, but the subscription remains valid until its expiration time and it will continue to recur.
Inheritance
PurchasesResource.SubscriptionsResource.RefundRequest
Inherited Members
Namespace: Google.Apis.AndroidPublisher.v3
Assembly: Google.Apis.AndroidPublisher.v3.dll
Syntax
public class PurchasesResource.SubscriptionsResource.RefundRequest : AndroidPublisherBaseServiceRequest<string>, IClientServiceRequest<string>, IClientServiceRequest
Constructors
RefundRequest(IClientService, string, string, string)
Constructs a new Refund request.
Declaration
public RefundRequest(IClientService service, string packageName, string subscriptionId, string token)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | packageName | |
string | subscriptionId | |
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 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
SubscriptionId
"The purchased subscription ID (for example, 'monthly001').
Declaration
[RequestParameter("subscriptionId", RequestParameterType.Path)]
public virtual string SubscriptionId { get; }
Property Value
Type | Description |
---|---|
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 |
---|---|
string |
Methods
InitParameters()
Initializes Refund parameter list.
Declaration
protected override void InitParameters()