Initializer

init(transaction:status:uploaded:firstResult:)

Creates an instance of the result for a given transaction.

Declaration

init(transaction: Transaction, status: TransactionResultStatus = TransactionResultStatus.none, uploaded: Date? = nil, firstResult: TransactionResult? = nil)

Return Value

the TransactionResult object

Parameters

transaction

The transaction the result belongs to.

status

The status of the result.

uploaded

The date and time the transaction was uploaded. Pass null if the transaction has not been uploaded.