public final class PricingItem extends Object implements org.ctoolkit.gwt.client.facade.RelevantNullChecker
| Constructor and Description |
|---|
PricingItem() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allNull() |
Double |
getAmount()
The requested amount (quantity) of this item to be invoiced.
|
Boolean |
getCheckedIn()
The boolean indication whether this pricing item to include in to final price calculation or not.
|
String |
getCurrency()
The currency alphabetic code based on the ISO 4217.
|
Boolean |
getDiscountApplied()
The boolean indication whether this pricing item has already successfully applied for discounted price.
|
String |
getDiscountCode()
The discount code provided by the client in order to apply for price discount.
|
Boolean |
getDiscountCodeDefined()
The boolean indication whether associated product has defined a discount code.
|
Boolean |
getDiscountDefined()
The boolean indication whether associated product has defined a discount.
|
Double |
getFinalPrice()
The final price including VAT as a result of the calculation of the item price excluding VAT (VAT base), selected VAT and amount.
|
Double |
getFinalPriceExclVat()
The final price excluding VAT as the result of the calculation of the item price (excluding VAT) and amount.
|
Double |
getFinalValueAddedTax()
The VAT value, associated with the final VAT rate.
|
String |
getFinalVat()
The context sensitive (customer country etc) VAT code, taken from the VAT rate code book.
|
Double |
getFinalVatAmount()
The final amount of VAT as a result of the calculation of this item and its amount including target rounding mode.
|
Double |
getFinalVatBase()
The final VAT base as the result of the calculation of the item price excluding VAT and amount including rounding based on the rounding mode value.
|
Long |
getId()
The pricing item identification.
|
String |
getInline()
The inline item placed as a line at invoice, solely assembled by the service.
|
String |
getItemName()
The product name, a very short summary that will be used at invoice.
|
List<PricingItem> |
getItems()
The pricing items tree.
|
String |
getItemType()
The one of the supported item type.
|
String |
getItemUrl()
The product page URL once associated product has been published.
|
ProductMetaFields |
getMetaFields()
The product specific metadata fields configuration.
|
Integer |
getOrder()
The order number of the item within list if defined.
|
String |
getParentKey()
The unique identification either of the parent pricing item or parent Order (Invoice etc).
|
Double |
getPriceExclVat()
The product price for a single unit (meaning amount 1.0 as a quantity).
|
PricingProduct |
getProduct()
The matching product from the product catalog (solely identified by ID).
|
String |
getSnippet()
The product short description, a brief overview (not appearing at invoice).
|
Map<String,Object> |
getSubsidiary()
An optional subsidiary properties with single level (flat) structure - Map of values.
|
String |
getThumbnailUrl()
The thumbnail URL of the associated product picture once product has been published.
|
String |
getUnit()
The code from the billing unit codebook - unit of measure at invoice.
|
Double |
getValueAddedTax()
The current numeric representation of the value added tax (VAT) codebook item.
|
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.
|
PricingItem |
setAmount(Double amount) |
PricingItem |
setCheckedIn(Boolean checkedIn) |
PricingItem |
setCurrency(String currency) |
PricingItem |
setDiscountApplied(Boolean discountApplied) |
PricingItem |
setDiscountCode(String discountCode) |
PricingItem |
setDiscountCodeDefined(Boolean discountCodeDefined) |
PricingItem |
setDiscountDefined(Boolean discountDefined) |
PricingItem |
setFinalPrice(Double finalPrice) |
PricingItem |
setFinalPriceExclVat(Double finalPriceExclVat) |
PricingItem |
setFinalValueAddedTax(Double finalValueAddedTax) |
PricingItem |
setFinalVat(String finalVat) |
PricingItem |
setFinalVatAmount(Double finalVatAmount) |
PricingItem |
setFinalVatBase(Double finalVatBase) |
PricingItem |
setId(Long id) |
PricingItem |
setInline(String inline) |
PricingItem |
setItemName(String itemName) |
PricingItem |
setItems(List<PricingItem> items) |
PricingItem |
setItemType(String itemType) |
PricingItem |
setItemUrl(String itemUrl) |
PricingItem |
setMetaFields(ProductMetaFields metaFields) |
PricingItem |
setOrder(Integer order) |
PricingItem |
setParentKey(String parentKey) |
PricingItem |
setPriceExclVat(Double priceExclVat) |
PricingItem |
setProduct(PricingProduct product) |
PricingItem |
setSnippet(String snippet) |
PricingItem |
setSubsidiary(Map<String,Object> subsidiary) |
PricingItem |
setThumbnailUrl(String thumbnailUrl) |
PricingItem |
setUnit(String unit) |
PricingItem |
setValueAddedTax(Double valueAddedTax) |
PricingItem |
setVat(String vat) |
public Double getAmount()
public PricingItem setAmount(Double amount)
public Boolean getCheckedIn()
public PricingItem setCheckedIn(Boolean checkedIn)
public String getCurrency()
public PricingItem setCurrency(String currency)
public Boolean getDiscountApplied()
public PricingItem setDiscountApplied(Boolean discountApplied)
public String getDiscountCode()
public PricingItem setDiscountCode(String discountCode)
public Boolean getDiscountCodeDefined()
public PricingItem setDiscountCodeDefined(Boolean discountCodeDefined)
public Boolean getDiscountDefined()
public PricingItem setDiscountDefined(Boolean discountDefined)
public Double getFinalPrice()
public PricingItem setFinalPrice(Double finalPrice)
public Double getFinalPriceExclVat()
public PricingItem setFinalPriceExclVat(Double finalPriceExclVat)
public Double getFinalValueAddedTax()
public PricingItem setFinalValueAddedTax(Double finalValueAddedTax)
public String getFinalVat()
public PricingItem setFinalVat(String finalVat)
public Double getFinalVatAmount()
public PricingItem setFinalVatAmount(Double finalVatAmount)
public Double getFinalVatBase()
public PricingItem setFinalVatBase(Double finalVatBase)
public Long getId()
public PricingItem setId(Long id)
public String getInline()
public PricingItem setInline(String inline)
public String getItemName()
public PricingItem setItemName(String itemName)
public String getItemType()
public PricingItem setItemType(String itemType)
public String getItemUrl()
public PricingItem setItemUrl(String itemUrl)
public List<PricingItem> getItems()
public PricingItem setItems(List<PricingItem> items)
public ProductMetaFields getMetaFields()
public PricingItem setMetaFields(ProductMetaFields metaFields)
public Integer getOrder()
public PricingItem setOrder(Integer order)
public String getParentKey()
public PricingItem setParentKey(String parentKey)
public Double getPriceExclVat()
public PricingItem setPriceExclVat(Double priceExclVat)
public PricingProduct getProduct()
public PricingItem setProduct(PricingProduct product)
public String getSnippet()
public PricingItem setSnippet(String snippet)
public Map<String,Object> getSubsidiary()
public PricingItem setSubsidiary(Map<String,Object> subsidiary)
public String getThumbnailUrl()
public PricingItem setThumbnailUrl(String thumbnailUrl)
public String getUnit()
public PricingItem setUnit(String unit)
public Double getValueAddedTax()
public PricingItem setValueAddedTax(Double valueAddedTax)
public String getVat()
public PricingItem setVat(String vat)
public boolean allNull()
allNull in interface org.ctoolkit.gwt.client.facade.RelevantNullCheckerCopyright © 2023. All rights reserved.