PCTransactionsManager
Creates and manages PCTransaction objects
-
Makes the new
PCTransactionobject from the string -
Fetches all transactions identifiers for the provided
userfrom the server -
Fetches the transaction’s data for the provided
transactionIDfrom the server.The downloaded transaction may have a binary data. You can check availability of a binary data using
transaction.hasBinaryDataproperty.If transaction has binary data it must be downloaded before signing or declining. Otherwise, the method
PCTransactionManager.sign or .declinewill return an error (PCError.binaryDataIsRequired). -
Gets the transaction’s binary data from the server
Check
transaction.hasBinaryDataparameter before using this method -
Confirms the provided transaction and attaches scoring parameters to the request
if
transaction.hasBinaryDatais true be sure that you downloaded the binary data for this transaction before signing. Otherwise, this method will return an error (PCError.binaryDataIsRequired). -
Declines the provided transaction
if
transaction.hasBinaryDatais true be sure that you downloaded the binary data for this transaction before declining. Otherwise, this method will return an error (PCError.binaryDataIsRequired). -
Makes
PCConfirmationobject for signing in offline mode -
Makes
PCDeclinationobject for declining in offline mode
PCTransactionsManager Class Reference