Class OrdersResource.RefundRequest
Refunds a user's subscription or in-app purchase order. Orders older than 3 years cannot be refunded.
Inheritance
OrdersResource.RefundRequest
Inherited Members
Namespace: Google.Apis.AndroidPublisher.v3
Assembly: Google.Apis.AndroidPublisher.v3.dll
Syntax
public class OrdersResource.RefundRequest : AndroidPublisherBaseServiceRequest<string>, IClientServiceRequest<string>, IClientServiceRequest
Constructors
RefundRequest(IClientService, string, string)
Constructs a new Refund request.
Declaration
public RefundRequest(IClientService service, string packageName, string orderId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | packageName | |
string | orderId |
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
OrderId
The order ID provided to the user when the subscription or in-app order was purchased.
Declaration
[RequestParameter("orderId", RequestParameterType.Path)]
public virtual string OrderId { get; }
Property Value
Type | Description |
---|---|
string |
PackageName
The package name of the application for which this subscription or in-app item 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
Revoke
Whether to revoke the purchased item. If set to true, access to the subscription or in-app item will be terminated immediately. If the item is a recurring subscription, all future payments will also be terminated. Consumed in-app items need to be handled by developer's app. (optional).
Declaration
[RequestParameter("revoke", RequestParameterType.Query)]
public virtual bool? Revoke { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Methods
InitParameters()
Initializes Refund parameter list.
Declaration
protected override void InitParameters()