OPPInstallmentPlanParams
@objc
public final class OPPInstallmentPlanParams : OPPPaymentParams
This class represents the Installment plan params.
-
amount which we want in installments
Declaration
Swift
@objc public let amount: Double -
currency
Declaration
Swift
@objc public let currency: String -
card number
Declaration
Swift
@objc public let cardNumber: String -
expiry month of the card
Declaration
Swift
@objc public let expiryMonth: String -
expiry year of the card
Declaration
Swift
@objc public let expiryYear: String -
name of the card holder
Declaration
Swift
@objc public let holder: String
-
Creates an object representing OPPInstallmentPlanParams.
Declaration
Swift
@objc public init(checkoutID: String, paymentBrand: String?, amount: Double, currency: String, cardNumber: String, expiryMonth: String, expiryYear: String, holder: String) throwsParameters
checkoutIDtransaction checkout id.
paymentBrandindicate which payment brand
amountindicate the payment amount
currencyeg: USD or EUR
cardNumberindicate the card number presenting on the card.
expiryMonthexpiry month of the card.
expiryYearexpiry year of the card.
holdercard holder
Return Value
Returns an object representing OPPInstallmentPlanParams configuration.
OPPInstallmentPlanParams Class Reference