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 -
type: type of plan eg: ISSUER_DEFAULT
Declaration
Swift
@objc public let type: String -
vPlanIDRef: plan id reference
Declaration
Swift
@objc public let vPlanIDRef: String -
fundedBy: list of strings
Declaration
Swift
@objc public let fundedBy: [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 -
terms: indicate the terms and conditions for specific plan.
Declaration
Swift
@objc public let terms: [OPPInstallmentTerm] -
frequency: It can be Monthly.
Declaration
Swift
@objc public let frequency: String -
costInfo: installment cost information.
Declaration
Swift
@objc public let costInfo: OPPInstallmentCostInfo
-
Creates an object representing OPPInstallmentPlan configuration.
Declaration
Swift
@objc public init(planId: String, type: String, name: String, vPlanIDRef: String, fundedBy: [String], numberOfInstallments: Int, terms: [OPPInstallmentTerm], frequency: String, costInfo: OPPInstallmentCostInfo)Parameters
planIdunique plan id.
typetype of plan eg: ISSUER_DEFAULT.
namename of the installment plan.
vPlanIDRefplan reference id.
fundedBylist of strings.
numberOfInstallmentsnumber of installment eg: 4 or 6.
termslist of terms & condition in different languages.
frequencyIt can be Monthly.
costInfoplan cost information.
Return Value
Returns an object representing OPPInstallmentPlan configuration.
OPPInstallmentPlan Class Reference