View Source GoogleApi.AndroidPublisher.V3.Model.ExternalTransaction (google_api_android_publisher v0.34.1)
The details of an external transaction.
Attributes
-
createTime
(type:DateTime.t
, default:nil
) - Output only. The time when this transaction was created. This is the time when Google was notified of the transaction. -
currentPreTaxAmount
(type:GoogleApi.AndroidPublisher.V3.Model.Price.t
, default:nil
) - Output only. The current transaction amount before tax. This represents the current pre-tax amount including any refunds that may have been applied to this transaction. -
currentTaxAmount
(type:GoogleApi.AndroidPublisher.V3.Model.Price.t
, default:nil
) - Output only. The current tax amount. This represents the current tax amount including any refunds that may have been applied to this transaction. -
externalTransactionId
(type:String.t
, default:nil
) - Output only. The id of this transaction. All transaction ids under the same package name must be unique. Set when creating the external transaction. -
oneTimeTransaction
(type:GoogleApi.AndroidPublisher.V3.Model.OneTimeExternalTransaction.t
, default:nil
) - This is a one-time transaction and not part of a subscription. -
originalPreTaxAmount
(type:GoogleApi.AndroidPublisher.V3.Model.Price.t
, default:nil
) - Required. The original transaction amount before taxes. This represents the pre-tax amount originally notified to Google before any refunds were applied. -
originalTaxAmount
(type:GoogleApi.AndroidPublisher.V3.Model.Price.t
, default:nil
) - Required. The original tax amount. This represents the tax amount originally notified to Google before any refunds were applied. -
packageName
(type:String.t
, default:nil
) - Output only. The resource name of the external transaction. The package name of the application the inapp products were sold (for example, 'com.some.app'). -
recurringTransaction
(type:GoogleApi.AndroidPublisher.V3.Model.RecurringExternalTransaction.t
, default:nil
) - This transaction is part of a recurring series of transactions. -
testPurchase
(type:GoogleApi.AndroidPublisher.V3.Model.ExternalTransactionTestPurchase.t
, default:nil
) - Output only. If set, this transaction was a test purchase. Google will not charge for a test transaction. -
transactionState
(type:String.t
, default:nil
) - Output only. The current state of the transaction. -
transactionTime
(type:DateTime.t
, default:nil
) - Required. The time when the transaction was completed. -
userTaxAddress
(type:GoogleApi.AndroidPublisher.V3.Model.ExternalTransactionAddress.t
, default:nil
) - Required. User address for tax computation.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.AndroidPublisher.V3.Model.ExternalTransaction{ createTime: DateTime.t() | nil, currentPreTaxAmount: GoogleApi.AndroidPublisher.V3.Model.Price.t() | nil, currentTaxAmount: GoogleApi.AndroidPublisher.V3.Model.Price.t() | nil, externalTransactionId: String.t() | nil, oneTimeTransaction: GoogleApi.AndroidPublisher.V3.Model.OneTimeExternalTransaction.t() | nil, originalPreTaxAmount: GoogleApi.AndroidPublisher.V3.Model.Price.t() | nil, originalTaxAmount: GoogleApi.AndroidPublisher.V3.Model.Price.t() | nil, packageName: String.t() | nil, recurringTransaction: GoogleApi.AndroidPublisher.V3.Model.RecurringExternalTransaction.t() | nil, testPurchase: GoogleApi.AndroidPublisher.V3.Model.ExternalTransactionTestPurchase.t() | nil, transactionState: String.t() | nil, transactionTime: DateTime.t() | nil, userTaxAddress: GoogleApi.AndroidPublisher.V3.Model.ExternalTransactionAddress.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.