Class OrderItemOptionImpl

java.lang.Object
com.logicommerce.sdk.models.order.implementations.OrderItemOptionImpl
All Implemented Interfaces:
OrderItemOption

public class OrderItemOptionImpl extends Object implements OrderItemOption

OrderItemOptionImpl class.

Since:
1.0.16
Author:
Logicommerce
  • Constructor Details

    • OrderItemOptionImpl

      public OrderItemOptionImpl()
  • Method Details

    • getId

      public Integer getId()

      Getter for the field id.

      Specified by:
      getId in interface OrderItemOption
      Returns:
      a Integer object
    • getValues

      public List<OrderItemOptionValue> getValues()

      Getter for the field values.

      Specified by:
      getValues in interface OrderItemOption
      Returns:
      a List object
    • getOptionId

      public Integer getOptionId()

      Getter for the field optionId.

      Specified by:
      getOptionId in interface OrderItemOption
      Returns:
      a Integer object
    • getOptionValueId

      public Integer getOptionValueId()

      Getter for the field optionValueId.

      Specified by:
      getOptionValueId in interface OrderItemOption
      Returns:
      a Integer object
    • getSku

      public String getSku()

      Getter for the field sku.

      Specified by:
      getSku in interface OrderItemOption
      Returns:
      a String object
    • getName

      public String getName()

      Getter for the field name.

      Specified by:
      getName in interface OrderItemOption
      Returns:
      a String object
    • getPrompt

      public String getPrompt()

      Getter for the field prompt.

      Specified by:
      getPrompt in interface OrderItemOption
      Returns:
      a String object
    • getValue

      public String getValue()

      Getter for the field value.

      Specified by:
      getValue in interface OrderItemOption
      Returns:
      a String object
    • getPrice

      public Double getPrice()

      Getter for the field price.

      Specified by:
      getPrice in interface OrderItemOption
      Returns:
      a Double object
    • getWeight

      public double getWeight()

      Getter for the field weight.

      Specified by:
      getWeight in interface OrderItemOption
      Returns:
      a double
    • isUniquePrice

      public boolean isUniquePrice()

      isUniquePrice.

      Specified by:
      isUniquePrice in interface OrderItemOption
      Returns:
      a boolean
    • getValueType

      public OptionValueType getValueType()

      Getter for the field valueType.

      Specified by:
      getValueType in interface OrderItemOption
      Returns:
      a OptionValueType object
    • getPreviousPrice

      public double getPreviousPrice()

      Getter for the field previousPrice.

      Specified by:
      getPreviousPrice in interface OrderItemOption
      Returns:
      a double
    • getProductOptionPId

      public String getProductOptionPId()

      Getter for the field productOptionPId.

      Specified by:
      getProductOptionPId in interface OrderItemOption
      Returns:
      a String object
    • isCombinable

      public boolean isCombinable()

      isCombinable.

      Specified by:
      isCombinable in interface OrderItemOption
      Returns:
      a boolean
    • setId

      public void setId(Integer id)

      Setter for the field id.

      Parameters:
      id - a Integer object
    • setValues

      public void setValues(List<OrderItemOptionValue> values)

      Setter for the field values.

      Parameters:
      values - a List object
    • setOptionId

      public void setOptionId(Integer optionId)

      Setter for the field optionId.

      Parameters:
      optionId - a Integer object
    • setOptionValueId

      public void setOptionValueId(Integer optionValueId)

      Setter for the field optionValueId.

      Parameters:
      optionValueId - a Integer object
    • setSku

      public void setSku(String sku)

      Setter for the field sku.

      Parameters:
      sku - a String object
    • setName

      public void setName(String name)

      Setter for the field name.

      Parameters:
      name - a String object
    • setPrompt

      public void setPrompt(String prompt)

      Setter for the field prompt.

      Parameters:
      prompt - a String object
    • setValue

      public void setValue(String value)

      Setter for the field value.

      Parameters:
      value - a String object
    • setPrice

      public void setPrice(Double price)

      Setter for the field price.

      Parameters:
      price - a Double object
    • setWeight

      public void setWeight(double weight)

      Setter for the field weight.

      Parameters:
      weight - a double
    • setUniquePrice

      public void setUniquePrice(boolean uniquePrice)

      Setter for the field uniquePrice.

      Parameters:
      uniquePrice - a boolean
    • setValueType

      public void setValueType(OptionValueType valueType)

      Setter for the field valueType.

      Parameters:
      valueType - a OptionValueType object
    • setPreviousPrice

      public void setPreviousPrice(double previousPrice)

      Setter for the field previousPrice.

      Parameters:
      previousPrice - a double
    • setProductOptionPId

      public void setProductOptionPId(String productOptionPId)

      Setter for the field productOptionPId.

      Parameters:
      productOptionPId - a String object
    • setCombinable

      public void setCombinable(boolean combinable)

      Setter for the field combinable.

      Parameters:
      combinable - a boolean