refund
public AndroidPublisher.Orders.Refund refund(String packageName,
String orderId)
throws IOException
Refunds a user's subscription or in-app purchase order. Orders older than 3 years cannot be
refunded.
Create a request for the method "orders.refund".
This request holds the parameters needed by the androidpublisher server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
packageName
- The package name of the application for which this subscription or in-app item was purchased (for
example, 'com.some.thing').
orderId
- The order ID provided to the user when the subscription or in-app order was purchased.
- Returns:
- the request
- Throws:
IOException