public class PaymentTerm extends Object
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
descriptions |
| Constructor and Description |
|---|
PaymentTerm() |
| Modifier and Type | Method and Description |
|---|---|
PaymentTerm |
addDescription(String description)
|
PaymentTerm |
addPartialPayments(Amount partialPayment)
|
List<String> |
getDescriptions()
|
PaymentDiscountTerms |
getDiscount()
|
ZfDate |
getDue()
|
List<Amount> |
getPartialPayments()
|
PaymentPenaltyTerms |
getPenalty()
|
PaymentTerm |
setDiscount(PaymentDiscountTerms discount)
|
PaymentTerm |
setDue(ZfDate due)
|
PaymentTerm |
setPenalty(PaymentPenaltyTerms penalty)
|
protected List<String> descriptions
public PaymentTerm()
public PaymentTerm addDescription(String description)
Sets the description.
description - the new descriptionpublic PaymentTerm addPartialPayments(Amount partialPayment)
Sets the partial payments.
partialPayment - the partial paymentpublic List<String> getDescriptions()
Gets the description.
public PaymentDiscountTerms getDiscount()
Gets the discount.
public List<Amount> getPartialPayments()
Gets the partial payments.
public PaymentPenaltyTerms getPenalty()
Gets the payment penalty terms.
public PaymentTerm setDiscount(PaymentDiscountTerms discount)
Sets the discount.
discount - the new discountpublic PaymentTerm setDue(ZfDate due)
Sets the due date time.
due - the new due date timepublic PaymentTerm setPenalty(PaymentPenaltyTerms penalty)
Sets the payment penalty terms..
penalty - the new penaltyCopyright © 2014 Konik.io. All Rights Reserved.