OPPCashAppPayPaymentParams
@objc
final public class OPPCashAppPayPaymentParams : OPPPaymentParams
Class to encapsulate all necessary transaction parameters for performing Cash App Pay Payments transaction.
-
Cash App Pay configuration object.
Declaration
Swift
@objc public var cashAppPayBrandConfig: OPPCashAppPayBrandConfig
-
Creates an object representing an Cash App Pay transaction.
Throws
The error that occurred while validating payment parameters. See code attribute (OPPErrorCode) andNSLocalizedDescriptionto identify the reason of failure.Declaration
Swift
@objc public static func cashAppPayPaymentParams(checkoutID: String, configuration: OPPCashAppPayBrandConfig) throws -> SelfParameters
checkoutIDThe checkout ID of the transaction. Must be not
nilor empty.configurationCash 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) andNSLocalizedDescriptionto identify the reason of failure.Declaration
Swift
@objc public init(checkoutID: String, configuration: OPPCashAppPayBrandConfig) throwsParameters
checkoutIDThe checkout ID of the transaction. Must be not
nilor empty.configurationCash App Pay brand configuration.
Return Value
Returns an object representing an Cash App Pay transaction.
OPPCashAppPayPaymentParams Class Reference