OPPTransaction

@interface OPPTransaction : NSObject

Class to encapsulate the parameters needed for performing transaction.

  • Creates and returns transaction initialized with payment params.

    Declaration

    Objective-C

    + (nonnull instancetype)transactionWithPaymentParams:
        (nonnull OPPPaymentParams *)paymentParams;

    Parameters

    paymentParams

    The payment parameters for transaction. Must not be nil.

  • Creates and returns transaction initialized with payment params.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithPaymentParams:
        (nonnull OPPPaymentParams *)paymentParams;

    Swift

    init(paymentParams: OPPPaymentParams)

    Parameters

    paymentParams

    The payment parameters for transaction. Must not be nil.