OPPInstallmentPlan
@objc
public final class OPPInstallmentPlan : NSObject
This class represents the single Installment plan details.
-
planId: unique for each plan
Declaration
Swift
@objc public let planId: String -
name: name of the plan
Declaration
Swift
@objc public let name: String -
numberOfInstallments: indicate the number of installments
Declaration
Swift
@objc public let numberOfInstallments: Int -
currency: indicate the currency eg: USD
Declaration
Swift
@objc public let currency: String -
terms: indicate the terms and conditions for specific plan.
Declaration
Swift
@objc public let terms: [OPPInstallmentTerm] -
totalAmountExcludingUpFrontFees: total amount excludes up front fees.
Declaration
Swift
@objc public let totalAmountExcludingUpFrontFees: Double -
frequency: It can be Monthly.
Declaration
Swift
@objc public let frequency: String -
annualPercentageRate: annual percentage rate
Declaration
Swift
@objc public let annualPercentageRate: Int -
totalUpFrontFees: total up front fees.
Declaration
Swift
@objc public let totalUpFrontFees: Double
-
init(planId:name:numberOfInstallments:currency:terms:totalAmountExcludingUpFrontFees:frequency:annualPercentageRate:totalUpFrontFees:)Creates an object representing OPPInstallmentPlan configuration.
Declaration
Swift
@objc public init(planId: String, name: String, numberOfInstallments: Int, currency: String, terms: [OPPInstallmentTerm], totalAmountExcludingUpFrontFees: Double, frequency: String, annualPercentageRate: Int, totalUpFrontFees: Double)Parameters
planIdunique plan id.
namename of the installment plan.
numberOfInstallmentsnumber of installment eg: 4 or 6.
currencyeg: USD
termslist of terms & condition in different languages.
totalAmountExcludingUpFrontFeestotal amount excludes up front fees..
frequencyIt can be Monthly.
annualPercentageRateannual percentage rate.
totalUpFrontFeestotal up front fees.
Return Value
Returns an object representing OPPInstallmentPlan configuration.
OPPInstallmentPlan Class Reference