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) throws

    Parameters

    checkoutID

    transaction checkout id.

    paymentBrand

    indicate which payment brand

    amount

    indicate the payment amount

    currency

    eg: USD or EUR

    cardNumber

    indicate the card number presenting on the card.

    expiryMonth

    expiry month of the card.

    expiryYear

    expiry year of the card.

    holder

    card holder

    Return Value

    Returns an object representing OPPInstallmentPlanParams configuration.