java.lang.Object
com.logicommerce.sdk.models.order.implementations.OrderItemImpl
All Implemented Interfaces:
OrderItem

public class OrderItemImpl extends Object implements OrderItem

OrderItemImpl class.

Since:
1.0.16
Author:
Logicommerce
  • Constructor Details

    • OrderItemImpl

      public OrderItemImpl()
  • Method Details

    • getBackOrder

      public BackorderMode getBackOrder()

      Getter for the field backOrder.

      Specified by:
      getBackOrder in interface OrderItem
      Returns:
      a BackorderMode object
    • getCustomTags

      public List<CustomTag> getCustomTags()

      Getter for the field customTags.

      Specified by:
      getCustomTags in interface OrderItem
      Returns:
      a List object
    • getDiscounts

      public List<OrderDiscount> getDiscounts()

      Getter for the field discounts.

      Specified by:
      getDiscounts in interface OrderItem
      Returns:
      a List object
    • getId

      public Integer getId()

      Getter for the field id.

      Specified by:
      getId in interface OrderItem
      Returns:
      a Integer object
    • getHash

      public String getHash()

      Getter for the field hash.

      Specified by:
      getHash in interface OrderItem
      Returns:
      a String object
      Since:
      1.3.0
    • getImage

      public String getImage()

      Getter for the field image.

      Specified by:
      getImage in interface OrderItem
      Returns:
      a String object
    • getName

      public String getName()

      Getter for the field name.

      Specified by:
      getName in interface OrderItem
      Returns:
      a String object
    • getOnRequestDays

      public int getOnRequestDays()

      Getter for the field onRequestDays.

      Specified by:
      getOnRequestDays in interface OrderItem
      Returns:
      a int
    • getOptions

      public List<OrderItemOption> getOptions()

      Getter for the field options.

      Specified by:
      getOptions in interface OrderItem
      Returns:
      a List object
    • getPId

      public String getPId()

      Getter for the field pId.

      Specified by:
      getPId in interface OrderItem
      Returns:
      a String object
    • getPrices

      public OrderItemPrices getPrices()

      Getter for the field prices.

      Specified by:
      getPrices in interface OrderItem
      Returns:
      a OrderItemPrices object
    • getProductId

      public Integer getProductId()

      Getter for the field productId.

      Specified by:
      getProductId in interface OrderItem
      Returns:
      a Integer object
    • getQuantity

      public int getQuantity()

      Getter for the field quantity.

      Specified by:
      getQuantity in interface OrderItem
      Returns:
      a int
    • getStocks

      public List<OrderItemStock> getStocks()

      Getter for the field stocks.

      Specified by:
      getStocks in interface OrderItem
      Returns:
      a List object
    • getTaxes

      public List<OrderItemTax> getTaxes()

      Getter for the field taxes.

      Specified by:
      getTaxes in interface OrderItem
      Returns:
      a List object
    • getVinculatedTo

      public Integer getVinculatedTo()

      Getter for the field vinculatedTo.

      Specified by:
      getVinculatedTo in interface OrderItem
      Returns:
      a Integer object
    • getWeight

      public double getWeight()

      Getter for the field weight.

      Specified by:
      getWeight in interface OrderItem
      Returns:
      a double
    • isNoReturn

      public boolean isNoReturn()

      isNoReturn.

      Specified by:
      isNoReturn in interface OrderItem
      Returns:
      a boolean
    • isOnRequest

      public boolean isOnRequest()

      isOnRequest.

      Specified by:
      isOnRequest in interface OrderItem
      Returns:
      a boolean
    • isReverseChargeVat

      public boolean isReverseChargeVat()

      isReverseChargeVat.

      Specified by:
      isReverseChargeVat in interface OrderItem
      Returns:
      a boolean
    • isSale

      public boolean isSale()

      isSale.

      Specified by:
      isSale in interface OrderItem
      Returns:
      a boolean
    • isStockManagement

      public boolean isStockManagement()

      isStockManagement.

      Specified by:
      isStockManagement in interface OrderItem
      Returns:
      a boolean
    • getLink

      public String getLink()

      Getter for the field link.

      Specified by:
      getLink in interface OrderItem
      Returns:
      a String object
    • setBackOrder

      public void setBackOrder(BackorderMode backOrder)

      Setter for the field backOrder.

      Parameters:
      backOrder - a BackorderMode object
    • setCustomTags

      public void setCustomTags(List<CustomTag> customTags)

      Setter for the field customTags.

      Parameters:
      customTags - a List object
    • setDiscounts

      public void setDiscounts(List<OrderDiscount> discounts)

      Setter for the field discounts.

      Parameters:
      discounts - a List object
    • setId

      public void setId(Integer id)

      Setter for the field id.

      Parameters:
      id - a Integer object
    • setImage

      public void setImage(String image)

      Setter for the field image.

      Parameters:
      image - a String object
    • setName

      public void setName(String name)

      Setter for the field name.

      Parameters:
      name - a String object
    • setOnRequestDays

      public void setOnRequestDays(int onRequestDays)

      Setter for the field onRequestDays.

      Parameters:
      onRequestDays - a int
    • setOptions

      public void setOptions(List<OrderItemOption> options)

      Setter for the field options.

      Parameters:
      options - a List object
    • setPId

      public void setPId(String pId)

      Setter for the field pId.

      Parameters:
      pId - a String object
    • setHash

      public void setHash(String hash)

      Setter for the field hash.

      Parameters:
      hash - a String object
    • setProductId

      public void setProductId(Integer productId)

      setProductId.

      Specified by:
      setProductId in interface OrderItem
      Parameters:
      productId - a Integer object
    • setPrices

      public void setPrices(OrderItemPrices prices)

      Setter for the field prices.

      Parameters:
      prices - a OrderItemPrices object
    • setQuantity

      public void setQuantity(int quantity)

      Setter for the field quantity.

      Parameters:
      quantity - a int
    • setStocks

      public void setStocks(List<OrderItemStock> stocks)

      Setter for the field stocks.

      Parameters:
      stocks - a List object
    • setTaxes

      public void setTaxes(List<OrderItemTax> taxes)

      Setter for the field taxes.

      Parameters:
      taxes - a List object
    • setVinculatedTo

      public void setVinculatedTo(Integer vinculatedTo)

      Setter for the field vinculatedTo.

      Parameters:
      vinculatedTo - a Integer object
    • 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

      public void setLink(String link)

      Setter for the field link.

      Parameters:
      link - a String object
    • getCombinationId

      public Integer getCombinationId()

      Getter for the field combinationId.

      Specified by:
      getCombinationId in interface OrderItem
      Returns:
      a Integer object
    • setCombinationId

      public void setCombinationId(Integer combinationId)

      setCombinationId.

      Specified by:
      setCombinationId in interface OrderItem
      Parameters:
      combinationId - a Integer object
    • getSupplierReference

      public String getSupplierReference()

      getSupplierReference.

      Specified by:
      getSupplierReference in interface OrderItem
      Returns:
      a String object
    • setSupplierReference

      public void setSupplierReference(String supplierReference)

      Setter for the field supplierReference.

      Parameters:
      supplierReference - a String object
    • getCodes

      public RowCodes getCodes()

      getCodes.

      Specified by:
      getCodes in interface OrderItem
      Returns:
      a RowCodes object
    • setCodes

      public void setCodes(RowCodes codes)

      Setter for the field codes.

      Parameters:
      codes - a RowCodes object