class Externaltransactions extends Resource (View source)

The "externaltransactions" collection of methods.

Typical usage is:

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

Methods

createexternaltransaction(string $parent, ExternalTransaction $postBody, array $optParams = [])

Creates a new external transaction.

getexternaltransaction(string $name, array $optParams = [])

Gets an existing external transaction.

refundexternaltransaction(string $name, RefundExternalTransactionRequest $postBody, array $optParams = [])

Refunds or partially refunds an existing external transaction.

Details

ExternalTransaction createexternaltransaction(string $parent, ExternalTransaction $postBody, array $optParams = [])

Creates a new external transaction.

(externaltransactions.createexternaltransaction)

Parameters

string $parent

Required. The parent resource where this external transaction will be created. Format: applications/{package_name}

ExternalTransaction $postBody
array $optParams

Optional parameters.

Return Value

ExternalTransaction

Exceptions

Exception

ExternalTransaction getexternaltransaction(string $name, array $optParams = [])

Gets an existing external transaction.

(externaltransactions.getexternaltransaction)

Parameters

string $name

Required. The name of the external transaction to retrieve. Format: applications/{package_name}/externalTransactions/{external_transaction}

array $optParams

Optional parameters.

Return Value

ExternalTransaction

Exceptions

Exception

ExternalTransaction refundexternaltransaction(string $name, RefundExternalTransactionRequest $postBody, array $optParams = [])

Refunds or partially refunds an existing external transaction.

(externaltransactions.refundexternaltransaction)

Parameters

string $name

Required. The name of the external transaction that will be refunded. Format: applications/{package_name}/externalTransactions/{external_transaction}

RefundExternalTransactionRequest $postBody
array $optParams

Optional parameters.

Return Value

ExternalTransaction

Exceptions

Exception