View Source GoogleApi.AndroidPublisher.V3.Api.Externaltransactions (google_api_android_publisher v0.34.1)
API calls for all endpoints tagged Externaltransactions
.
Summary
Functions
Creates a new external transaction.
Gets an existing external transaction.
Refunds or partially refunds an existing external transaction.
Functions
Link to this function
androidpublisher_externaltransactions_createexternaltransaction(connection, parent, optional_params \\ [], opts \\ [])
View Source@spec androidpublisher_externaltransactions_createexternaltransaction( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.AndroidPublisher.V3.Model.ExternalTransaction.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Creates a new external transaction.
Parameters
-
connection
(type:GoogleApi.AndroidPublisher.V3.Connection.t
) - Connection to server -
parent
(type:String.t
) - Required. The parent resource where this external transaction will be created. Format: applications/{package_name} -
optional_params
(type:keyword()
) - Optional parameters-
:"$.xgafv"
(type:String.t
) - V1 error format. -
:access_token
(type:String.t
) - OAuth access token. -
:alt
(type:String.t
) - Data format for response. -
:callback
(type:String.t
) - JSONP -
:fields
(type:String.t
) - Selector specifying which fields to include in a partial response. -
:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. -
:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user. -
:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks. -
:quotaUser
(type:String.t
) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. -
:uploadType
(type:String.t
) - Legacy upload protocol for media (e.g. "media", "multipart"). -
:upload_protocol
(type:String.t
) - Upload protocol for media (e.g. "raw", "multipart"). -
:externalTransactionId
(type:String.t
) - Required. The id to use for the external transaction. Must be unique across all other transactions for the app. This value should be 1-63 characters and valid characters are /a-zA-Z0-9_-/. Do not use this field to store any Personally Identifiable Information (PII) such as emails. Attempting to store PII in this field may result in requests being blocked. -
:body
(type:GoogleApi.AndroidPublisher.V3.Model.ExternalTransaction.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.AndroidPublisher.V3.Model.ExternalTransaction{}}
on success -
{:error, info}
on failure
Link to this function
androidpublisher_externaltransactions_getexternaltransaction(connection, name, optional_params \\ [], opts \\ [])
View Source@spec androidpublisher_externaltransactions_getexternaltransaction( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.AndroidPublisher.V3.Model.ExternalTransaction.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Gets an existing external transaction.
Parameters
-
connection
(type:GoogleApi.AndroidPublisher.V3.Connection.t
) - Connection to server -
name
(type:String.t
) - Required. The name of the external transaction to retrieve. Format: applications/{package_name}/externalTransactions/{external_transaction} -
optional_params
(type:keyword()
) - Optional parameters-
:"$.xgafv"
(type:String.t
) - V1 error format. -
:access_token
(type:String.t
) - OAuth access token. -
:alt
(type:String.t
) - Data format for response. -
:callback
(type:String.t
) - JSONP -
:fields
(type:String.t
) - Selector specifying which fields to include in a partial response. -
:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. -
:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user. -
:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks. -
:quotaUser
(type:String.t
) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. -
:uploadType
(type:String.t
) - Legacy upload protocol for media (e.g. "media", "multipart"). -
:upload_protocol
(type:String.t
) - Upload protocol for media (e.g. "raw", "multipart").
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.AndroidPublisher.V3.Model.ExternalTransaction{}}
on success -
{:error, info}
on failure
Link to this function
androidpublisher_externaltransactions_refundexternaltransaction(connection, name, optional_params \\ [], opts \\ [])
View Source@spec androidpublisher_externaltransactions_refundexternaltransaction( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.AndroidPublisher.V3.Model.ExternalTransaction.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Refunds or partially refunds an existing external transaction.
Parameters
-
connection
(type:GoogleApi.AndroidPublisher.V3.Connection.t
) - Connection to server -
name
(type:String.t
) - Required. The name of the external transaction that will be refunded. Format: applications/{package_name}/externalTransactions/{external_transaction} -
optional_params
(type:keyword()
) - Optional parameters-
:"$.xgafv"
(type:String.t
) - V1 error format. -
:access_token
(type:String.t
) - OAuth access token. -
:alt
(type:String.t
) - Data format for response. -
:callback
(type:String.t
) - JSONP -
:fields
(type:String.t
) - Selector specifying which fields to include in a partial response. -
:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. -
:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user. -
:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks. -
:quotaUser
(type:String.t
) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. -
:uploadType
(type:String.t
) - Legacy upload protocol for media (e.g. "media", "multipart"). -
:upload_protocol
(type:String.t
) - Upload protocol for media (e.g. "raw", "multipart"). -
:body
(type:GoogleApi.AndroidPublisher.V3.Model.RefundExternalTransactionRequest.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.AndroidPublisher.V3.Model.ExternalTransaction{}}
on success -
{:error, info}
on failure