ExternalTransaction class

The details of an external transaction.

Constructors

ExternalTransaction({String? createTime, Price? currentPreTaxAmount, Price? currentTaxAmount, String? externalTransactionId, OneTimeExternalTransaction? oneTimeTransaction, Price? originalPreTaxAmount, Price? originalTaxAmount, String? packageName, RecurringExternalTransaction? recurringTransaction, ExternalTransactionTestPurchase? testPurchase, String? transactionState, String? transactionTime, ExternalTransactionAddress? userTaxAddress})
ExternalTransaction.fromJson(Map json_)

Properties

createTime String?
The time when this transaction was created.
getter/setter pair
currentPreTaxAmount Price?
The current transaction amount before tax.
getter/setter pair
currentTaxAmount Price?
The current tax amount.
getter/setter pair
externalTransactionId String?
The id of this transaction.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
oneTimeTransaction OneTimeExternalTransaction?
This is a one-time transaction and not part of a subscription.
getter/setter pair
originalPreTaxAmount Price?
The original transaction amount before taxes.
getter/setter pair
originalTaxAmount Price?
The original tax amount.
getter/setter pair
packageName String?
The resource name of the external transaction.
getter/setter pair
recurringTransaction RecurringExternalTransaction?
This transaction is part of a recurring series of transactions.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
testPurchase ExternalTransactionTestPurchase?
If set, this transaction was a test purchase.
getter/setter pair
transactionState String?
The current state of the transaction.
getter/setter pair
transactionTime String?
The time when the transaction was completed.
getter/setter pair
userTaxAddress ExternalTransactionAddress?
User address for tax computation.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited