public class InstallmentOption extends Object
| Constructor and Description |
|---|
InstallmentOption()
Default Constructor
|
InstallmentOption(int term,
Currency monthlyPayment)
Parameterized Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Currency |
getDiscountAmount()
Getter for discountAmount
|
Percentage |
getDiscountPercentage()
Getter for discountPercentage
|
Currency |
getMonthlyPayment()
Getter for monthlyPayment
|
int |
getTerm()
Getter for term
|
InstallmentOption |
setDiscountAmount(Currency discountAmount)
Setter for discountAmount
|
InstallmentOption |
setDiscountPercentage(Percentage discountPercentage)
Setter for discountPercentage
|
InstallmentOption |
setMonthlyPayment(Currency monthlyPayment)
Setter for monthlyPayment
|
InstallmentOption |
setTerm(int term)
Setter for term
|
public InstallmentOption()
public InstallmentOption(int term,
Currency monthlyPayment)
public InstallmentOption setTerm(int term)
public int getTerm()
public InstallmentOption setMonthlyPayment(Currency monthlyPayment)
public Currency getMonthlyPayment()
public InstallmentOption setDiscountAmount(Currency discountAmount)
public Currency getDiscountAmount()
public InstallmentOption setDiscountPercentage(Percentage discountPercentage)
public Percentage getDiscountPercentage()
Copyright © 2016. All Rights Reserved.