Class OrderItemImpl
- All Implemented Interfaces:
OrderItem
OrderItemImpl class.
- Since:
- 1.0.16
- Author:
- Logicommerce
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for the fieldbackOrder.getCodes()getCodes.Getter for the fieldcombinationId.Getter for the fieldcustomTags.Getter for the fielddiscounts.getHash()Getter for the fieldhash.getId()Getter for the fieldid.getImage()Getter for the fieldimage.getLink()Getter for the fieldlink.getName()Getter for the fieldname.intGetter for the fieldonRequestDays.Getter for the fieldoptions.getPId()Getter for the fieldpId.Getter for the fieldprices.Getter for the fieldproductId.intGetter for the fieldquantity.Getter for the fieldstocks.getSupplierReference.getTaxes()Getter for the fieldtaxes.Getter for the fieldvinculatedTo.doubleGetter for the fieldweight.booleanisNoReturn.booleanisOnRequest.booleanisReverseChargeVat.booleanisSale()isSale.booleanisStockManagement.voidsetBackOrder(BackorderMode backOrder) Setter for the fieldbackOrder.voidSetter for the fieldcodes.voidsetCombinationId(Integer combinationId) setCombinationId.voidsetCustomTags(List<CustomTag> customTags) Setter for the fieldcustomTags.voidsetDiscounts(List<OrderDiscount> discounts) Setter for the fielddiscounts.voidSetter for the fieldhash.voidSetter for the fieldid.voidSetter for the fieldimage.voidSetter for the fieldlink.voidSetter for the fieldname.voidsetNoReturn(boolean noReturn) Setter for the fieldnoReturn.voidsetOnRequest(boolean onRequest) Setter for the fieldonRequest.voidsetOnRequestDays(int onRequestDays) Setter for the fieldonRequestDays.voidsetOptions(List<OrderItemOption> options) Setter for the fieldoptions.voidSetter for the fieldpId.voidsetPrices(OrderItemPrices prices) Setter for the fieldprices.voidsetProductId(Integer productId) setProductId.voidsetQuantity(int quantity) Setter for the fieldquantity.voidsetReverseChargeVat(boolean reverseChargeVat) Setter for the fieldreverseChargeVat.voidsetSale(boolean sale) Setter for the fieldsale.voidsetStockManagement(boolean stockManagement) Setter for the fieldstockManagement.voidsetStocks(List<OrderItemStock> stocks) Setter for the fieldstocks.voidsetSupplierReference(String supplierReference) Setter for the fieldsupplierReference.voidsetTaxes(List<OrderItemTax> taxes) Setter for the fieldtaxes.voidsetVinculatedTo(Integer vinculatedTo) Setter for the fieldvinculatedTo.voidsetWeight(double weight) Setter for the fieldweight.
-
Constructor Details
-
OrderItemImpl
public OrderItemImpl()
-
-
Method Details
-
getBackOrder
Getter for the field
backOrder.- Specified by:
getBackOrderin interfaceOrderItem- Returns:
- a
BackorderModeobject
-
getCustomTags
Getter for the field
customTags.- Specified by:
getCustomTagsin interfaceOrderItem- Returns:
- a
Listobject
-
getDiscounts
Getter for the field
discounts.- Specified by:
getDiscountsin interfaceOrderItem- Returns:
- a
Listobject
-
getId
Getter for the field
id. -
getHash
Getter for the field
hash. -
getImage
Getter for the field
image. -
getName
Getter for the field
name. -
getOnRequestDays
public int getOnRequestDays()Getter for the field
onRequestDays.- Specified by:
getOnRequestDaysin interfaceOrderItem- Returns:
- a int
-
getOptions
Getter for the field
options.- Specified by:
getOptionsin interfaceOrderItem- Returns:
- a
Listobject
-
getPId
Getter for the field
pId. -
getPrices
Getter for the field
prices.- Specified by:
getPricesin interfaceOrderItem- Returns:
- a
OrderItemPricesobject
-
getProductId
Getter for the field
productId.- Specified by:
getProductIdin interfaceOrderItem- Returns:
- a
Integerobject
-
getQuantity
public int getQuantity()Getter for the field
quantity.- Specified by:
getQuantityin interfaceOrderItem- Returns:
- a int
-
getStocks
Getter for the field
stocks. -
getTaxes
Getter for the field
taxes. -
getVinculatedTo
Getter for the field
vinculatedTo.- Specified by:
getVinculatedToin interfaceOrderItem- Returns:
- a
Integerobject
-
getWeight
public double getWeight()Getter for the field
weight. -
isNoReturn
public boolean isNoReturn()isNoReturn.
- Specified by:
isNoReturnin interfaceOrderItem- Returns:
- a boolean
-
isOnRequest
public boolean isOnRequest()isOnRequest.
- Specified by:
isOnRequestin interfaceOrderItem- Returns:
- a boolean
-
isReverseChargeVat
public boolean isReverseChargeVat()isReverseChargeVat.
- Specified by:
isReverseChargeVatin interfaceOrderItem- Returns:
- a boolean
-
isSale
public boolean isSale()isSale.
-
isStockManagement
public boolean isStockManagement()isStockManagement.
- Specified by:
isStockManagementin interfaceOrderItem- Returns:
- a boolean
-
getLink
Getter for the field
link. -
setBackOrder
Setter for the field
backOrder.- Parameters:
backOrder- aBackorderModeobject
-
setCustomTags
Setter for the field
customTags.- Parameters:
customTags- aListobject
-
setDiscounts
Setter for the field
discounts.- Parameters:
discounts- aListobject
-
setId
Setter for the field
id.- Parameters:
id- aIntegerobject
-
setImage
Setter for the field
image.- Parameters:
image- aStringobject
-
setName
Setter for the field
name.- Parameters:
name- aStringobject
-
setOnRequestDays
public void setOnRequestDays(int onRequestDays) Setter for the field
onRequestDays.- Parameters:
onRequestDays- a int
-
setOptions
Setter for the field
options.- Parameters:
options- aListobject
-
setPId
Setter for the field
pId.- Parameters:
pId- aStringobject
-
setHash
Setter for the field
hash.- Parameters:
hash- aStringobject
-
setProductId
setProductId.
- Specified by:
setProductIdin interfaceOrderItem- Parameters:
productId- aIntegerobject
-
setPrices
Setter for the field
prices.- Parameters:
prices- aOrderItemPricesobject
-
setQuantity
public void setQuantity(int quantity) Setter for the field
quantity.- Parameters:
quantity- a int
-
setStocks
Setter for the field
stocks.- Parameters:
stocks- aListobject
-
setTaxes
Setter for the field
taxes.- Parameters:
taxes- aListobject
-
setVinculatedTo
Setter for the field
vinculatedTo.- Parameters:
vinculatedTo- aIntegerobject
-
setWeight
public void setWeight(double weight) Setter for the field
weight.- Parameters:
weight- a double
-
setNoReturn
public void setNoReturn(boolean noReturn) Setter for the field
noReturn.- Parameters:
noReturn- a boolean
-
setOnRequest
public void setOnRequest(boolean onRequest) Setter for the field
onRequest.- Parameters:
onRequest- a boolean
-
setReverseChargeVat
public void setReverseChargeVat(boolean reverseChargeVat) Setter for the field
reverseChargeVat.- Parameters:
reverseChargeVat- a boolean
-
setSale
public void setSale(boolean sale) Setter for the field
sale.- Parameters:
sale- a boolean
-
setStockManagement
public void setStockManagement(boolean stockManagement) Setter for the field
stockManagement.- Parameters:
stockManagement- a boolean
-
setLink
Setter for the field
link.- Parameters:
link- aStringobject
-
getCombinationId
Getter for the field
combinationId.- Specified by:
getCombinationIdin interfaceOrderItem- Returns:
- a
Integerobject
-
setCombinationId
setCombinationId.
- Specified by:
setCombinationIdin interfaceOrderItem- Parameters:
combinationId- aIntegerobject
-
getSupplierReference
getSupplierReference.
- Specified by:
getSupplierReferencein interfaceOrderItem- Returns:
- a
Stringobject
-
setSupplierReference
Setter for the field
supplierReference.- Parameters:
supplierReference- aStringobject
-
getCodes
getCodes.
-
setCodes
Setter for the field
codes.- Parameters:
codes- aRowCodesobject
-