Transaction

  • Use this class to start a transaction with a mobileToken that has previously been initialized with a server-to-server init call.

    This class is the main class to start any operation with the SDK. After the transaction has been completed - regardless if successful or not - delegate will be called with some basic information about the success or failure.

    See more

    Declaration

    Swift

    public class Transaction: NSObject, DTErrorHandlerDelegate
  • This class can be used to specify miscellaneous options related to the transaction.

    See more

    Declaration

    Swift

    public class TransactionOptions: NSObject
  • Implement TransactionDelegate to be notified when a transaction ends. TransactionDelegate will notify you about the success, error or cancel state of the processed transaction.

    See more

    Declaration

    Swift

    public protocol TransactionDelegate: AnyObject
  • This class includes the success message and other details of a transaction. You will also obtain a transactionId that you can use for operations after the transaction (e.g. settlement, cancel or refund requests).

    See more

    Declaration

    Swift

    public class TransactionSuccess: NSObject
  • This class includes the error message and other details of a transaction.

    See more

    Declaration

    Swift

    public class TransactionError: NSError