Transaction Type
Constructors
| Constructor |
Description
|
Full Usage:
Transaction(transactionIdentifier, transactionDate, originalTransactionIdentifier, transactionState, errorCode, errorMessage, payment)
Parameters:
string
-
A string that uniquely identifies a successful payment transaction.
transactionDate : string
-
The date the transaction was added to the App Store’s payment queue.
originalTransactionIdentifier : string
-
The identifier of the restored transaction by the App Store.
transactionState : TransactionState
-
The transaction state, can be purchasing, purchased, failed, restored or deferred.
errorCode : int
-
The error code if an error occurred while processing the transaction.
errorMessage : string
-
The error message if an error occurred while processing the transaction.
payment : Payment
-
Returns: Transaction
|
|
Instance members
| Instance member |
Description
|
Full Usage:
this.errorCode
|
The error code if an error occurred while processing the transaction. |
Full Usage:
this.errorMessage
|
The error message if an error occurred while processing the transaction. |
Full Usage:
this.originalTransactionIdentifier
|
The identifier of the restored transaction by the App Store. |
Full Usage:
this.payment
|
|
Full Usage:
this.transactionDate
|
The date the transaction was added to the App Store’s payment queue. |
Full Usage:
this.transactionIdentifier
|
A string that uniquely identifies a successful payment transaction. |
Full Usage:
this.transactionState
|
The transaction state, can be purchasing, purchased, failed, restored or deferred. |
fable-electron-docs-api