Show / Hide Table of Contents

Class OrdersResource.RefundRequest

Refunds a user's subscription or in-app purchase order. Orders older than 1 year cannot be refunded.

Inheritance
System.Object
ClientServiceRequest
ClientServiceRequest<System.String>
AndroidPublisherBaseServiceRequest<System.String>
OrdersResource.RefundRequest
Implements
IClientServiceRequest<System.String>
IClientServiceRequest
Inherited Members
AndroidPublisherBaseServiceRequest<String>.Xgafv
AndroidPublisherBaseServiceRequest<String>.AccessToken
AndroidPublisherBaseServiceRequest<String>.Alt
AndroidPublisherBaseServiceRequest<String>.Callback
AndroidPublisherBaseServiceRequest<String>.Fields
AndroidPublisherBaseServiceRequest<String>.Key
AndroidPublisherBaseServiceRequest<String>.OauthToken
AndroidPublisherBaseServiceRequest<String>.PrettyPrint
AndroidPublisherBaseServiceRequest<String>.QuotaUser
AndroidPublisherBaseServiceRequest<String>.UploadType
AndroidPublisherBaseServiceRequest<String>.UploadProtocol
ClientServiceRequest<String>.Execute()
ClientServiceRequest<String>.ExecuteAsStream()
ClientServiceRequest<String>.ExecuteAsync()
ClientServiceRequest<String>.ExecuteAsync(CancellationToken)
ClientServiceRequest<String>.ExecuteAsStreamAsync()
ClientServiceRequest<String>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<String>.CreateRequest(Nullable<Boolean>)
ClientServiceRequest<String>.GenerateRequestUri()
ClientServiceRequest<String>.GetBody()
ClientServiceRequest<String>.GetDefaultETagAction(String)
ClientServiceRequest<String>.ETagAction
ClientServiceRequest<String>.ModifyRequest
ClientServiceRequest<String>.ValidateParameters
ClientServiceRequest<String>.RequestParameters
ClientServiceRequest<String>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
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 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
System.String packageName
System.String orderId

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

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
System.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
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

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
System.Nullable<System.Boolean>

Methods

InitParameters()

Initializes Refund parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.AndroidPublisher.v3.AndroidPublisherBaseServiceRequest<System.String>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In This Article
Back to top Generated by DocFX