All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.plaid.client.model.BeaconUserDepositoryAccount Maven / Gradle / Ivy

There is a newer version: 29.0.0
Show newest version
/*
 * 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.565.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;

/**
 * Depository account information for the associated user.
 */
@ApiModel(description = "Depository account information for the associated user.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-17T16:42:02.150702Z[Etc/UTC]")
public class BeaconUserDepositoryAccount {
  public static final String SERIALIZED_NAME_ACCOUNT_MASK = "account_mask";
  @SerializedName(SERIALIZED_NAME_ACCOUNT_MASK)
  private String accountMask;

  public static final String SERIALIZED_NAME_ROUTING_NUMBER = "routing_number";
  @SerializedName(SERIALIZED_NAME_ROUTING_NUMBER)
  private String routingNumber;

  public static final String SERIALIZED_NAME_ADDED_AT = "added_at";
  @SerializedName(SERIALIZED_NAME_ADDED_AT)
  private java.sql.Timestamp addedAt;


  public BeaconUserDepositoryAccount accountMask(String accountMask) {
    
    this.accountMask = accountMask;
    return this;
  }

   /**
   * The last 2-4 numeric characters of this account’s account number.
   * @return accountMask
  **/
  @ApiModelProperty(example = "4000", required = true, value = "The last 2-4 numeric characters of this account’s account number.")

  public String getAccountMask() {
    return accountMask;
  }


  public void setAccountMask(String accountMask) {
    this.accountMask = accountMask;
  }


  public BeaconUserDepositoryAccount routingNumber(String routingNumber) {
    
    this.routingNumber = routingNumber;
    return this;
  }

   /**
   * The routing number of the account.
   * @return routingNumber
  **/
  @ApiModelProperty(example = "021000021", required = true, value = "The routing number of the account.")

  public String getRoutingNumber() {
    return routingNumber;
  }


  public void setRoutingNumber(String routingNumber) {
    this.routingNumber = routingNumber;
  }


  public BeaconUserDepositoryAccount addedAt(java.sql.Timestamp addedAt) {
    
    this.addedAt = addedAt;
    return this;
  }

   /**
   * Get addedAt
   * @return addedAt
  **/
  @ApiModelProperty(required = true, value = "")

  public java.sql.Timestamp getAddedAt() {
    return addedAt;
  }


  public void setAddedAt(java.sql.Timestamp addedAt) {
    this.addedAt = addedAt;
  }


  @Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    BeaconUserDepositoryAccount beaconUserDepositoryAccount = (BeaconUserDepositoryAccount) o;
    return Objects.equals(this.accountMask, beaconUserDepositoryAccount.accountMask) &&
        Objects.equals(this.routingNumber, beaconUserDepositoryAccount.routingNumber) &&
        Objects.equals(this.addedAt, beaconUserDepositoryAccount.addedAt);
  }

  @Override
  public int hashCode() {
    return Objects.hash(accountMask, routingNumber, addedAt);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class BeaconUserDepositoryAccount {\n");
    sb.append("    accountMask: ").append(toIndentedString(accountMask)).append("\n");
    sb.append("    routingNumber: ").append(toIndentedString(routingNumber)).append("\n");
    sb.append("    addedAt: ").append(toIndentedString(addedAt)).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    ");
  }

}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy