public final class ProductPricing extends Object implements org.ctoolkit.gwt.client.facade.RelevantNullChecker
| Constructor and Description |
|---|
ProductPricing() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allNull() |
String |
getCurrency()
The currency alphabetic code based on the ISO 4217.
|
List<ProductDiscount> |
getDiscounts()
The optional list of discount definition.
|
Boolean |
getDomesticDelivery()
The boolean indication whether the product is marked as 'domestic delivery'.
|
PricingItem |
getItems()
An extra property with recalculated pricing item tree based on the current product's values with default structure.
|
Double |
getPriceExclVat()
The product catalog price for a single unit (meaning amount 1.0 as a quantity).
|
Map<String,Object> |
getSubsidiary()
An initial (and optional) subsidiary properties of the product item.
|
List<PricingStructureTemplate> |
getTemplate()
An additional product pricing if more complex pricing structure is being required.
|
String |
getVat()
The VAT rate codebook value to be applied to calculate the final price of the product for domestic (seller) to domestic customer sale.
|
String |
getVatEU()
The VAT rate codebook value to be applied to calculate the final price of the product for domestic (seller) to EU based customer sale.
|
String |
getVatNonEU()
The VAT rate codebook value to be applied to calculate the final price of the product for domestic (seller) to non EU based customer sale.
|
ProductPricing |
setCurrency(String currency) |
ProductPricing |
setDiscounts(List<ProductDiscount> discounts) |
ProductPricing |
setDomesticDelivery(Boolean domesticDelivery) |
ProductPricing |
setItems(PricingItem items) |
ProductPricing |
setPriceExclVat(Double priceExclVat) |
ProductPricing |
setSubsidiary(Map<String,Object> subsidiary) |
ProductPricing |
setTemplate(List<PricingStructureTemplate> template) |
ProductPricing |
setVat(String vat) |
ProductPricing |
setVatEU(String vatEU) |
ProductPricing |
setVatNonEU(String vatNonEU) |
public String getCurrency()
public ProductPricing setCurrency(String currency)
public List<ProductDiscount> getDiscounts()
public ProductPricing setDiscounts(List<ProductDiscount> discounts)
public Boolean getDomesticDelivery()
public ProductPricing setDomesticDelivery(Boolean domesticDelivery)
public PricingItem getItems()
public ProductPricing setItems(PricingItem items)
public Double getPriceExclVat()
public ProductPricing setPriceExclVat(Double priceExclVat)
public Map<String,Object> getSubsidiary()
public ProductPricing setSubsidiary(Map<String,Object> subsidiary)
public List<PricingStructureTemplate> getTemplate()
public ProductPricing setTemplate(List<PricingStructureTemplate> template)
public String getVat()
public ProductPricing setVat(String vat)
public String getVatEU()
public ProductPricing setVatEU(String vatEU)
public String getVatNonEU()
public ProductPricing setVatNonEU(String vatNonEU)
public boolean allNull()
allNull in interface org.ctoolkit.gwt.client.facade.RelevantNullCheckerCopyright © 2023. All rights reserved.