OPPCheckoutInfo
@objc
public final class OPPCheckoutInfo : NSObject
Class to encapsulate the parameters related to the checkout.
-
The amount of the transaction in the specified currency.
Declaration
Swift
@objc public var amount: NSDecimalNumber -
ISO 4217 currency code.
Declaration
Swift
@objc public var currencyCode: String -
Tokens related to the checkout.
Declaration
Swift
@objc public var tokens: [OPPToken]? -
Brand configuration parameters from the Server.
Declaration
Swift
@objc public var paymentBrandsConfig: OPPPaymentBrandsConfig? -
The endpoint where the transaction will be sent to.
Declaration
Swift
@objc public var endpoint: String -
Relative path to get status of transaction.
Declaration
Swift
@objc public var resourcePath: String -
The merchant IDs related to Klarna Invoice and Klarna Installments.
Declaration
Swift
@objc public var klarnaMerchantIDs: [String]? -
The country for ACI Instant Pay payment method.
Declaration
Swift
@objc public var bankAccountCountry: String? -
Shows if ReD Shield Device Id collecting is enabled or disabled.
Declaration
Swift
@objc public var collectRedShieldDeviceId: Bool -
mSDK UI type.
Declaration
Swift
@objc public var msdkUiType: OPPMsdkUiType -
The number in seconds for which the mSDK should wait before retrying another redirect.
Declaration
Swift
@objc public internal(set) var asyncRedirectRetryDelay: TimeInterval { get } -
log levels that are fetched from checkout response
Declaration
Swift
@objc public var logLevel: String -
Affirm configuration
Declaration
Swift
@objc public var affirmConfig: OPPAffirmConfig? -
Visa installments configuration
Declaration
Swift
@objc public var visaInstallmentConfig: OPPVisaInstallmentConfig?
-
Creates checkout info object from the JSON that can be received from the Server by checkout ID.
Declaration
Swift
@objc public convenience init(fromJSON JSON: [AnyHashable : Any]) throwsParameters
JSONA dictionary with parameters received from the Server.
Return Value
Returns an
OPPCheckoutInfoobject, ornilif JSON is invalid. -
Creates checkout info object from the JSON that can be received from the Server by checkout ID.
Declaration
Swift
@objc public static func checkoutInfoFromJSON(_ JSON: [AnyHashable : Any]) throws -> OPPCheckoutInfoParameters
JSONA dictionary with parameters received from the Server.
Return Value
Returns an
OPPCheckoutInfoobject, ornilif JSON is invalid.
OPPCheckoutInfo Class Reference