/* * Selling Partner API for Orders * The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools. * * OpenAPI spec version: v0 * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ package cn.amazon.aws.rp.spapi.clients.model; import java.util.Objects; import com.google.gson.annotations.SerializedName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** * Contains the instructions about the fulfillment like where should it be fulfilled from. */ @ApiModel(description = "Contains the instructions about the fulfillment like where should it be fulfilled from.") @javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-10-27T15:23:41.622+08:00") public class FulfillmentInstruction { @SerializedName("FulfillmentSupplySourceId") private String fulfillmentSupplySourceId = null; public FulfillmentInstruction fulfillmentSupplySourceId(String fulfillmentSupplySourceId) { this.fulfillmentSupplySourceId = fulfillmentSupplySourceId; return this; } /** * Denotes the recommended sourceId where the order should be fulfilled from. * @return fulfillmentSupplySourceId **/ @ApiModelProperty(value = "Denotes the recommended sourceId where the order should be fulfilled from.") public String getFulfillmentSupplySourceId() { return fulfillmentSupplySourceId; } public void setFulfillmentSupplySourceId(String fulfillmentSupplySourceId) { this.fulfillmentSupplySourceId = fulfillmentSupplySourceId; } @Override public boolean equals(java.lang.Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } FulfillmentInstruction fulfillmentInstruction = (FulfillmentInstruction) o; return Objects.equals(this.fulfillmentSupplySourceId, fulfillmentInstruction.fulfillmentSupplySourceId); } @Override public int hashCode() { return Objects.hash(fulfillmentSupplySourceId); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class FulfillmentInstruction {\n"); sb.append(" fulfillmentSupplySourceId: ").append(toIndentedString(fulfillmentSupplySourceId)).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 "); } }