jp.co.freee.accounting.models.PartnerCreateParamsPartnerBankAccountAttributes Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of freee-accounting-sdk Show documentation
Show all versions of freee-accounting-sdk Show documentation
freee accounting client SDK for Java
/*
* freee API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1.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 jp.co.freee.accounting.models;
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;
/**
* PartnerCreateParamsPartnerBankAccountAttributes
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class PartnerCreateParamsPartnerBankAccountAttributes {
public static final String SERIALIZED_NAME_ACCOUNT_NAME = "account_name";
@SerializedName(SERIALIZED_NAME_ACCOUNT_NAME)
private String accountName;
public static final String SERIALIZED_NAME_ACCOUNT_NUMBER = "account_number";
@SerializedName(SERIALIZED_NAME_ACCOUNT_NUMBER)
private String accountNumber;
public static final String SERIALIZED_NAME_ACCOUNT_TYPE = "account_type";
@SerializedName(SERIALIZED_NAME_ACCOUNT_TYPE)
private String accountType;
public static final String SERIALIZED_NAME_BANK_CODE = "bank_code";
@SerializedName(SERIALIZED_NAME_BANK_CODE)
private String bankCode;
public static final String SERIALIZED_NAME_BANK_NAME = "bank_name";
@SerializedName(SERIALIZED_NAME_BANK_NAME)
private String bankName;
public static final String SERIALIZED_NAME_BANK_NAME_KANA = "bank_name_kana";
@SerializedName(SERIALIZED_NAME_BANK_NAME_KANA)
private String bankNameKana;
public static final String SERIALIZED_NAME_BRANCH_CODE = "branch_code";
@SerializedName(SERIALIZED_NAME_BRANCH_CODE)
private String branchCode;
public static final String SERIALIZED_NAME_BRANCH_KANA = "branch_kana";
@SerializedName(SERIALIZED_NAME_BRANCH_KANA)
private String branchKana;
public static final String SERIALIZED_NAME_BRANCH_NAME = "branch_name";
@SerializedName(SERIALIZED_NAME_BRANCH_NAME)
private String branchName;
public static final String SERIALIZED_NAME_LONG_ACCOUNT_NAME = "long_account_name";
@SerializedName(SERIALIZED_NAME_LONG_ACCOUNT_NAME)
private String longAccountName;
public PartnerCreateParamsPartnerBankAccountAttributes() {
}
public PartnerCreateParamsPartnerBankAccountAttributes accountName(String accountName) {
this.accountName = accountName;
return this;
}
/**
* 受取人名(カナ)
* @return accountName
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "フリータロウ", value = "受取人名(カナ)")
public String getAccountName() {
return accountName;
}
public void setAccountName(String accountName) {
this.accountName = accountName;
}
public PartnerCreateParamsPartnerBankAccountAttributes accountNumber(String accountNumber) {
this.accountNumber = accountNumber;
return this;
}
/**
* 口座番号
* @return accountNumber
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "1010101", value = "口座番号")
public String getAccountNumber() {
return accountNumber;
}
public void setAccountNumber(String accountNumber) {
this.accountNumber = accountNumber;
}
public PartnerCreateParamsPartnerBankAccountAttributes accountType(String accountType) {
this.accountType = accountType;
return this;
}
/**
* 口座種別(ordinary:普通、checking:当座、earmarked:納税準備預金、savings:貯蓄、other:その他)
* @return accountType
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "ordinary", value = "口座種別(ordinary:普通、checking:当座、earmarked:納税準備預金、savings:貯蓄、other:その他)")
public String getAccountType() {
return accountType;
}
public void setAccountType(String accountType) {
this.accountType = accountType;
}
public PartnerCreateParamsPartnerBankAccountAttributes bankCode(String bankCode) {
this.bankCode = bankCode;
return this;
}
/**
* 銀行コード
* @return bankCode
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "0001", value = "銀行コード")
public String getBankCode() {
return bankCode;
}
public void setBankCode(String bankCode) {
this.bankCode = bankCode;
}
public PartnerCreateParamsPartnerBankAccountAttributes bankName(String bankName) {
this.bankName = bankName;
return this;
}
/**
* 銀行名
* @return bankName
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "freee銀行", value = "銀行名")
public String getBankName() {
return bankName;
}
public void setBankName(String bankName) {
this.bankName = bankName;
}
public PartnerCreateParamsPartnerBankAccountAttributes bankNameKana(String bankNameKana) {
this.bankNameKana = bankNameKana;
return this;
}
/**
* 銀行名(カナ)
* @return bankNameKana
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "フリーギンコウ", value = "銀行名(カナ)")
public String getBankNameKana() {
return bankNameKana;
}
public void setBankNameKana(String bankNameKana) {
this.bankNameKana = bankNameKana;
}
public PartnerCreateParamsPartnerBankAccountAttributes branchCode(String branchCode) {
this.branchCode = branchCode;
return this;
}
/**
* 支店番号
* @return branchCode
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "101", value = "支店番号")
public String getBranchCode() {
return branchCode;
}
public void setBranchCode(String branchCode) {
this.branchCode = branchCode;
}
public PartnerCreateParamsPartnerBankAccountAttributes branchKana(String branchKana) {
this.branchKana = branchKana;
return this;
}
/**
* 支店名(カナ)
* @return branchKana
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "ギンザシテン", value = "支店名(カナ)")
public String getBranchKana() {
return branchKana;
}
public void setBranchKana(String branchKana) {
this.branchKana = branchKana;
}
public PartnerCreateParamsPartnerBankAccountAttributes branchName(String branchName) {
this.branchName = branchName;
return this;
}
/**
* 支店名
* @return branchName
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "銀座支店", value = "支店名")
public String getBranchName() {
return branchName;
}
public void setBranchName(String branchName) {
this.branchName = branchName;
}
public PartnerCreateParamsPartnerBankAccountAttributes longAccountName(String longAccountName) {
this.longAccountName = longAccountName;
return this;
}
/**
* 受取人名
* @return longAccountName
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "freee太郎", value = "受取人名")
public String getLongAccountName() {
return longAccountName;
}
public void setLongAccountName(String longAccountName) {
this.longAccountName = longAccountName;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PartnerCreateParamsPartnerBankAccountAttributes partnerCreateParamsPartnerBankAccountAttributes = (PartnerCreateParamsPartnerBankAccountAttributes) o;
return Objects.equals(this.accountName, partnerCreateParamsPartnerBankAccountAttributes.accountName) &&
Objects.equals(this.accountNumber, partnerCreateParamsPartnerBankAccountAttributes.accountNumber) &&
Objects.equals(this.accountType, partnerCreateParamsPartnerBankAccountAttributes.accountType) &&
Objects.equals(this.bankCode, partnerCreateParamsPartnerBankAccountAttributes.bankCode) &&
Objects.equals(this.bankName, partnerCreateParamsPartnerBankAccountAttributes.bankName) &&
Objects.equals(this.bankNameKana, partnerCreateParamsPartnerBankAccountAttributes.bankNameKana) &&
Objects.equals(this.branchCode, partnerCreateParamsPartnerBankAccountAttributes.branchCode) &&
Objects.equals(this.branchKana, partnerCreateParamsPartnerBankAccountAttributes.branchKana) &&
Objects.equals(this.branchName, partnerCreateParamsPartnerBankAccountAttributes.branchName) &&
Objects.equals(this.longAccountName, partnerCreateParamsPartnerBankAccountAttributes.longAccountName);
}
@Override
public int hashCode() {
return Objects.hash(accountName, accountNumber, accountType, bankCode, bankName, bankNameKana, branchCode, branchKana, branchName, longAccountName);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PartnerCreateParamsPartnerBankAccountAttributes {\n");
sb.append(" accountName: ").append(toIndentedString(accountName)).append("\n");
sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n");
sb.append(" accountType: ").append(toIndentedString(accountType)).append("\n");
sb.append(" bankCode: ").append(toIndentedString(bankCode)).append("\n");
sb.append(" bankName: ").append(toIndentedString(bankName)).append("\n");
sb.append(" bankNameKana: ").append(toIndentedString(bankNameKana)).append("\n");
sb.append(" branchCode: ").append(toIndentedString(branchCode)).append("\n");
sb.append(" branchKana: ").append(toIndentedString(branchKana)).append("\n");
sb.append(" branchName: ").append(toIndentedString(branchName)).append("\n");
sb.append(" longAccountName: ").append(toIndentedString(longAccountName)).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 ");
}
}