public class PaymentTerm extends java.lang.Object implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected java.util.List<java.lang.String> |
descriptions |
Constructor and Description |
---|
PaymentTerm() |
Modifier and Type | Method and Description |
---|---|
PaymentTerm |
addDescription(java.lang.String description)
Adds a human readable description of the terms of payment.
|
PaymentTerm |
addPartialPayments(Amount partialPayment)
Adds an amount of the partial payment.
|
java.util.List<java.lang.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.
|
java.util.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 java.util.List<java.lang.String> descriptions
public PaymentTerm()
public PaymentTerm addDescription(java.lang.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 java.util.List<java.lang.String> getDescriptions()
Gets the human readable description of the terms of payment.
public PaymentDiscountTerms getDiscount()
Gets the payment discount terms.
@Extended public java.util.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-2018 Konik.io. All Rights Reserved.