Installment

public class Installment

Data class encapsulating installment related information. Only applicable if the transaction is to be payed across installments.

Methods

create

public static Installment create()

getFirstPaymentAmount

public Decimal getFirstPaymentAmount()

The first payment amount.

getFirstPaymentDate

public String getFirstPaymentDate()

Gets the first payment timestamp

getInstallmentType

public InstallmentType getInstallmentType()

Returns the installment type.

getPlanId

public String getPlanId()

Gets the plan ID associated this installment.

Return:

A String representing the plan ID.

getSequence

public Integer getSequence()

Returns the sequence associated with the installment

Return:

Integer representing the sequence.

getTotalAmount

public Decimal getTotalAmount()

The total amount to be paid.

getTotalNumberPayments

public Integer getTotalNumberPayments()

The total number of payments

setFirstPaymentAmount

public void setFirstPaymentAmount(Decimal firstPaymentAmount)

Refer to getFirstPaymentAmount()

setFirstPaymentDate

public void setFirstPaymentDate(String firstPaymentDate)

Refer to getFirstPaymentDate()

setInstallmentType

public void setInstallmentType(InstallmentType installmentType)

Refer to getInstallmentType()

setPlanId

public void setPlanId(String planId)

Refer to getPlanId()

setSequence

public void setSequence(Integer sequence)

Refer to getSequence()

setTotalAmount

public void setTotalAmount(Decimal totalAmount)

Refer to getTotalAmount()

setTotalNumberPayments

public void setTotalNumberPayments(Integer totalPayments)

Refer to getTotalNumberPayments()