public interface OrderProductIf
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCustom1() |
java.lang.String |
getCustom10() |
java.lang.String |
getCustom11() |
java.lang.String |
getCustom2() |
java.lang.String |
getCustom3() |
java.lang.String |
getCustom4() |
java.lang.String |
getCustom5() |
java.lang.String |
getCustom6() |
java.lang.String |
getCustom7() |
java.lang.String |
getCustom8() |
java.lang.String |
getCustom9() |
ProdCustAttrIf[] |
getCustomAttrArray()
The array form of the Custom Attributes
|
java.lang.String |
getCustomAttrs()
The XML form of the Custom Attributes
|
java.math.BigDecimal |
getDiscountPercent()
Used mainly with percentage tiered pricing discounts to store the percentage discount.
|
java.math.BigDecimal |
getFinalPriceExTax() |
java.math.BigDecimal |
getFinalPriceIncTax() |
int |
getId() |
java.lang.String |
getModel()
The product model.
|
java.lang.String |
getName()
The product name.
|
OptionIf[] |
getOpts()
An array of Option objects defining how the details of the product.
|
OrderIf |
getOrder() |
int |
getOrderId() |
java.math.BigDecimal |
getPrice()
The price of a single product without tax or options.
|
java.math.BigDecimal |
getPrice0() |
java.math.BigDecimal |
getPrice1() |
java.math.BigDecimal |
getPrice2() |
java.math.BigDecimal |
getPrice3() |
ProductIf |
getProduct() |
int |
getProductId() |
int |
getQtyResrvdForResId()
When a reservation id is present, this attribute defines the number of products that have
been reserved connected with this reservationId.
|
int |
getQuantity() |
int |
getRefundPoints()
The number of points allocated for a single product.
|
java.math.BigDecimal |
getRefundValue()
The final unit price of a product having taken into account all discounts.
|
int |
getReservationId()
Used when products are reserved during checkout to allow a customer to checkout without
risking the product going out of stock.
|
java.lang.String |
getSku()
The SKU of the product
|
int |
getState()
The state of the product when added to the order.
|
java.math.BigDecimal |
getTax()
The amount of tax added.
|
java.lang.String |
getTaxCode()
tax code used when looking up tax from an external service
|
java.math.BigDecimal |
getTaxRate()
The tax rate applied.
|
java.lang.String |
getTaxRateCode()
The code of the tax rate
|
int |
getType()
product type.
|
java.math.BigDecimal |
getWeight()
The weight of the product
|
int |
getWishListId()
Set to the id of the wish list (gift registry) to keep track that it has been added from a
gift registry.
|
int |
getWishListItemId()
Set to the id of the wish list item (gift registry item) to keep track that it has been added
from a gift registry and which item it corresponds to.
|
void |
setCustom1(java.lang.String custom1) |
void |
setCustom10(java.lang.String custom10) |
void |
setCustom11(java.lang.String custom11) |
void |
setCustom2(java.lang.String custom2) |
void |
setCustom3(java.lang.String custom3) |
void |
setCustom4(java.lang.String custom4) |
void |
setCustom5(java.lang.String custom5) |
void |
setCustom6(java.lang.String custom6) |
void |
setCustom7(java.lang.String custom7) |
void |
setCustom8(java.lang.String custom8) |
void |
setCustom9(java.lang.String custom9) |
void |
setCustomAttrArray(ProdCustAttrIf[] customAttrArray)
Set the array form of the Custom Attributes
|
void |
setCustomAttrs(java.lang.String customAttrs)
Set the XML form of the Custom Attributes
|
void |
setDiscountPercent(java.math.BigDecimal discountPercent)
Used mainly with percentage tiered pricing discounts to store the percentage discount.
|
void |
setFinalPriceExTax(java.math.BigDecimal finalPriceExTax) |
void |
setFinalPriceIncTax(java.math.BigDecimal finalPriceIncTax) |
void |
setId(int id) |
void |
setModel(java.lang.String model)
The product model.
|
void |
setName(java.lang.String name)
The product name.
|
void |
setOpts(OptionIf[] opts)
An array of Option objects defining how the details of the product.
|
void |
setOrder(OrderIf order) |
void |
setOrderId(int orderId) |
void |
setPrice(java.math.BigDecimal price)
The price of a single product without tax or options.
|
void |
setPrice0(java.math.BigDecimal price0) |
void |
setPrice1(java.math.BigDecimal price1) |
void |
setPrice2(java.math.BigDecimal price2) |
void |
setPrice3(java.math.BigDecimal price3) |
void |
setProduct(ProductIf product) |
void |
setProductId(int productId) |
void |
setQtyResrvdForResId(int qtyResrvdForResId)
When a reservation id is present, this attribute defines the number of products that have
been reserved connected with this reservationId.
|
void |
setQuantity(int quantity) |
void |
setRefundPoints(int refundPoints)
The number of points allocated for a single product.
|
void |
setRefundValue(java.math.BigDecimal refundValue)
The final unit price of a product having taken into account all discounts.
|
void |
setReservationId(int reservationId)
Used when products are reserved during checkout to allow a customer to checkout without
risking the product going out of stock.
|
void |
setSku(java.lang.String sku)
The SKU of the product
|
void |
setState(int state)
The state of the product when added to the order.
|
void |
setTax(java.math.BigDecimal tax)
The amount of tax added.
|
void |
setTaxCode(java.lang.String taxCode)
tax code used when looking up tax from an external service
|
void |
setTaxRate(java.math.BigDecimal taxRate)
The tax rate applied.
|
void |
setTaxRateCode(java.lang.String taxRateCode)
The code of the tax rate
|
void |
setType(int type)
product type.
|
void |
setWeight(java.math.BigDecimal weight)
The weight of the product
|
void |
setWishListId(int wishListId)
Set to the id of the wish list (gift registry) to keep track that it has been added from a
gift registry.
|
void |
setWishListItemId(int wishListItemId)
Set to the id of the wish list item (gift registry item) to keep track that it has been added
from a gift registry and which item it corresponds to.
|
int getId()
void setId(int id)
id
- The id to set.java.lang.String getModel()
void setModel(java.lang.String model)
model
- The model to set.java.lang.String getName()
void setName(java.lang.String name)
name
- The name to set.OptionIf[] getOpts()
void setOpts(OptionIf[] opts)
opts
- The opts to set.OrderIf getOrder()
void setOrder(OrderIf order)
order
- The order to set.int getOrderId()
void setOrderId(int orderId)
orderId
- The orderId to set.java.math.BigDecimal getPrice()
void setPrice(java.math.BigDecimal price)
price
- The price to set.ProductIf getProduct()
void setProduct(ProductIf product)
product
- The product to set.int getProductId()
void setProductId(int productId)
productId
- The productId to set.int getQuantity()
void setQuantity(int quantity)
quantity
- The quantity to set.java.math.BigDecimal getFinalPriceExTax()
void setFinalPriceExTax(java.math.BigDecimal finalPriceExTax)
finalPriceExTax
- The finalPriceExTax to set.java.math.BigDecimal getFinalPriceIncTax()
void setFinalPriceIncTax(java.math.BigDecimal finalPriceIncTax)
finalPriceIncTax
- The finalPriceIncTax to set.java.math.BigDecimal getTaxRate()
void setTaxRate(java.math.BigDecimal taxRate)
taxRate
- The taxRate to set.java.math.BigDecimal getTax()
void setTax(java.math.BigDecimal tax)
tax
- The tax to set.int getType()
void setType(int type)
type
- The type to set.java.lang.String getCustom1()
void setCustom1(java.lang.String custom1)
custom1
- The custom1 to set.java.lang.String getCustom2()
void setCustom2(java.lang.String custom2)
custom2
- The custom2 to set.java.lang.String getCustom3()
void setCustom3(java.lang.String custom3)
custom3
- The custom3 to set.java.lang.String getCustom4()
void setCustom4(java.lang.String custom4)
custom4
- The custom4 to set.java.lang.String getCustom5()
void setCustom5(java.lang.String custom5)
custom5
- The custom5 to set.java.lang.String getCustom6()
void setCustom6(java.lang.String custom6)
custom6
- the custom6 to setjava.lang.String getCustom7()
void setCustom7(java.lang.String custom7)
custom7
- the custom7 to setjava.lang.String getCustom8()
void setCustom8(java.lang.String custom8)
custom8
- the custom8 to setjava.lang.String getCustom9()
void setCustom9(java.lang.String custom9)
custom9
- the custom9 to setjava.lang.String getCustom10()
void setCustom10(java.lang.String custom10)
custom10
- the custom10 to setjava.lang.String getCustom11()
void setCustom11(java.lang.String custom11)
custom11
- the custom11 to setjava.math.BigDecimal getPrice0()
void setPrice0(java.math.BigDecimal price0)
price0
- The price0 to set.java.math.BigDecimal getPrice1()
void setPrice1(java.math.BigDecimal price1)
price1
- The price1 to set.java.math.BigDecimal getPrice2()
void setPrice2(java.math.BigDecimal price2)
price2
- The price2 to set.java.math.BigDecimal getPrice3()
void setPrice3(java.math.BigDecimal price3)
price3
- The price3 to set.java.lang.String getSku()
void setSku(java.lang.String sku)
sku
- the sku to setint getState()
void setState(int state)
state
- the state to setint getWishListId()
void setWishListId(int wishListId)
wishListId
- the wishListId to setint getWishListItemId()
void setWishListItemId(int wishListItemId)
wishListItemId
- the wishListItemId to setjava.math.BigDecimal getDiscountPercent()
void setDiscountPercent(java.math.BigDecimal discountPercent)
discountPercent
- the discountPercent to setjava.math.BigDecimal getWeight()
void setWeight(java.math.BigDecimal weight)
weight
- the weight to setjava.lang.String getTaxCode()
void setTaxCode(java.lang.String taxCode)
taxCode
- the taxCode to setint getReservationId()
void setReservationId(int reservationId)
reservationId
- the reservationId to setint getQtyResrvdForResId()
void setQtyResrvdForResId(int qtyResrvdForResId)
qtyResrvdForResId
- the qtyResrvdForResId to setjava.math.BigDecimal getRefundValue()
void setRefundValue(java.math.BigDecimal refundValue)
refundValue
- the refundValue to setint getRefundPoints()
void setRefundPoints(int refundPoints)
refundPoints
- the refundPoints to setjava.lang.String getCustomAttrs()
void setCustomAttrs(java.lang.String customAttrs)
customAttrs
- the customAttrs to setProdCustAttrIf[] getCustomAttrArray()
void setCustomAttrArray(ProdCustAttrIf[] customAttrArray)
customAttrArray
- the customAttrArray to setjava.lang.String getTaxRateCode()
void setTaxRateCode(java.lang.String taxRateCode)
taxRateCode
- the taxRateCode to setCopyright © 2018 DS Data Systems UK Ltd.