com.logicommerce.sdk.models.order.implementations.OrderItemOptionValueImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdk Show documentation
Show all versions of sdk Show documentation
SDK for developing Logicommerce plugins.
package com.logicommerce.sdk.models.order.implementations;
import com.logicommerce.sdk.models.order.OrderItemOptionValue;
/**
* OrderItemOptionValueImpl class.
*
* @author Logicommerce
* @since 1.0.16
*/
public class OrderItemOptionValueImpl implements OrderItemOptionValue {
private Integer id;
private Integer productOptionValueId;
private String sku;
private double weight;
private double price;
private double previousPrice;
private String value;
private String optionValuePId;
private boolean noReturn;
/**
* Getter for the field id
.
*
* @return a {@link java.lang.Integer} object
*/
public Integer getId() {
return id;
}
/**
* Getter for the field productOptionValueId
.
*
* @return a {@link java.lang.Integer} object
*/
public Integer getProductOptionValueId() {
return productOptionValueId;
}
/**
* Getter for the field sku
.
*
* @return a {@link java.lang.String} object
*/
public String getSku() {
return sku;
}
/**
* Getter for the field weight
.
*
* @return a double
*/
public double getWeight() {
return weight;
}
/**
* Getter for the field price
.
*
* @return a double
*/
public double getPrice() {
return price;
}
/**
* Getter for the field previousPrice
.
*
* @return a double
*/
public double getPreviousPrice() {
return previousPrice;
}
/**
* Getter for the field value
.
*
* @return a {@link java.lang.String} object
*/
public String getValue() {
return value;
}
/**
* Getter for the field optionValuePId
.
*
* @return a {@link java.lang.String} object
*/
public String getOptionValuePId() {
return optionValuePId;
}
/**
* isNoReturn.
*
* @return a boolean
*/
public boolean isNoReturn() {
return noReturn;
}
/**
* Setter for the field id
.
*
* @param id a {@link java.lang.Integer} object
*/
public void setId(Integer id) {
this.id = id;
}
/**
* Setter for the field productOptionValueId
.
*
* @param productOptionValueId a {@link java.lang.Integer} object
*/
public void setProductOptionValueId(Integer productOptionValueId) {
this.productOptionValueId = productOptionValueId;
}
/**
* Setter for the field sku
.
*
* @param sku a {@link java.lang.String} object
*/
public void setSku(String sku) {
this.sku = sku;
}
/**
* Setter for the field weight
.
*
* @param weight a double
*/
public void setWeight(double weight) {
this.weight = weight;
}
/**
* Setter for the field price
.
*
* @param price a double
*/
public void setPrice(double price) {
this.price = price;
}
/**
* Setter for the field previousPrice
.
*
* @param previousPrice a double
*/
public void setPreviousPrice(double previousPrice) {
this.previousPrice = previousPrice;
}
/**
* Setter for the field value
.
*
* @param value a {@link java.lang.String} object
*/
public void setValue(String value) {
this.value = value;
}
/**
* Setter for the field optionValuePId
.
*
* @param optionValuePId a {@link java.lang.String} object
*/
public void setOptionValuePId(String optionValuePId) {
this.optionValuePId = optionValuePId;
}
/**
* Setter for the field noReturn
.
*
* @param noReturn a boolean
*/
public void setNoReturn(boolean noReturn) {
this.noReturn = noReturn;
}
}