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

    planId

    unique plan id.

    type

    type of plan eg: ISSUER_DEFAULT.

    name

    name of the installment plan.

    vPlanIDRef

    plan reference id.

    fundedBy

    list of strings.

    numberOfInstallments

    number of installment eg: 4 or 6.

    terms

    list of terms & condition in different languages.

    frequency

    It can be Monthly.

    costInfo

    plan cost information.

    Return Value

    Returns an object representing OPPInstallmentPlan configuration.