OPPCashAppPayPaymentParams

@interface OPPCashAppPayPaymentParams : OPPPaymentParams

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

  • Creates an object representing an Cash App Pay transaction.

    Declaration

    Objective-C

    + (nullable instancetype)
        cashAppPayPaymentParamsWithCheckoutID:(nonnull NSString *)checkoutID
                                configuration:(nonnull OPPCashAppPayBrandConfig *)
                                                  cashAppPayBrandConfig
                                        error:(NSError *_Nullable *_Nullable)error;

    Swift

    convenience init(checkoutID: String, configuration cashAppPayBrandConfig: OPPCashAppPayBrandConfig) throws

    Parameters

    checkoutID

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

    configuration

    Set Cash App Pay brand configuration.

    error

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

    Return Value

    Returns an object representing an Cash App Pay transaction.