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.

    @param checkoutID The checkout ID of the transaction. Must be not nil or empty. @param configuration Set AmazonPay brand configuration. @return Returns an object representing an AmazonPay transaction.

    Declaration

    Swift

    @objc
    public static func amazonPayPaymentParamsWith(checkoutID: String, configuration: OPPAmazonPayConfig) throws -> OPPAmazonPayPaymentParams