public class Settlement extends java.lang.Object
Contains payment related information.
| Constructor and Description |
|---|
Settlement() |
public Settlement()
public Settlement addAllowanceCharge(AllowanceCharge additionalAllowanceCharge)
Adds the trade allowance charge.
COMFORT
additionalAllowanceCharge - an additional allowance chargepublic Settlement addPaymentMeans(PaymentMeans newPaymentMethod)
Adds the payment method.
newPaymentMethod - the new payment methodpublic Settlement addPaymentTerm(PaymentTerm additionalPaymentTerm)
Adds a Payment Term Profile:: COMFORT.
additionalPaymentTerm - the additional payment termpublic Settlement addServiceCharge(LogisticsServiceCharge logisticsServiceCharge)
Adds the specified logistics service charge.
COMFORT
logisticsServiceCharge - the logistics service chargepublic Settlement addTradeTax(Tax additionalTradeTax)
Adds a trade tax.
additionalTradeTax - public java.util.List<AllowanceCharge> getAllowanceCharge()
Gets the trade allowance charge.
COMFORT
public Period getBillingPeriod()
Gets the billing specified period.
COMFORT
public Account getBookingReference()
Gets the booking reference account. Profile:: EXTENDED
public com.neovisionaries.i18n.CurrencyCode getCurrency()
Gets the invoice currency code
BASIC.
ISO 4217 3A currency codepublic TradeParty getInvoicee()
Gets the invoicee trade party.
COMFORT
public MonetarySummation getMonetarySummation()
Gets the trade settlement monetary summation.
BASIC
public java.util.List<PaymentMeans> getPaymentMeans()
Gets the specified trade settlement payment means.
public java.lang.String getPaymentReference()
Gets the payment reference.
Can be same as invoice number.
BASIC
public java.util.List<PaymentTerm> getPaymentTerms()
Gets the specified trade payment terms.
COMFORT
public java.util.List<LogisticsServiceCharge> getServiceCharge()
Gets the specified logistics service charge.
COMFORT
public java.util.List<Tax> getTradeTax()
Gets the applicable trade tax.
public Settlement setBillingPeriod(Period billingPeriod)
Sets the billing specified period.
COMFORT
billingPeriod - the new billing specified periodpublic Settlement setBookingReference(Account bookingReference)
Sets the booking reference account. Profile:: EXTENDED
bookingReference - the booking reference account.public Settlement setCurrency(com.neovisionaries.i18n.CurrencyCode currency)
Sets the invoice currency code. Profile:: BASIC
currency - the new currencypublic Settlement setInvoicee(TradeParty invoicee)
Sets the invoicee trade party.
COMFORT
invoicee - the new invoicee trade partypublic Settlement setMonetarySummation(MonetarySummation monetarySummation)
Sets the trade settlement monetary summation.
BASIC
monetarySummation - the new monetary summationpublic Settlement setPaymentReference(java.lang.String referenceText)
Sets the payment reference or note to payee
Can be same as invoice number.
BASIC
referenceText - the reference textCopyright © 2014 konik.io. All Rights Reserved.