OPPCashAppPayPaymentParams

@objc
final public class OPPCashAppPayPaymentParams : OPPPaymentParams, NSCopying

Class to encapsulate all necessary transaction parameters for performing Cash App Pay Payments transaction.

  • Creates an object representing an Cash App Pay transaction.

    Throws

    The error that occurred while validating payment parameters. See code attribute (OPPErrorCode) and NSLocalizedDescription to identify the reason of failure.

    Declaration

    Swift

    @objc
    public static func cashAppPayPaymentParams(checkoutID: String, configuration: OPPCashAppPayBrandConfig) throws -> Self

    Parameters

    checkoutID

    The checkout ID of the transaction. Must be not nil or empty.

    configuration

    Cash App Pay brand configuration.

    Return Value

    Returns an object representing an Cash App Pay transaction.

  • Creates an object representing an Cash App Pay transaction.

    Throws

    The error that occurred while validating payment parameters. See code attribute (OPPErrorCode) and NSLocalizedDescription to identify the reason of failure.

    Declaration

    Swift

    @objc
    public init(checkoutID: String, configuration: OPPCashAppPayBrandConfig) throws

    Parameters

    checkoutID

    The checkout ID of the transaction. Must be not nil or empty.

    configuration

    Cash App Pay brand configuration.

    Return Value

    Returns an object representing an Cash App Pay transaction.