com.kibocommerce.sdk.fulfillment.model.LocationSummary 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.math.BigDecimal;
/**
* LocationSummary
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2020-12-08T12:42:53.880-06:00[America/Chicago]")
public class LocationSummary {
public static final String SERIALIZED_NAME_CURRENCY_CODE = "currencyCode";
@SerializedName(SERIALIZED_NAME_CURRENCY_CODE)
private String currencyCode;
public static final String SERIALIZED_NAME_CURRENT_AMOUNT = "currentAmount";
@SerializedName(SERIALIZED_NAME_CURRENT_AMOUNT)
private BigDecimal currentAmount;
public static final String SERIALIZED_NAME_CURRENT_ITEMS = "currentItems";
@SerializedName(SERIALIZED_NAME_CURRENT_ITEMS)
private Integer currentItems;
public static final String SERIALIZED_NAME_CURRENT_SHIPMENTS = "currentShipments";
@SerializedName(SERIALIZED_NAME_CURRENT_SHIPMENTS)
private Integer currentShipments;
public static final String SERIALIZED_NAME_LOCATION_CODE = "locationCode";
@SerializedName(SERIALIZED_NAME_LOCATION_CODE)
private String locationCode;
public static final String SERIALIZED_NAME_TOTAL_AMOUNT = "totalAmount";
@SerializedName(SERIALIZED_NAME_TOTAL_AMOUNT)
private BigDecimal totalAmount;
public static final String SERIALIZED_NAME_TOTAL_ITEMS = "totalItems";
@SerializedName(SERIALIZED_NAME_TOTAL_ITEMS)
private Integer totalItems;
public static final String SERIALIZED_NAME_TOTAL_SHIPMENTS = "totalShipments";
@SerializedName(SERIALIZED_NAME_TOTAL_SHIPMENTS)
private Integer totalShipments;
public LocationSummary currencyCode(String currencyCode) {
this.currencyCode = currencyCode;
return this;
}
/**
* Get currencyCode
* @return currencyCode
**/
@ApiModelProperty(value = "")
public String getCurrencyCode() {
return currencyCode;
}
public void setCurrencyCode(String currencyCode) {
this.currencyCode = currencyCode;
}
public LocationSummary currentAmount(BigDecimal currentAmount) {
this.currentAmount = currentAmount;
return this;
}
/**
* Get currentAmount
* @return currentAmount
**/
@ApiModelProperty(value = "")
public BigDecimal getCurrentAmount() {
return currentAmount;
}
public void setCurrentAmount(BigDecimal currentAmount) {
this.currentAmount = currentAmount;
}
public LocationSummary currentItems(Integer currentItems) {
this.currentItems = currentItems;
return this;
}
/**
* Get currentItems
* @return currentItems
**/
@ApiModelProperty(value = "")
public Integer getCurrentItems() {
return currentItems;
}
public void setCurrentItems(Integer currentItems) {
this.currentItems = currentItems;
}
public LocationSummary currentShipments(Integer currentShipments) {
this.currentShipments = currentShipments;
return this;
}
/**
* Get currentShipments
* @return currentShipments
**/
@ApiModelProperty(value = "")
public Integer getCurrentShipments() {
return currentShipments;
}
public void setCurrentShipments(Integer currentShipments) {
this.currentShipments = currentShipments;
}
public LocationSummary locationCode(String locationCode) {
this.locationCode = locationCode;
return this;
}
/**
* Get locationCode
* @return locationCode
**/
@ApiModelProperty(value = "")
public String getLocationCode() {
return locationCode;
}
public void setLocationCode(String locationCode) {
this.locationCode = locationCode;
}
public LocationSummary totalAmount(BigDecimal totalAmount) {
this.totalAmount = totalAmount;
return this;
}
/**
* Get totalAmount
* @return totalAmount
**/
@ApiModelProperty(value = "")
public BigDecimal getTotalAmount() {
return totalAmount;
}
public void setTotalAmount(BigDecimal totalAmount) {
this.totalAmount = totalAmount;
}
public LocationSummary totalItems(Integer totalItems) {
this.totalItems = totalItems;
return this;
}
/**
* Get totalItems
* @return totalItems
**/
@ApiModelProperty(value = "")
public Integer getTotalItems() {
return totalItems;
}
public void setTotalItems(Integer totalItems) {
this.totalItems = totalItems;
}
public LocationSummary totalShipments(Integer totalShipments) {
this.totalShipments = totalShipments;
return this;
}
/**
* Get totalShipments
* @return totalShipments
**/
@ApiModelProperty(value = "")
public Integer getTotalShipments() {
return totalShipments;
}
public void setTotalShipments(Integer totalShipments) {
this.totalShipments = totalShipments;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
LocationSummary locationSummary = (LocationSummary) o;
return Objects.equals(this.currencyCode, locationSummary.currencyCode) &&
Objects.equals(this.currentAmount, locationSummary.currentAmount) &&
Objects.equals(this.currentItems, locationSummary.currentItems) &&
Objects.equals(this.currentShipments, locationSummary.currentShipments) &&
Objects.equals(this.locationCode, locationSummary.locationCode) &&
Objects.equals(this.totalAmount, locationSummary.totalAmount) &&
Objects.equals(this.totalItems, locationSummary.totalItems) &&
Objects.equals(this.totalShipments, locationSummary.totalShipments);
}
@Override
public int hashCode() {
return Objects.hash(currencyCode, currentAmount, currentItems, currentShipments, locationCode, totalAmount, totalItems, totalShipments);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class LocationSummary {\n");
sb.append(" currencyCode: ").append(toIndentedString(currencyCode)).append("\n");
sb.append(" currentAmount: ").append(toIndentedString(currentAmount)).append("\n");
sb.append(" currentItems: ").append(toIndentedString(currentItems)).append("\n");
sb.append(" currentShipments: ").append(toIndentedString(currentShipments)).append("\n");
sb.append(" locationCode: ").append(toIndentedString(locationCode)).append("\n");
sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n");
sb.append(" totalItems: ").append(toIndentedString(totalItems)).append("\n");
sb.append(" totalShipments: ").append(toIndentedString(totalShipments)).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