public final class Pricing extends Object
| Constructor and Description |
|---|
Pricing() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getAppliedReverseCharge()
The boolean indication whether these pricing items are subject to the reverse charge - VAT to be accounted for by the recipient as per Article 196 of Council Directive 2006/112/EC.
|
PricingCustomer |
getCustomer()
The customer details mainly for the purpose of the reverse charge evaluation.
|
Boolean |
getDiscountApplied()
True if any of the pricing item has successfully applied for discounted price.
|
Boolean |
getDiscountDefined()
The boolean indication whether any of the pricing item has defined a discount.
|
List<PricingItem> |
getItems()
The list of the pricing items to be considered for calculation.
|
Double |
getNoDiscountTotalPrice()
The total price including VAT as it would be if no discount would be applied.
|
Double |
getNoDiscountTotalPriceExclVat()
The total price excluding VAT as it would be if no discount would be applied.
|
Double |
getTotalPrice()
The total price as a sum of all checked in pricing items and its amount.
|
Double |
getTotalPriceExclVat()
The total price as a sum of all checked in pricing items and its amount.
|
Double |
getTotalVatAmount()
The total VAT as a result of the calculation of all checked in pricing items and its amount including target rounding mode.
|
Double |
getTotalVatBase()
The total VAT base as a result of the calculation of all checked in pricing items and its amount including target rounding mode.
|
Pricing |
setAppliedReverseCharge(Boolean appliedReverseCharge) |
Pricing |
setCustomer(PricingCustomer customer) |
Pricing |
setDiscountApplied(Boolean discountApplied) |
Pricing |
setDiscountDefined(Boolean discountDefined) |
Pricing |
setItems(List<PricingItem> items) |
Pricing |
setNoDiscountTotalPrice(Double noDiscountTotalPrice) |
Pricing |
setNoDiscountTotalPriceExclVat(Double noDiscountTotalPriceExclVat) |
Pricing |
setTotalPrice(Double totalPrice) |
Pricing |
setTotalPriceExclVat(Double totalPriceExclVat) |
Pricing |
setTotalVatAmount(Double totalVatAmount) |
Pricing |
setTotalVatBase(Double totalVatBase) |
public Boolean getAppliedReverseCharge()
public PricingCustomer getCustomer()
public Pricing setCustomer(PricingCustomer customer)
public Boolean getDiscountApplied()
public Boolean getDiscountDefined()
public List<PricingItem> getItems()
public Pricing setItems(List<PricingItem> items)
public Double getNoDiscountTotalPrice()
public Double getNoDiscountTotalPriceExclVat()
public Pricing setNoDiscountTotalPriceExclVat(Double noDiscountTotalPriceExclVat)
public Double getTotalPrice()
public Double getTotalPriceExclVat()
public Double getTotalVatAmount()
public Double getTotalVatBase()
Copyright © 2023. All rights reserved.