PCTransactionsManager
Creates and manages PCTransaction objects
-
Makes the new
PCTransaction
object from the string -
Fetches all transactions identifiers for the provided
user
from the server -
Fetches the transaction’s data for the provided
transactionID
from the server.The downloaded transaction may have a binary data. You can check availability of a binary data using
transaction.hasBinaryData
property.If transaction has binary data it must be downloaded before signing or declining. Otherwise, the method
PCTransactionManager.sign or .decline
will return an error (PCError.binaryDataIsRequired
). -
Gets the transaction’s binary data from the server
Check
transaction.hasBinaryData
parameter before using this method -
Confirms the provided transaction and attaches scoring parameters to the request
if
transaction.hasBinaryData
is 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.hasBinaryData
is true be sure that you downloaded the binary data for this transaction before declining. Otherwise, this method will return an error (PCError.binaryDataIsRequired
). -
Makes
PCConfirmation
object for signing in offline mode -
Makes
PCDeclination
object for declining in offline mode