content: /*
   * Selling Partner API for Fulfillment Inbound
   * The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon's fulfillment network.
   *
   * 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 io.swagger.client.model.fbav0;
  
  import java.util.Objects;
  
  import com.google.gson.annotations.SerializedName;
  import io.swagger.annotations.ApiModel;
  import io.swagger.annotations.ApiModelProperty;
  
  import java.math.BigDecimal;
  
  /**
   * The monetary value.
   */
  @ApiModel(description = "The monetary value.")
  @javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2024-05-06T15:45:02.096-05:00")
  public class Amount {
    @SerializedName("CurrencyCode")
    private CurrencyCode currencyCode = null;
  
    @SerializedName("Value")
    private BigDecimal value = null;
  
    public Amount currencyCode(CurrencyCode currencyCode) {
      this.currencyCode = currencyCode;
      return this;
    }
  
     /**
     * Get currencyCode
     * @return currencyCode
    **/
    @ApiModelProperty(required = true, value = "")
    public CurrencyCode getCurrencyCode() {
      return currencyCode;
    }
  
    public void setCurrencyCode(CurrencyCode currencyCode) {
      this.currencyCode = currencyCode;
    }
  
    public Amount value(BigDecimal value) {
      this.value = value;
      return this;
    }
  
     /**
     * The amount.
     * @return value
    **/
    @ApiModelProperty(required = true, value = "The amount.")
    public BigDecimal getValue() {
      return value;
    }
  
    public void setValue(BigDecimal value) {
      this.value = value;
    }
  
  
    @Override
    public boolean equals(Object o) {
      if (this == o) {
        return true;
      }
      if (o == null || getClass() != o.getClass()) {
        return false;
      }
      Amount amount = (Amount) o;
      return Objects.equals(this.currencyCode, amount.currencyCode) &&
          Objects.equals(this.value, amount.value);
    }
  
    @Override
    public int hashCode() {
      return Objects.hash(currencyCode, value);
    }
  
  
    @Override
    public String toString() {
      StringBuilder sb = new StringBuilder();
      sb.append("class Amount {\n");
      
      sb.append("    currencyCode: ").append(toIndentedString(currencyCode)).append("\n");
      sb.append("    value: ").append(toIndentedString(value)).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(Object o) {
      if (o == null) {
        return "null";
      }
      return o.toString().replace("\n", "\n    ");
    }
  
  }
  
  