com.kibocommerce.sdk.fulfillment.model.BinShipmentProductQuantity 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 io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* BinShipmentProductQuantity
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2020-12-08T12:42:53.880-06:00[America/Chicago]")
public class BinShipmentProductQuantity {
public static final String SERIALIZED_NAME_ACTUAL_QUANTITY = "actualQuantity";
@SerializedName(SERIALIZED_NAME_ACTUAL_QUANTITY)
private Integer actualQuantity;
public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes";
@SerializedName(SERIALIZED_NAME_ATTRIBUTES)
private Map attributes = null;
public static final String SERIALIZED_NAME_BIN_NAME = "binName";
@SerializedName(SERIALIZED_NAME_BIN_NAME)
private String binName;
public static final String SERIALIZED_NAME_PRODUCT_CODE = "productCode";
@SerializedName(SERIALIZED_NAME_PRODUCT_CODE)
private String productCode;
public static final String SERIALIZED_NAME_SHIPMENT_NUMBER = "shipmentNumber";
@SerializedName(SERIALIZED_NAME_SHIPMENT_NUMBER)
private Integer shipmentNumber;
public static final String SERIALIZED_NAME_VARIATION_PRODUCT_CODE = "variationProductCode";
@SerializedName(SERIALIZED_NAME_VARIATION_PRODUCT_CODE)
private String variationProductCode;
public BinShipmentProductQuantity actualQuantity(Integer actualQuantity) {
this.actualQuantity = actualQuantity;
return this;
}
/**
* Get actualQuantity
* @return actualQuantity
**/
@ApiModelProperty(value = "")
public Integer getActualQuantity() {
return actualQuantity;
}
public void setActualQuantity(Integer actualQuantity) {
this.actualQuantity = actualQuantity;
}
public BinShipmentProductQuantity attributes(Map attributes) {
this.attributes = attributes;
return this;
}
public BinShipmentProductQuantity 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 BinShipmentProductQuantity binName(String binName) {
this.binName = binName;
return this;
}
/**
* Get binName
* @return binName
**/
@ApiModelProperty(value = "")
public String getBinName() {
return binName;
}
public void setBinName(String binName) {
this.binName = binName;
}
public BinShipmentProductQuantity 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 BinShipmentProductQuantity shipmentNumber(Integer shipmentNumber) {
this.shipmentNumber = shipmentNumber;
return this;
}
/**
* Get shipmentNumber
* @return shipmentNumber
**/
@ApiModelProperty(value = "")
public Integer getShipmentNumber() {
return shipmentNumber;
}
public void setShipmentNumber(Integer shipmentNumber) {
this.shipmentNumber = shipmentNumber;
}
public BinShipmentProductQuantity 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;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BinShipmentProductQuantity binShipmentProductQuantity = (BinShipmentProductQuantity) o;
return Objects.equals(this.actualQuantity, binShipmentProductQuantity.actualQuantity) &&
Objects.equals(this.attributes, binShipmentProductQuantity.attributes) &&
Objects.equals(this.binName, binShipmentProductQuantity.binName) &&
Objects.equals(this.productCode, binShipmentProductQuantity.productCode) &&
Objects.equals(this.shipmentNumber, binShipmentProductQuantity.shipmentNumber) &&
Objects.equals(this.variationProductCode, binShipmentProductQuantity.variationProductCode);
}
@Override
public int hashCode() {
return Objects.hash(actualQuantity, attributes, binName, productCode, shipmentNumber, variationProductCode);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BinShipmentProductQuantity {\n");
sb.append(" actualQuantity: ").append(toIndentedString(actualQuantity)).append("\n");
sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n");
sb.append(" binName: ").append(toIndentedString(binName)).append("\n");
sb.append(" productCode: ").append(toIndentedString(productCode)).append("\n");
sb.append(" shipmentNumber: ").append(toIndentedString(shipmentNumber)).append("\n");
sb.append(" variationProductCode: ").append(toIndentedString(variationProductCode)).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