public class PaymentTerm extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
descriptions |
| Constructor and Description |
|---|
PaymentTerm() |
| Modifier and Type | Method and Description |
|---|---|
PaymentTerm |
addDescription(String description)
Adds a human readable description of the terms of payment.
|
PaymentTerm |
addPartialPayments(Amount partialPayment)
Adds an amount of the partial payment.
|
List<String> |
getDescriptions()
Gets the human readable description of the terms of payment.
|
PaymentDiscountTerms |
getDiscount()
Gets the payment discount terms.
|
ZfDate |
getDue()
Gets the due date of the payment.
|
List<Amount> |
getPartialPayments()
Gets the amount of the partial payment.
|
PaymentPenaltyTerms |
getPenalty()
Gets the payment penalty terms.
|
PaymentTerm |
setDiscount(PaymentDiscountTerms discount)
Sets the the payment discount terms.
|
PaymentTerm |
setDue(ZfDate due)
Sets the new due date of the payment.
|
PaymentTerm |
setPenalty(PaymentPenaltyTerms penalty)
Sets the payment penalty terms..
|
protected List<String> descriptions
public PaymentTerm()
public PaymentTerm addDescription(String description)
Adds a human readable description of the terms of payment.
description - the new terms of payment descriptionpublic PaymentTerm addPartialPayments(Amount partialPayment)
Adds an amount of the partial payment.
partialPayment - the partial payment amount@Comfort @NotEmpty public List<String> getDescriptions()
Gets the human readable description of the terms of payment.
public PaymentDiscountTerms getDiscount()
Gets the payment discount terms.
@Extended public List<Amount> getPartialPayments()
Gets the amount of the partial payment.
public PaymentPenaltyTerms getPenalty()
Gets the payment penalty terms.
public PaymentTerm setDiscount(PaymentDiscountTerms discount)
Sets the the payment discount terms.
discount - the new payment discount terms.public PaymentTerm setDue(ZfDate due)
Sets the new due date of the payment.
due - the new due date of the paymentpublic PaymentTerm setPenalty(PaymentPenaltyTerms penalty)
Sets the payment penalty terms..
penalty - the new penaltyCopyright © 2014-2016 Konik.io. All Rights Reserved.