Header menu logo fable-electron-docs-api

Transaction Type

Constructors

Constructor Description

Transaction(transactionIdentifier, transactionDate, originalTransactionIdentifier, transactionState, errorCode, errorMessage, payment)

Full Usage: Transaction(transactionIdentifier, transactionDate, originalTransactionIdentifier, transactionState, errorCode, errorMessage, payment)

Parameters:
    transactionIdentifier : 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
transactionIdentifier : 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

this.errorCode

Full Usage: this.errorCode

The error code if an error occurred while processing the transaction.

this.errorMessage

Full Usage: this.errorMessage

The error message if an error occurred while processing the transaction.

this.originalTransactionIdentifier

Full Usage: this.originalTransactionIdentifier

The identifier of the restored transaction by the App Store.

this.payment

Full Usage: this.payment

this.transactionDate

Full Usage: this.transactionDate

The date the transaction was added to the App Store’s payment queue.

this.transactionIdentifier

Full Usage: this.transactionIdentifier

A string that uniquely identifies a successful payment transaction.

this.transactionState

Full Usage: this.transactionState

The transaction state, can be purchasing, purchased, failed, restored or deferred.

Type something to start searching.