com.kibocommerce.sdk.fulfillment.model.Item Maven / Gradle / Ivy
The newest version!
/*
* Kibo Fulfillment API - Production Profile
* REST API backing the Kibo Fulfiller User Interface
*
* OpenAPI spec version: 1.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.kibocommerce.sdk.fulfillment.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.kibocommerce.sdk.fulfillment.model.AuditInfo;
import com.kibocommerce.sdk.fulfillment.model.GiftCard;
import com.kibocommerce.sdk.fulfillment.model.ProductOption;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.threeten.bp.OffsetDateTime;
/**
* Item
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2020-12-08T12:42:53.880-06:00[America/Chicago]")
public class Item {
public static final String SERIALIZED_NAME_ACTUAL_PRICE = "actualPrice";
@SerializedName(SERIALIZED_NAME_ACTUAL_PRICE)
private BigDecimal actualPrice;
public static final String SERIALIZED_NAME_ALLOWS_BACK_ORDER = "allowsBackOrder";
@SerializedName(SERIALIZED_NAME_ALLOWS_BACK_ORDER)
private Boolean allowsBackOrder;
public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes";
@SerializedName(SERIALIZED_NAME_ATTRIBUTES)
private Map attributes = null;
public static final String SERIALIZED_NAME_AUDIT_INFO = "auditInfo";
@SerializedName(SERIALIZED_NAME_AUDIT_INFO)
private AuditInfo auditInfo = null;
public static final String SERIALIZED_NAME_BACKORDER_RELEASE_DATE = "backorderReleaseDate";
@SerializedName(SERIALIZED_NAME_BACKORDER_RELEASE_DATE)
private OffsetDateTime backorderReleaseDate;
public static final String SERIALIZED_NAME_CREDIT_CURRENCY_CODE = "creditCurrencyCode";
@SerializedName(SERIALIZED_NAME_CREDIT_CURRENCY_CODE)
private String creditCurrencyCode;
public static final String SERIALIZED_NAME_CREDIT_VALUE = "creditValue";
@SerializedName(SERIALIZED_NAME_CREDIT_VALUE)
private BigDecimal creditValue;
public static final String SERIALIZED_NAME_DATA = "data";
@SerializedName(SERIALIZED_NAME_DATA)
private Map data = null;
public static final String SERIALIZED_NAME_DUTY = "duty";
@SerializedName(SERIALIZED_NAME_DUTY)
private BigDecimal duty;
public static final String SERIALIZED_NAME_EXPECTED_DELIVERY_DATE = "expectedDeliveryDate";
@SerializedName(SERIALIZED_NAME_EXPECTED_DELIVERY_DATE)
private OffsetDateTime expectedDeliveryDate;
public static final String SERIALIZED_NAME_GIFT_CARDS = "giftCards";
@SerializedName(SERIALIZED_NAME_GIFT_CARDS)
private List giftCards = null;
/**
* Gets or Sets goodsType
*/
@JsonAdapter(GoodsTypeEnum.Adapter.class)
public enum GoodsTypeEnum {
PHYSICAL("Physical"),
DIGITAL("Digital"),
DIGITALCREDIT("DigitalCredit"),
DIGITALGIFTCARD("DigitalGiftCard");
private String value;
GoodsTypeEnum(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
public static GoodsTypeEnum fromValue(String text) {
for (GoodsTypeEnum b : GoodsTypeEnum.values()) {
if (String.valueOf(b.value).equals(text)) {
return b;
}
}
throw new IllegalArgumentException("Unexpected value '" + text + "'");
}
public static class Adapter extends TypeAdapter {
@Override
public void write(final JsonWriter jsonWriter, final GoodsTypeEnum enumeration) throws IOException {
jsonWriter.value(enumeration.getValue());
}
@Override
public GoodsTypeEnum read(final JsonReader jsonReader) throws IOException {
String value = jsonReader.nextString();
return GoodsTypeEnum.fromValue(String.valueOf(value));
}
}
}
public static final String SERIALIZED_NAME_GOODS_TYPE = "goodsType";
@SerializedName(SERIALIZED_NAME_GOODS_TYPE)
private GoodsTypeEnum goodsType;
public static final String SERIALIZED_NAME_HANDLING = "handling";
@SerializedName(SERIALIZED_NAME_HANDLING)
private BigDecimal handling;
public static final String SERIALIZED_NAME_HANDLING_DISCOUNT = "handlingDiscount";
@SerializedName(SERIALIZED_NAME_HANDLING_DISCOUNT)
private BigDecimal handlingDiscount;
public static final String SERIALIZED_NAME_HANDLING_TAX = "handlingTax";
@SerializedName(SERIALIZED_NAME_HANDLING_TAX)
private BigDecimal handlingTax;
public static final String SERIALIZED_NAME_IMAGE_URL = "imageUrl";
@SerializedName(SERIALIZED_NAME_IMAGE_URL)
private String imageUrl;
public static final String SERIALIZED_NAME_IS_TAXABLE = "isTaxable";
@SerializedName(SERIALIZED_NAME_IS_TAXABLE)
private Boolean isTaxable;
public static final String SERIALIZED_NAME_ITEM_DISCOUNT = "itemDiscount";
@SerializedName(SERIALIZED_NAME_ITEM_DISCOUNT)
private BigDecimal itemDiscount;
public static final String SERIALIZED_NAME_ITEM_TAX = "itemTax";
@SerializedName(SERIALIZED_NAME_ITEM_TAX)
private BigDecimal itemTax;
public static final String SERIALIZED_NAME_LINE_ID = "lineId";
@SerializedName(SERIALIZED_NAME_LINE_ID)
private Integer lineId;
public static final String SERIALIZED_NAME_LINE_ITEM_COST = "lineItemCost";
@SerializedName(SERIALIZED_NAME_LINE_ITEM_COST)
private BigDecimal lineItemCost;
public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME)
private String name;
public static final String SERIALIZED_NAME_OPTION_ATTRIBUTE_F_Q_N = "optionAttributeFQN";
@SerializedName(SERIALIZED_NAME_OPTION_ATTRIBUTE_F_Q_N)
private String optionAttributeFQN;
public static final String SERIALIZED_NAME_OPTIONS = "options";
@SerializedName(SERIALIZED_NAME_OPTIONS)
private List options = null;
public static final String SERIALIZED_NAME_ORIGINAL_ORDER_ITEM_ID = "originalOrderItemId";
@SerializedName(SERIALIZED_NAME_ORIGINAL_ORDER_ITEM_ID)
private String originalOrderItemId;
public static final String SERIALIZED_NAME_OVERRIDE_PRICE = "overridePrice";
@SerializedName(SERIALIZED_NAME_OVERRIDE_PRICE)
private BigDecimal overridePrice;
public static final String SERIALIZED_NAME_PARENT_ID = "parentId";
@SerializedName(SERIALIZED_NAME_PARENT_ID)
private String parentId;
public static final String SERIALIZED_NAME_PART_NUMBER = "partNumber";
@SerializedName(SERIALIZED_NAME_PART_NUMBER)
private String partNumber;
public static final String SERIALIZED_NAME_PRODUCT_CODE = "productCode";
@SerializedName(SERIALIZED_NAME_PRODUCT_CODE)
private String productCode;
public static final String SERIALIZED_NAME_QUANTITY = "quantity";
@SerializedName(SERIALIZED_NAME_QUANTITY)
private Integer quantity;
public static final String SERIALIZED_NAME_READY_FOR_PICKUP_QUANTITY = "readyForPickupQuantity";
@SerializedName(SERIALIZED_NAME_READY_FOR_PICKUP_QUANTITY)
private Integer readyForPickupQuantity;
public static final String SERIALIZED_NAME_SHIPPING = "shipping";
@SerializedName(SERIALIZED_NAME_SHIPPING)
private BigDecimal shipping;
public static final String SERIALIZED_NAME_SHIPPING_DISCOUNT = "shippingDiscount";
@SerializedName(SERIALIZED_NAME_SHIPPING_DISCOUNT)
private BigDecimal shippingDiscount;
public static final String SERIALIZED_NAME_SHIPPING_TAX = "shippingTax";
@SerializedName(SERIALIZED_NAME_SHIPPING_TAX)
private BigDecimal shippingTax;
public static final String SERIALIZED_NAME_SKU = "sku";
@SerializedName(SERIALIZED_NAME_SKU)
private String sku;
public static final String SERIALIZED_NAME_TAX_DATA = "taxData";
@SerializedName(SERIALIZED_NAME_TAX_DATA)
private Object taxData = null;
public static final String SERIALIZED_NAME_TAXABLE_HANDLING = "taxableHandling";
@SerializedName(SERIALIZED_NAME_TAXABLE_HANDLING)
private BigDecimal taxableHandling;
public static final String SERIALIZED_NAME_TAXABLE_LINE_ITEM_COST = "taxableLineItemCost";
@SerializedName(SERIALIZED_NAME_TAXABLE_LINE_ITEM_COST)
private BigDecimal taxableLineItemCost;
public static final String SERIALIZED_NAME_TAXABLE_SHIPPING = "taxableShipping";
@SerializedName(SERIALIZED_NAME_TAXABLE_SHIPPING)
private BigDecimal taxableShipping;
public static final String SERIALIZED_NAME_TRANSFER_QUANTITY = "transferQuantity";
@SerializedName(SERIALIZED_NAME_TRANSFER_QUANTITY)
private Integer transferQuantity;
public static final String SERIALIZED_NAME_TRUE_TRANSFER_QUANTITY = "trueTransferQuantity";
@SerializedName(SERIALIZED_NAME_TRUE_TRANSFER_QUANTITY)
private Integer trueTransferQuantity;
public static final String SERIALIZED_NAME_UNIT_PRICE = "unitPrice";
@SerializedName(SERIALIZED_NAME_UNIT_PRICE)
private BigDecimal unitPrice;
public static final String SERIALIZED_NAME_UPC = "upc";
@SerializedName(SERIALIZED_NAME_UPC)
private String upc;
public static final String SERIALIZED_NAME_VARIATION_PRODUCT_CODE = "variationProductCode";
@SerializedName(SERIALIZED_NAME_VARIATION_PRODUCT_CODE)
private String variationProductCode;
public static final String SERIALIZED_NAME_WEIGHT = "weight";
@SerializedName(SERIALIZED_NAME_WEIGHT)
private BigDecimal weight;
public static final String SERIALIZED_NAME_WEIGHT_UNIT = "weightUnit";
@SerializedName(SERIALIZED_NAME_WEIGHT_UNIT)
private String weightUnit;
public static final String SERIALIZED_NAME_WEIGHTED_DUTY_ADJUSTMENT = "weightedDutyAdjustment";
@SerializedName(SERIALIZED_NAME_WEIGHTED_DUTY_ADJUSTMENT)
private BigDecimal weightedDutyAdjustment;
public static final String SERIALIZED_NAME_WEIGHTED_HANDLING_ADJUSTMENT = "weightedHandlingAdjustment";
@SerializedName(SERIALIZED_NAME_WEIGHTED_HANDLING_ADJUSTMENT)
private BigDecimal weightedHandlingAdjustment;
public static final String SERIALIZED_NAME_WEIGHTED_HANDLING_TAX_ADJUSTMENT = "weightedHandlingTaxAdjustment";
@SerializedName(SERIALIZED_NAME_WEIGHTED_HANDLING_TAX_ADJUSTMENT)
private BigDecimal weightedHandlingTaxAdjustment;
public static final String SERIALIZED_NAME_WEIGHTED_LINE_ITEM_TAX_ADJUSTMENT = "weightedLineItemTaxAdjustment";
@SerializedName(SERIALIZED_NAME_WEIGHTED_LINE_ITEM_TAX_ADJUSTMENT)
private BigDecimal weightedLineItemTaxAdjustment;
public static final String SERIALIZED_NAME_WEIGHTED_SHIPMENT_ADJUSTMENT = "weightedShipmentAdjustment";
@SerializedName(SERIALIZED_NAME_WEIGHTED_SHIPMENT_ADJUSTMENT)
private BigDecimal weightedShipmentAdjustment;
public static final String SERIALIZED_NAME_WEIGHTED_SHIPPING_ADJUSTMENT = "weightedShippingAdjustment";
@SerializedName(SERIALIZED_NAME_WEIGHTED_SHIPPING_ADJUSTMENT)
private BigDecimal weightedShippingAdjustment;
public static final String SERIALIZED_NAME_WEIGHTED_SHIPPING_TAX_ADJUSTMENT = "weightedShippingTaxAdjustment";
@SerializedName(SERIALIZED_NAME_WEIGHTED_SHIPPING_TAX_ADJUSTMENT)
private BigDecimal weightedShippingTaxAdjustment;
public Item actualPrice(BigDecimal actualPrice) {
this.actualPrice = actualPrice;
return this;
}
/**
* Get actualPrice
* @return actualPrice
**/
@ApiModelProperty(value = "")
public BigDecimal getActualPrice() {
return actualPrice;
}
public void setActualPrice(BigDecimal actualPrice) {
this.actualPrice = actualPrice;
}
public Item allowsBackOrder(Boolean allowsBackOrder) {
this.allowsBackOrder = allowsBackOrder;
return this;
}
/**
* Get allowsBackOrder
* @return allowsBackOrder
**/
@ApiModelProperty(value = "")
public Boolean getAllowsBackOrder() {
return allowsBackOrder;
}
public void setAllowsBackOrder(Boolean allowsBackOrder) {
this.allowsBackOrder = allowsBackOrder;
}
public Item attributes(Map attributes) {
this.attributes = attributes;
return this;
}
public Item putAttributesItem(String key, Object attributesItem) {
if (this.attributes == null) {
this.attributes = new HashMap();
}
this.attributes.put(key, attributesItem);
return this;
}
/**
* Get attributes
* @return attributes
**/
@ApiModelProperty(value = "")
public Map getAttributes() {
return attributes;
}
public void setAttributes(Map attributes) {
this.attributes = attributes;
}
public Item auditInfo(AuditInfo auditInfo) {
this.auditInfo = auditInfo;
return this;
}
/**
* Get auditInfo
* @return auditInfo
**/
@ApiModelProperty(value = "")
public AuditInfo getAuditInfo() {
return auditInfo;
}
public void setAuditInfo(AuditInfo auditInfo) {
this.auditInfo = auditInfo;
}
public Item backorderReleaseDate(OffsetDateTime backorderReleaseDate) {
this.backorderReleaseDate = backorderReleaseDate;
return this;
}
/**
* Get backorderReleaseDate
* @return backorderReleaseDate
**/
@ApiModelProperty(value = "")
public OffsetDateTime getBackorderReleaseDate() {
return backorderReleaseDate;
}
public void setBackorderReleaseDate(OffsetDateTime backorderReleaseDate) {
this.backorderReleaseDate = backorderReleaseDate;
}
public Item creditCurrencyCode(String creditCurrencyCode) {
this.creditCurrencyCode = creditCurrencyCode;
return this;
}
/**
* Get creditCurrencyCode
* @return creditCurrencyCode
**/
@ApiModelProperty(value = "")
public String getCreditCurrencyCode() {
return creditCurrencyCode;
}
public void setCreditCurrencyCode(String creditCurrencyCode) {
this.creditCurrencyCode = creditCurrencyCode;
}
public Item creditValue(BigDecimal creditValue) {
this.creditValue = creditValue;
return this;
}
/**
* Get creditValue
* @return creditValue
**/
@ApiModelProperty(value = "")
public BigDecimal getCreditValue() {
return creditValue;
}
public void setCreditValue(BigDecimal creditValue) {
this.creditValue = creditValue;
}
public Item data(Map data) {
this.data = data;
return this;
}
public Item putDataItem(String key, Object dataItem) {
if (this.data == null) {
this.data = new HashMap();
}
this.data.put(key, dataItem);
return this;
}
/**
* Get data
* @return data
**/
@ApiModelProperty(value = "")
public Map getData() {
return data;
}
public void setData(Map data) {
this.data = data;
}
public Item duty(BigDecimal duty) {
this.duty = duty;
return this;
}
/**
* Get duty
* @return duty
**/
@ApiModelProperty(value = "")
public BigDecimal getDuty() {
return duty;
}
public void setDuty(BigDecimal duty) {
this.duty = duty;
}
public Item expectedDeliveryDate(OffsetDateTime expectedDeliveryDate) {
this.expectedDeliveryDate = expectedDeliveryDate;
return this;
}
/**
* Get expectedDeliveryDate
* @return expectedDeliveryDate
**/
@ApiModelProperty(value = "")
public OffsetDateTime getExpectedDeliveryDate() {
return expectedDeliveryDate;
}
public void setExpectedDeliveryDate(OffsetDateTime expectedDeliveryDate) {
this.expectedDeliveryDate = expectedDeliveryDate;
}
public Item giftCards(List giftCards) {
this.giftCards = giftCards;
return this;
}
public Item addGiftCardsItem(GiftCard giftCardsItem) {
if (this.giftCards == null) {
this.giftCards = new ArrayList();
}
this.giftCards.add(giftCardsItem);
return this;
}
/**
* Get giftCards
* @return giftCards
**/
@ApiModelProperty(value = "")
public List getGiftCards() {
return giftCards;
}
public void setGiftCards(List giftCards) {
this.giftCards = giftCards;
}
public Item goodsType(GoodsTypeEnum goodsType) {
this.goodsType = goodsType;
return this;
}
/**
* Get goodsType
* @return goodsType
**/
@ApiModelProperty(value = "")
public GoodsTypeEnum getGoodsType() {
return goodsType;
}
public void setGoodsType(GoodsTypeEnum goodsType) {
this.goodsType = goodsType;
}
public Item handling(BigDecimal handling) {
this.handling = handling;
return this;
}
/**
* Get handling
* @return handling
**/
@ApiModelProperty(value = "")
public BigDecimal getHandling() {
return handling;
}
public void setHandling(BigDecimal handling) {
this.handling = handling;
}
public Item handlingDiscount(BigDecimal handlingDiscount) {
this.handlingDiscount = handlingDiscount;
return this;
}
/**
* Get handlingDiscount
* @return handlingDiscount
**/
@ApiModelProperty(value = "")
public BigDecimal getHandlingDiscount() {
return handlingDiscount;
}
public void setHandlingDiscount(BigDecimal handlingDiscount) {
this.handlingDiscount = handlingDiscount;
}
public Item handlingTax(BigDecimal handlingTax) {
this.handlingTax = handlingTax;
return this;
}
/**
* Get handlingTax
* @return handlingTax
**/
@ApiModelProperty(value = "")
public BigDecimal getHandlingTax() {
return handlingTax;
}
public void setHandlingTax(BigDecimal handlingTax) {
this.handlingTax = handlingTax;
}
public Item imageUrl(String imageUrl) {
this.imageUrl = imageUrl;
return this;
}
/**
* Get imageUrl
* @return imageUrl
**/
@ApiModelProperty(value = "")
public String getImageUrl() {
return imageUrl;
}
public void setImageUrl(String imageUrl) {
this.imageUrl = imageUrl;
}
public Item isTaxable(Boolean isTaxable) {
this.isTaxable = isTaxable;
return this;
}
/**
* Get isTaxable
* @return isTaxable
**/
@ApiModelProperty(value = "")
public Boolean getIsTaxable() {
return isTaxable;
}
public void setIsTaxable(Boolean isTaxable) {
this.isTaxable = isTaxable;
}
public Item itemDiscount(BigDecimal itemDiscount) {
this.itemDiscount = itemDiscount;
return this;
}
/**
* Get itemDiscount
* @return itemDiscount
**/
@ApiModelProperty(value = "")
public BigDecimal getItemDiscount() {
return itemDiscount;
}
public void setItemDiscount(BigDecimal itemDiscount) {
this.itemDiscount = itemDiscount;
}
public Item itemTax(BigDecimal itemTax) {
this.itemTax = itemTax;
return this;
}
/**
* Get itemTax
* @return itemTax
**/
@ApiModelProperty(value = "")
public BigDecimal getItemTax() {
return itemTax;
}
public void setItemTax(BigDecimal itemTax) {
this.itemTax = itemTax;
}
public Item lineId(Integer lineId) {
this.lineId = lineId;
return this;
}
/**
* Get lineId
* @return lineId
**/
@ApiModelProperty(value = "")
public Integer getLineId() {
return lineId;
}
public void setLineId(Integer lineId) {
this.lineId = lineId;
}
public Item lineItemCost(BigDecimal lineItemCost) {
this.lineItemCost = lineItemCost;
return this;
}
/**
* Get lineItemCost
* @return lineItemCost
**/
@ApiModelProperty(value = "")
public BigDecimal getLineItemCost() {
return lineItemCost;
}
public void setLineItemCost(BigDecimal lineItemCost) {
this.lineItemCost = lineItemCost;
}
public Item name(String name) {
this.name = name;
return this;
}
/**
* Get name
* @return name
**/
@ApiModelProperty(value = "")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Item optionAttributeFQN(String optionAttributeFQN) {
this.optionAttributeFQN = optionAttributeFQN;
return this;
}
/**
* Get optionAttributeFQN
* @return optionAttributeFQN
**/
@ApiModelProperty(value = "")
public String getOptionAttributeFQN() {
return optionAttributeFQN;
}
public void setOptionAttributeFQN(String optionAttributeFQN) {
this.optionAttributeFQN = optionAttributeFQN;
}
public Item options(List options) {
this.options = options;
return this;
}
public Item addOptionsItem(ProductOption optionsItem) {
if (this.options == null) {
this.options = new ArrayList();
}
this.options.add(optionsItem);
return this;
}
/**
* Get options
* @return options
**/
@ApiModelProperty(value = "")
public List getOptions() {
return options;
}
public void setOptions(List options) {
this.options = options;
}
public Item originalOrderItemId(String originalOrderItemId) {
this.originalOrderItemId = originalOrderItemId;
return this;
}
/**
* Get originalOrderItemId
* @return originalOrderItemId
**/
@ApiModelProperty(value = "")
public String getOriginalOrderItemId() {
return originalOrderItemId;
}
public void setOriginalOrderItemId(String originalOrderItemId) {
this.originalOrderItemId = originalOrderItemId;
}
public Item overridePrice(BigDecimal overridePrice) {
this.overridePrice = overridePrice;
return this;
}
/**
* Get overridePrice
* @return overridePrice
**/
@ApiModelProperty(value = "")
public BigDecimal getOverridePrice() {
return overridePrice;
}
public void setOverridePrice(BigDecimal overridePrice) {
this.overridePrice = overridePrice;
}
public Item parentId(String parentId) {
this.parentId = parentId;
return this;
}
/**
* Get parentId
* @return parentId
**/
@ApiModelProperty(value = "")
public String getParentId() {
return parentId;
}
public void setParentId(String parentId) {
this.parentId = parentId;
}
public Item partNumber(String partNumber) {
this.partNumber = partNumber;
return this;
}
/**
* Get partNumber
* @return partNumber
**/
@ApiModelProperty(value = "")
public String getPartNumber() {
return partNumber;
}
public void setPartNumber(String partNumber) {
this.partNumber = partNumber;
}
public Item productCode(String productCode) {
this.productCode = productCode;
return this;
}
/**
* Get productCode
* @return productCode
**/
@ApiModelProperty(value = "")
public String getProductCode() {
return productCode;
}
public void setProductCode(String productCode) {
this.productCode = productCode;
}
public Item quantity(Integer quantity) {
this.quantity = quantity;
return this;
}
/**
* Get quantity
* @return quantity
**/
@ApiModelProperty(value = "")
public Integer getQuantity() {
return quantity;
}
public void setQuantity(Integer quantity) {
this.quantity = quantity;
}
public Item readyForPickupQuantity(Integer readyForPickupQuantity) {
this.readyForPickupQuantity = readyForPickupQuantity;
return this;
}
/**
* Get readyForPickupQuantity
* @return readyForPickupQuantity
**/
@ApiModelProperty(value = "")
public Integer getReadyForPickupQuantity() {
return readyForPickupQuantity;
}
public void setReadyForPickupQuantity(Integer readyForPickupQuantity) {
this.readyForPickupQuantity = readyForPickupQuantity;
}
public Item shipping(BigDecimal shipping) {
this.shipping = shipping;
return this;
}
/**
* Get shipping
* @return shipping
**/
@ApiModelProperty(value = "")
public BigDecimal getShipping() {
return shipping;
}
public void setShipping(BigDecimal shipping) {
this.shipping = shipping;
}
public Item shippingDiscount(BigDecimal shippingDiscount) {
this.shippingDiscount = shippingDiscount;
return this;
}
/**
* Get shippingDiscount
* @return shippingDiscount
**/
@ApiModelProperty(value = "")
public BigDecimal getShippingDiscount() {
return shippingDiscount;
}
public void setShippingDiscount(BigDecimal shippingDiscount) {
this.shippingDiscount = shippingDiscount;
}
public Item shippingTax(BigDecimal shippingTax) {
this.shippingTax = shippingTax;
return this;
}
/**
* Get shippingTax
* @return shippingTax
**/
@ApiModelProperty(value = "")
public BigDecimal getShippingTax() {
return shippingTax;
}
public void setShippingTax(BigDecimal shippingTax) {
this.shippingTax = shippingTax;
}
public Item sku(String sku) {
this.sku = sku;
return this;
}
/**
* Get sku
* @return sku
**/
@ApiModelProperty(value = "")
public String getSku() {
return sku;
}
public void setSku(String sku) {
this.sku = sku;
}
public Item taxData(Object taxData) {
this.taxData = taxData;
return this;
}
/**
* Get taxData
* @return taxData
**/
@ApiModelProperty(value = "")
public Object getTaxData() {
return taxData;
}
public void setTaxData(Object taxData) {
this.taxData = taxData;
}
public Item taxableHandling(BigDecimal taxableHandling) {
this.taxableHandling = taxableHandling;
return this;
}
/**
* Get taxableHandling
* @return taxableHandling
**/
@ApiModelProperty(value = "")
public BigDecimal getTaxableHandling() {
return taxableHandling;
}
public void setTaxableHandling(BigDecimal taxableHandling) {
this.taxableHandling = taxableHandling;
}
public Item taxableLineItemCost(BigDecimal taxableLineItemCost) {
this.taxableLineItemCost = taxableLineItemCost;
return this;
}
/**
* Get taxableLineItemCost
* @return taxableLineItemCost
**/
@ApiModelProperty(value = "")
public BigDecimal getTaxableLineItemCost() {
return taxableLineItemCost;
}
public void setTaxableLineItemCost(BigDecimal taxableLineItemCost) {
this.taxableLineItemCost = taxableLineItemCost;
}
public Item taxableShipping(BigDecimal taxableShipping) {
this.taxableShipping = taxableShipping;
return this;
}
/**
* Get taxableShipping
* @return taxableShipping
**/
@ApiModelProperty(value = "")
public BigDecimal getTaxableShipping() {
return taxableShipping;
}
public void setTaxableShipping(BigDecimal taxableShipping) {
this.taxableShipping = taxableShipping;
}
public Item transferQuantity(Integer transferQuantity) {
this.transferQuantity = transferQuantity;
return this;
}
/**
* Get transferQuantity
* @return transferQuantity
**/
@ApiModelProperty(value = "")
public Integer getTransferQuantity() {
return transferQuantity;
}
public void setTransferQuantity(Integer transferQuantity) {
this.transferQuantity = transferQuantity;
}
public Item trueTransferQuantity(Integer trueTransferQuantity) {
this.trueTransferQuantity = trueTransferQuantity;
return this;
}
/**
* Get trueTransferQuantity
* @return trueTransferQuantity
**/
@ApiModelProperty(value = "")
public Integer getTrueTransferQuantity() {
return trueTransferQuantity;
}
public void setTrueTransferQuantity(Integer trueTransferQuantity) {
this.trueTransferQuantity = trueTransferQuantity;
}
public Item unitPrice(BigDecimal unitPrice) {
this.unitPrice = unitPrice;
return this;
}
/**
* Get unitPrice
* @return unitPrice
**/
@ApiModelProperty(value = "")
public BigDecimal getUnitPrice() {
return unitPrice;
}
public void setUnitPrice(BigDecimal unitPrice) {
this.unitPrice = unitPrice;
}
public Item upc(String upc) {
this.upc = upc;
return this;
}
/**
* Get upc
* @return upc
**/
@ApiModelProperty(value = "")
public String getUpc() {
return upc;
}
public void setUpc(String upc) {
this.upc = upc;
}
public Item variationProductCode(String variationProductCode) {
this.variationProductCode = variationProductCode;
return this;
}
/**
* Get variationProductCode
* @return variationProductCode
**/
@ApiModelProperty(value = "")
public String getVariationProductCode() {
return variationProductCode;
}
public void setVariationProductCode(String variationProductCode) {
this.variationProductCode = variationProductCode;
}
public Item weight(BigDecimal weight) {
this.weight = weight;
return this;
}
/**
* Get weight
* @return weight
**/
@ApiModelProperty(value = "")
public BigDecimal getWeight() {
return weight;
}
public void setWeight(BigDecimal weight) {
this.weight = weight;
}
public Item weightUnit(String weightUnit) {
this.weightUnit = weightUnit;
return this;
}
/**
* Get weightUnit
* @return weightUnit
**/
@ApiModelProperty(value = "")
public String getWeightUnit() {
return weightUnit;
}
public void setWeightUnit(String weightUnit) {
this.weightUnit = weightUnit;
}
public Item weightedDutyAdjustment(BigDecimal weightedDutyAdjustment) {
this.weightedDutyAdjustment = weightedDutyAdjustment;
return this;
}
/**
* Get weightedDutyAdjustment
* @return weightedDutyAdjustment
**/
@ApiModelProperty(value = "")
public BigDecimal getWeightedDutyAdjustment() {
return weightedDutyAdjustment;
}
public void setWeightedDutyAdjustment(BigDecimal weightedDutyAdjustment) {
this.weightedDutyAdjustment = weightedDutyAdjustment;
}
public Item weightedHandlingAdjustment(BigDecimal weightedHandlingAdjustment) {
this.weightedHandlingAdjustment = weightedHandlingAdjustment;
return this;
}
/**
* Get weightedHandlingAdjustment
* @return weightedHandlingAdjustment
**/
@ApiModelProperty(value = "")
public BigDecimal getWeightedHandlingAdjustment() {
return weightedHandlingAdjustment;
}
public void setWeightedHandlingAdjustment(BigDecimal weightedHandlingAdjustment) {
this.weightedHandlingAdjustment = weightedHandlingAdjustment;
}
public Item weightedHandlingTaxAdjustment(BigDecimal weightedHandlingTaxAdjustment) {
this.weightedHandlingTaxAdjustment = weightedHandlingTaxAdjustment;
return this;
}
/**
* Get weightedHandlingTaxAdjustment
* @return weightedHandlingTaxAdjustment
**/
@ApiModelProperty(value = "")
public BigDecimal getWeightedHandlingTaxAdjustment() {
return weightedHandlingTaxAdjustment;
}
public void setWeightedHandlingTaxAdjustment(BigDecimal weightedHandlingTaxAdjustment) {
this.weightedHandlingTaxAdjustment = weightedHandlingTaxAdjustment;
}
public Item weightedLineItemTaxAdjustment(BigDecimal weightedLineItemTaxAdjustment) {
this.weightedLineItemTaxAdjustment = weightedLineItemTaxAdjustment;
return this;
}
/**
* Get weightedLineItemTaxAdjustment
* @return weightedLineItemTaxAdjustment
**/
@ApiModelProperty(value = "")
public BigDecimal getWeightedLineItemTaxAdjustment() {
return weightedLineItemTaxAdjustment;
}
public void setWeightedLineItemTaxAdjustment(BigDecimal weightedLineItemTaxAdjustment) {
this.weightedLineItemTaxAdjustment = weightedLineItemTaxAdjustment;
}
public Item weightedShipmentAdjustment(BigDecimal weightedShipmentAdjustment) {
this.weightedShipmentAdjustment = weightedShipmentAdjustment;
return this;
}
/**
* Get weightedShipmentAdjustment
* @return weightedShipmentAdjustment
**/
@ApiModelProperty(value = "")
public BigDecimal getWeightedShipmentAdjustment() {
return weightedShipmentAdjustment;
}
public void setWeightedShipmentAdjustment(BigDecimal weightedShipmentAdjustment) {
this.weightedShipmentAdjustment = weightedShipmentAdjustment;
}
public Item weightedShippingAdjustment(BigDecimal weightedShippingAdjustment) {
this.weightedShippingAdjustment = weightedShippingAdjustment;
return this;
}
/**
* Get weightedShippingAdjustment
* @return weightedShippingAdjustment
**/
@ApiModelProperty(value = "")
public BigDecimal getWeightedShippingAdjustment() {
return weightedShippingAdjustment;
}
public void setWeightedShippingAdjustment(BigDecimal weightedShippingAdjustment) {
this.weightedShippingAdjustment = weightedShippingAdjustment;
}
public Item weightedShippingTaxAdjustment(BigDecimal weightedShippingTaxAdjustment) {
this.weightedShippingTaxAdjustment = weightedShippingTaxAdjustment;
return this;
}
/**
* Get weightedShippingTaxAdjustment
* @return weightedShippingTaxAdjustment
**/
@ApiModelProperty(value = "")
public BigDecimal getWeightedShippingTaxAdjustment() {
return weightedShippingTaxAdjustment;
}
public void setWeightedShippingTaxAdjustment(BigDecimal weightedShippingTaxAdjustment) {
this.weightedShippingTaxAdjustment = weightedShippingTaxAdjustment;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
Item item = (Item) o;
return Objects.equals(this.actualPrice, item.actualPrice) &&
Objects.equals(this.allowsBackOrder, item.allowsBackOrder) &&
Objects.equals(this.attributes, item.attributes) &&
Objects.equals(this.auditInfo, item.auditInfo) &&
Objects.equals(this.backorderReleaseDate, item.backorderReleaseDate) &&
Objects.equals(this.creditCurrencyCode, item.creditCurrencyCode) &&
Objects.equals(this.creditValue, item.creditValue) &&
Objects.equals(this.data, item.data) &&
Objects.equals(this.duty, item.duty) &&
Objects.equals(this.expectedDeliveryDate, item.expectedDeliveryDate) &&
Objects.equals(this.giftCards, item.giftCards) &&
Objects.equals(this.goodsType, item.goodsType) &&
Objects.equals(this.handling, item.handling) &&
Objects.equals(this.handlingDiscount, item.handlingDiscount) &&
Objects.equals(this.handlingTax, item.handlingTax) &&
Objects.equals(this.imageUrl, item.imageUrl) &&
Objects.equals(this.isTaxable, item.isTaxable) &&
Objects.equals(this.itemDiscount, item.itemDiscount) &&
Objects.equals(this.itemTax, item.itemTax) &&
Objects.equals(this.lineId, item.lineId) &&
Objects.equals(this.lineItemCost, item.lineItemCost) &&
Objects.equals(this.name, item.name) &&
Objects.equals(this.optionAttributeFQN, item.optionAttributeFQN) &&
Objects.equals(this.options, item.options) &&
Objects.equals(this.originalOrderItemId, item.originalOrderItemId) &&
Objects.equals(this.overridePrice, item.overridePrice) &&
Objects.equals(this.parentId, item.parentId) &&
Objects.equals(this.partNumber, item.partNumber) &&
Objects.equals(this.productCode, item.productCode) &&
Objects.equals(this.quantity, item.quantity) &&
Objects.equals(this.readyForPickupQuantity, item.readyForPickupQuantity) &&
Objects.equals(this.shipping, item.shipping) &&
Objects.equals(this.shippingDiscount, item.shippingDiscount) &&
Objects.equals(this.shippingTax, item.shippingTax) &&
Objects.equals(this.sku, item.sku) &&
Objects.equals(this.taxData, item.taxData) &&
Objects.equals(this.taxableHandling, item.taxableHandling) &&
Objects.equals(this.taxableLineItemCost, item.taxableLineItemCost) &&
Objects.equals(this.taxableShipping, item.taxableShipping) &&
Objects.equals(this.transferQuantity, item.transferQuantity) &&
Objects.equals(this.trueTransferQuantity, item.trueTransferQuantity) &&
Objects.equals(this.unitPrice, item.unitPrice) &&
Objects.equals(this.upc, item.upc) &&
Objects.equals(this.variationProductCode, item.variationProductCode) &&
Objects.equals(this.weight, item.weight) &&
Objects.equals(this.weightUnit, item.weightUnit) &&
Objects.equals(this.weightedDutyAdjustment, item.weightedDutyAdjustment) &&
Objects.equals(this.weightedHandlingAdjustment, item.weightedHandlingAdjustment) &&
Objects.equals(this.weightedHandlingTaxAdjustment, item.weightedHandlingTaxAdjustment) &&
Objects.equals(this.weightedLineItemTaxAdjustment, item.weightedLineItemTaxAdjustment) &&
Objects.equals(this.weightedShipmentAdjustment, item.weightedShipmentAdjustment) &&
Objects.equals(this.weightedShippingAdjustment, item.weightedShippingAdjustment) &&
Objects.equals(this.weightedShippingTaxAdjustment, item.weightedShippingTaxAdjustment);
}
@Override
public int hashCode() {
return Objects.hash(actualPrice, allowsBackOrder, attributes, auditInfo, backorderReleaseDate, creditCurrencyCode, creditValue, data, duty, expectedDeliveryDate, giftCards, goodsType, handling, handlingDiscount, handlingTax, imageUrl, isTaxable, itemDiscount, itemTax, lineId, lineItemCost, name, optionAttributeFQN, options, originalOrderItemId, overridePrice, parentId, partNumber, productCode, quantity, readyForPickupQuantity, shipping, shippingDiscount, shippingTax, sku, taxData, taxableHandling, taxableLineItemCost, taxableShipping, transferQuantity, trueTransferQuantity, unitPrice, upc, variationProductCode, weight, weightUnit, weightedDutyAdjustment, weightedHandlingAdjustment, weightedHandlingTaxAdjustment, weightedLineItemTaxAdjustment, weightedShipmentAdjustment, weightedShippingAdjustment, weightedShippingTaxAdjustment);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class Item {\n");
sb.append(" actualPrice: ").append(toIndentedString(actualPrice)).append("\n");
sb.append(" allowsBackOrder: ").append(toIndentedString(allowsBackOrder)).append("\n");
sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n");
sb.append(" auditInfo: ").append(toIndentedString(auditInfo)).append("\n");
sb.append(" backorderReleaseDate: ").append(toIndentedString(backorderReleaseDate)).append("\n");
sb.append(" creditCurrencyCode: ").append(toIndentedString(creditCurrencyCode)).append("\n");
sb.append(" creditValue: ").append(toIndentedString(creditValue)).append("\n");
sb.append(" data: ").append(toIndentedString(data)).append("\n");
sb.append(" duty: ").append(toIndentedString(duty)).append("\n");
sb.append(" expectedDeliveryDate: ").append(toIndentedString(expectedDeliveryDate)).append("\n");
sb.append(" giftCards: ").append(toIndentedString(giftCards)).append("\n");
sb.append(" goodsType: ").append(toIndentedString(goodsType)).append("\n");
sb.append(" handling: ").append(toIndentedString(handling)).append("\n");
sb.append(" handlingDiscount: ").append(toIndentedString(handlingDiscount)).append("\n");
sb.append(" handlingTax: ").append(toIndentedString(handlingTax)).append("\n");
sb.append(" imageUrl: ").append(toIndentedString(imageUrl)).append("\n");
sb.append(" isTaxable: ").append(toIndentedString(isTaxable)).append("\n");
sb.append(" itemDiscount: ").append(toIndentedString(itemDiscount)).append("\n");
sb.append(" itemTax: ").append(toIndentedString(itemTax)).append("\n");
sb.append(" lineId: ").append(toIndentedString(lineId)).append("\n");
sb.append(" lineItemCost: ").append(toIndentedString(lineItemCost)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" optionAttributeFQN: ").append(toIndentedString(optionAttributeFQN)).append("\n");
sb.append(" options: ").append(toIndentedString(options)).append("\n");
sb.append(" originalOrderItemId: ").append(toIndentedString(originalOrderItemId)).append("\n");
sb.append(" overridePrice: ").append(toIndentedString(overridePrice)).append("\n");
sb.append(" parentId: ").append(toIndentedString(parentId)).append("\n");
sb.append(" partNumber: ").append(toIndentedString(partNumber)).append("\n");
sb.append(" productCode: ").append(toIndentedString(productCode)).append("\n");
sb.append(" quantity: ").append(toIndentedString(quantity)).append("\n");
sb.append(" readyForPickupQuantity: ").append(toIndentedString(readyForPickupQuantity)).append("\n");
sb.append(" shipping: ").append(toIndentedString(shipping)).append("\n");
sb.append(" shippingDiscount: ").append(toIndentedString(shippingDiscount)).append("\n");
sb.append(" shippingTax: ").append(toIndentedString(shippingTax)).append("\n");
sb.append(" sku: ").append(toIndentedString(sku)).append("\n");
sb.append(" taxData: ").append(toIndentedString(taxData)).append("\n");
sb.append(" taxableHandling: ").append(toIndentedString(taxableHandling)).append("\n");
sb.append(" taxableLineItemCost: ").append(toIndentedString(taxableLineItemCost)).append("\n");
sb.append(" taxableShipping: ").append(toIndentedString(taxableShipping)).append("\n");
sb.append(" transferQuantity: ").append(toIndentedString(transferQuantity)).append("\n");
sb.append(" trueTransferQuantity: ").append(toIndentedString(trueTransferQuantity)).append("\n");
sb.append(" unitPrice: ").append(toIndentedString(unitPrice)).append("\n");
sb.append(" upc: ").append(toIndentedString(upc)).append("\n");
sb.append(" variationProductCode: ").append(toIndentedString(variationProductCode)).append("\n");
sb.append(" weight: ").append(toIndentedString(weight)).append("\n");
sb.append(" weightUnit: ").append(toIndentedString(weightUnit)).append("\n");
sb.append(" weightedDutyAdjustment: ").append(toIndentedString(weightedDutyAdjustment)).append("\n");
sb.append(" weightedHandlingAdjustment: ").append(toIndentedString(weightedHandlingAdjustment)).append("\n");
sb.append(" weightedHandlingTaxAdjustment: ").append(toIndentedString(weightedHandlingTaxAdjustment)).append("\n");
sb.append(" weightedLineItemTaxAdjustment: ").append(toIndentedString(weightedLineItemTaxAdjustment)).append("\n");
sb.append(" weightedShipmentAdjustment: ").append(toIndentedString(weightedShipmentAdjustment)).append("\n");
sb.append(" weightedShippingAdjustment: ").append(toIndentedString(weightedShippingAdjustment)).append("\n");
sb.append(" weightedShippingTaxAdjustment: ").append(toIndentedString(weightedShippingTaxAdjustment)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy