/*
 * The Plaid API
 * The Plaid REST API. Please see https://plaid.com/docs/api for more details.
 *
 * The version of the OpenAPI document: 2020-09-14_1.680.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.plaid.client.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;

/**
 * Contains the supported service types in RfP
 */
@ApiModel(description = "Contains the supported service types in RfP")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-11T18:58:39.328614Z[Etc/UTC]")
public class TransferCapabilitiesGetRfP {
  public static final String SERIALIZED_NAME_DEBIT = "debit";
  @SerializedName(SERIALIZED_NAME_DEBIT)
  private Boolean debit = false;

  public static final String SERIALIZED_NAME_MAX_AMOUNT = "max_amount";
  @SerializedName(SERIALIZED_NAME_MAX_AMOUNT)
  private String maxAmount;

  public static final String SERIALIZED_NAME_ISO_CURRENCY_CODE = "iso_currency_code";
  @SerializedName(SERIALIZED_NAME_ISO_CURRENCY_CODE)
  private String isoCurrencyCode;


  public TransferCapabilitiesGetRfP debit(Boolean debit) {
    
    this.debit = debit;
    return this;
  }

   /**
   * When &#x60;true&#x60;, the linked Item&#39;s institution supports RfP debit transfer.
   * @return debit
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "When `true`, the linked Item's institution supports RfP debit transfer.")

  public Boolean getDebit() {
    return debit;
  }


  public void setDebit(Boolean debit) {
    this.debit = debit;
  }


  public TransferCapabilitiesGetRfP maxAmount(String maxAmount) {
    
    this.maxAmount = maxAmount;
    return this;
  }

   /**
   * The maximum amount (decimal string with two digits of precision e.g. \&quot;10.00\&quot;) for originating RfP transfers with the given institution.
   * @return maxAmount
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "The maximum amount (decimal string with two digits of precision e.g. \"10.00\") for originating RfP transfers with the given institution.")

  public String getMaxAmount() {
    return maxAmount;
  }


  public void setMaxAmount(String maxAmount) {
    this.maxAmount = maxAmount;
  }


  public TransferCapabilitiesGetRfP isoCurrencyCode(String isoCurrencyCode) {
    
    this.isoCurrencyCode = isoCurrencyCode;
    return this;
  }

   /**
   * The currency of the &#x60;max_amount&#x60;, e.g. \&quot;USD\&quot;.
   * @return isoCurrencyCode
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "The currency of the `max_amount`, e.g. \"USD\".")

  public String getIsoCurrencyCode() {
    return isoCurrencyCode;
  }


  public void setIsoCurrencyCode(String isoCurrencyCode) {
    this.isoCurrencyCode = isoCurrencyCode;
  }


  @Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    TransferCapabilitiesGetRfP transferCapabilitiesGetRfP = (TransferCapabilitiesGetRfP) o;
    return Objects.equals(this.debit, transferCapabilitiesGetRfP.debit) &&
        Objects.equals(this.maxAmount, transferCapabilitiesGetRfP.maxAmount) &&
        Objects.equals(this.isoCurrencyCode, transferCapabilitiesGetRfP.isoCurrencyCode);
  }

  @Override
  public int hashCode() {
    return Objects.hash(debit, maxAmount, isoCurrencyCode);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class TransferCapabilitiesGetRfP {\n");
    sb.append("    debit: ").append(toIndentedString(debit)).append("\n");
    sb.append("    maxAmount: ").append(toIndentedString(maxAmount)).append("\n");
    sb.append("    isoCurrencyCode: ").append(toIndentedString(isoCurrencyCode)).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    ");
  }

}

