TransactionSuccess

@objc(DTTransactionSuccess)
@objcMembers
public class TransactionSuccess : NSObject

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).

  • The payment method used during the transaction.

    Declaration

    Swift

    public let paymentMethodType: PaymentMethodType
  • Object containing the saved payment method details. The saved payment method details are also returned to your webhook and can be accessed with a status server-to-server request.

    Declaration

    Swift

    public let savedPaymentMethod: SavedPaymentMethod?
  • The transactionId that you can use for operations after the transaction (eg. settlement, cancel or refund requests).

    Declaration

    Swift

    public let transactionId: String