class Orders extends Resource (View source)

The "orders" collection of methods.

Typical usage is:

 $androidpublisherService = new Google\Service\AndroidPublisher(...);
 $orders = $androidpublisherService->orders;

Methods

refund(string $packageName, string $orderId, array $optParams = [])

Refunds a user's subscription or in-app purchase order. Orders older than 3 years cannot be refunded. (orders.refund)

Details

refund(string $packageName, string $orderId, array $optParams = [])

Refunds a user's subscription or in-app purchase order. Orders older than 3 years cannot be refunded. (orders.refund)

Parameters

string $packageName

The package name of the application for which this subscription or in-app item was purchased (for example, 'com.some.thing').

string $orderId

The order ID provided to the user when the subscription or in-app order was purchased.

array $optParams

Optional parameters.

Exceptions

Exception