OPPAffirmPaymentParams
@objc
final public class OPPAffirmPaymentParams : OPPPaymentParams
Class to encapsulate all necessary transaction parameters for performing affirm transaction.
-
Undocumented
Declaration
Swift
@objc public var token: String? -
Creates an object representing an Affirm 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 affirmPaymentParamsWith(checkoutId: String) throws -> OPPAffirmPaymentParamsParameters
checkoutIdThe checkout ID of the transaction. Must be not
nilor empty.Return Value
Returns an object representing an Affirm transaction.
OPPAffirmPaymentParams Class Reference