OPPAmazonPayPaymentParams
@objc
public final class OPPAmazonPayPaymentParams : OPPPaymentParams
Class to encapsulate all necessary transaction parameters for performing AmazonPay Payments transaction.
-
AmazonPay configuration object.
Declaration
Swift
@objc public let configuration: OPPAmazonPayConfig -
Creates an object representing an AmazonPay 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 amazonPayPaymentParamsWith(checkoutID: String, configuration: OPPAmazonPayConfig) throws -> OPPAmazonPayPaymentParamsParameters
checkoutIDThe checkout ID of the transaction. Must be not
nilor empty.configurationSet AmazonPay brand configuration.
Return Value
Returns an object representing an AmazonPay transaction.
OPPAmazonPayPaymentParams Class Reference