public class Settlement extends java.lang.Object implements CommonSettlement<TradeTax,MonetarySummation>
Contains trade specific payment and price related informations
Constructor and Description |
---|
Settlement() |
Modifier and Type | Method and Description |
---|---|
Settlement |
addAllowanceCharge(SpecifiedAllowanceCharge additionalAllowanceCharge)
Adds the trade allowance charge.
|
Settlement |
addPaymentMeans(PaymentMeans newPaymentMethod)
Adds the payment method.
|
Settlement |
addPaymentTerm(PaymentTerm additionalPaymentTerm)
Adds a Payment Term.
|
Settlement |
addServiceCharge(LogisticsServiceCharge logisticsServiceCharge)
Adds the specified logistics service charge.
|
Settlement |
addTradeTax(TradeTax additionalTradeTax)
Adds a trade tradeTax.
|
java.util.List<SpecifiedAllowanceCharge> |
getAllowanceCharge()
Gets the trade allowance charge.
|
Period |
getBillingPeriod()
Gets the billing specified period.
|
java.lang.String |
getCostCenter()
Gets the booking reference or cost center account.
|
com.neovisionaries.i18n.CurrencyCode |
getCurrency()
Gets the invoice currency code
specifiedBookingReference
|
TradeParty |
getInvoicee()
Gets the details on the alternative invoicee.
|
MonetarySummation |
getMonetarySummation()
Gets the trade settlement monetary summation.
|
TradeParty |
getPayee()
Gets the payee.
|
java.util.List<PaymentMeans> |
getPaymentMeans()
Gets the specified trade settlement payment means.
|
java.lang.String |
getPaymentReference()
Gets the payment reference.
|
java.util.List<PaymentTerm> |
getPaymentTerms()
Gets the specified trade payment terms.
|
java.util.List<LogisticsServiceCharge> |
getServiceCharge()
Gets the specified logistics service charge.
|
java.util.List<TradeTax> |
getTradeTax()
Gets the applicable trade tradeTax.
|
Settlement |
setBillingPeriod(Period billingPeriod)
Sets the billing specified period.
|
Settlement |
setCostCenter(java.lang.String costCenter)
Sets the booking reference or cost center account.
|
Settlement |
setCurrency(com.neovisionaries.i18n.CurrencyCode currency)
Sets the invoice currency code.
|
Settlement |
setInvoicee(TradeParty invoicee)
Sets the details on the alternative invoicee.
|
Settlement |
setMonetarySummation(MonetarySummation monetarySummation)
Sets the trade settlement monetary summation.
|
Settlement |
setPayee(TradeParty payee)
Sets the payee.
|
Settlement |
setPaymentReference(java.lang.String referenceText)
Sets the payment reference or note to payee
|
public Settlement()
@Comfort 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 method@Comfort public Settlement addPaymentTerm(PaymentTerm additionalPaymentTerm)
Adds a Payment Term.
additionalPaymentTerm
- the additional payment term@Comfort public Settlement addServiceCharge(LogisticsServiceCharge logisticsServiceCharge)
Adds the specified logistics service charge.
logisticsServiceCharge
- the logistics service chargepublic Settlement addTradeTax(TradeTax additionalTradeTax)
Adds a trade tradeTax.
addTradeTax
in interface CommonSettlement<TradeTax,MonetarySummation>
additionalTradeTax
- the additional trade tradeTax@Comfort public java.util.List<SpecifiedAllowanceCharge> getAllowanceCharge()
Gets the trade allowance charge.
@Comfort public Period getBillingPeriod()
Gets the billing specified period.
getBillingPeriod
in interface CommonSettlement<TradeTax,MonetarySummation>
@Extended public java.lang.String getCostCenter()
Gets the booking reference or cost center account.
@Basic @NotNull public com.neovisionaries.i18n.CurrencyCode getCurrency()
Gets the invoice currency code specifiedBookingReference
@Comfort public TradeParty getInvoicee()
Gets the details on the alternative invoicee.
Additional role, if different from Buyer
@Basic @NotNull public MonetarySummation getMonetarySummation()
Gets the trade settlement monetary summation.
getMonetarySummation
in interface CommonSettlement<TradeTax,MonetarySummation>
@Extended public TradeParty getPayee()
Gets the payee.
public java.util.List<PaymentMeans> getPaymentMeans()
Gets the specified trade settlement payment means.
@Basic public java.lang.String getPaymentReference()
Gets the payment reference.
Can be same as invoice number.
@Comfort 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.
public java.util.List<TradeTax> getTradeTax()
Gets the applicable trade tradeTax.
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 setCostCenter(java.lang.String costCenter)
Sets the booking reference or cost center account.
costCenter
- the booking reference or cost center account.public Settlement setCurrency(com.neovisionaries.i18n.CurrencyCode currency)
Sets the invoice currency code.
currency
- the new currencypublic Settlement setInvoicee(TradeParty invoicee)
Sets the details on the alternative invoicee.
Additional role, if different from Buyer
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(java.lang.String referenceText)
Sets the payment reference or note to payee
Can be same as invoice number.
referenceText
- the reference textCopyright © 2014-2018 Konik.io. All Rights Reserved.