public class InstallmentOption extends PayPalModel
| Constructor and Description |
|---|
InstallmentOption()
Default Constructor
|
InstallmentOption(int term,
Currency monthlyPayment)
Parameterized Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
Currency |
getDiscountAmount()
Discount amount applied to the payment, if any
|
Percentage |
getDiscountPercentage()
Discount percentage applied to the payment, if any
|
Currency |
getMonthlyPayment()
Monthly payment
|
int |
getTerm()
Number of installments
|
int |
hashCode() |
InstallmentOption |
setDiscountAmount(Currency discountAmount)
Discount amount applied to the payment, if any
|
InstallmentOption |
setDiscountPercentage(Percentage discountPercentage)
Discount percentage applied to the payment, if any
|
InstallmentOption |
setMonthlyPayment(Currency monthlyPayment)
Monthly payment
|
InstallmentOption |
setTerm(int term)
Number of installments
|
toJSON, toStringpublic InstallmentOption()
public InstallmentOption(int term,
Currency monthlyPayment)
public int getTerm()
public Currency getMonthlyPayment()
public Currency getDiscountAmount()
public Percentage getDiscountPercentage()
public InstallmentOption setTerm(int term)
public InstallmentOption setMonthlyPayment(Currency monthlyPayment)
public InstallmentOption setDiscountAmount(Currency discountAmount)
public InstallmentOption setDiscountPercentage(Percentage discountPercentage)
public boolean equals(java.lang.Object o)
equals in class PayPalModelprotected boolean canEqual(java.lang.Object other)
canEqual in class PayPalModelpublic int hashCode()
hashCode in class PayPalModel