public class Settlement extends Object implements CommonSettlement<TradeTax,MonetarySummation>
Contains payment and price related information specific to a trade
| Constructor and Description |
|---|
Settlement() |
public Settlement()
public Settlement addAllowanceCharge(SpecifiedAllowanceCharge additionalAllowanceCharge)
Adds the trade allowance charge.
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
additionalPaymentTerm - the additional payment termpublic Settlement addServiceCharge(LogisticsServiceCharge logisticsServiceCharge)
Adds the specified logistics service charge.
logisticsServiceCharge - the logistics service chargepublic Settlement addTradeTax(TradeTax additionalTradeTax)
Adds a trade tax.
addTradeTax in interface CommonSettlement<TradeTax,MonetarySummation>additionalTradeTax - public List<SpecifiedAllowanceCharge> getAllowanceCharge()
Gets the trade allowance charge.
public Period getBillingPeriod()
Gets the billing specified period.
getBillingPeriod in interface CommonSettlement<TradeTax,MonetarySummation>@Basic public com.neovisionaries.i18n.CurrencyCode getCurrency()
Gets the invoice currency code specifiedBookingReference
ISO 4217 3A currency codepublic TradeParty getInvoicee()
Gets the invoicee trade party.
@NotNull @Basic public MonetarySummation getMonetarySummation()
Gets the trade settlement monetary summation.
getMonetarySummation in interface CommonSettlement<TradeTax,MonetarySummation>public TradeParty getPayee()
Gets the payee.
public List<PaymentMeans> getPaymentMeans()
Gets the specified trade settlement payment means.
public String getPaymentReference()
Gets the payment reference.
Can be same as invoice number.
BASIC
public List<PaymentTerm> getPaymentTerms()
Gets the specified trade payment terms.
@Extended public String getReceivableBookingReference()
Gets the booking reference account.
public List<LogisticsServiceCharge> getServiceCharge()
Gets the specified logistics service charge.
public List<TradeTax> getTradeTax()
Gets the applicable trade tax.
getTradeTax in interface CommonSettlement<TradeTax,MonetarySummation>public Settlement setBillingPeriod(Period billingPeriod)
Sets the billing specified period.
setBillingPeriod in interface CommonSettlement<TradeTax,MonetarySummation>billingPeriod - the new billing specified periodpublic Settlement setCurrency(com.neovisionaries.i18n.CurrencyCode currency)
Sets the invoice currency code.
currency - the new currencypublic Settlement setInvoicee(TradeParty invoicee)
Sets the invoicee trade party.
COMFORT
invoicee - the new invoicee trade party@Basic public Settlement setMonetarySummation(MonetarySummation monetarySummation)
Sets the trade settlement monetary summation.
setMonetarySummation in interface CommonSettlement<TradeTax,MonetarySummation>monetarySummation - the new monetary summationpublic Settlement setPayee(TradeParty payee)
Sets the payee.
payee - the payeepublic Settlement setPaymentReference(String referenceText)
Sets the payment reference or note to payee
Can be same as invoice number.
BASIC
referenceText - the reference textpublic Settlement setReceivableBookingReference(String bookingReference)
Sets the booking reference account. Profile:: EXTENDED
bookingReference - the booking reference account.Copyright © 2014 Konik.io. All Rights Reserved.