OPPTransaction

@objc
public final class OPPTransaction : NSObject

Class to encapsulate the parameters needed for performing transaction.

  • Creates and returns transaction initialized with payment params.

    Declaration

    Swift

    @objc
    public init(paymentParams: OPPPaymentParams)

    Parameters

    paymentParams

    The payment parameters for transaction. Must not be nil.

    Return Value

    Returns an object representing OPPTransaction object.

  • Creates and returns transaction initialized with payment params.

    Declaration

    Swift

    @objc
    public static func transactionWithPaymentParams(_ paymentParams: OPPPaymentParams) -> Self

    Parameters

    paymentParams

    The payment parameters for transaction. Must not be nil.

    Return Value

    Returns an object representing OPPTransaction object.