Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/*
* finAPI RESTful Services
* finAPI RESTful Services
*
* OpenAPI spec version: v1.64.0
*
*
* 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;
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;
import java.math.BigDecimal;
/**
* Transaction data for categorization training
*/
@ApiModel(description = "Transaction data for categorization training")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-02-05T12:19:21.458Z")
public class TrainCategorizationTransactionData {
@SerializedName("accountTypeId")
private Long accountTypeId = null;
@SerializedName("amount")
private BigDecimal amount = null;
@SerializedName("purpose")
private String purpose = null;
@SerializedName("counterpart")
private String counterpart = null;
@SerializedName("counterpartIban")
private String counterpartIban = null;
@SerializedName("counterpartAccountNumber")
private String counterpartAccountNumber = null;
@SerializedName("counterpartBlz")
private String counterpartBlz = null;
@SerializedName("counterpartBic")
private String counterpartBic = null;
@SerializedName("mcCode")
private String mcCode = null;
public TrainCategorizationTransactionData accountTypeId(Long accountTypeId) {
this.accountTypeId = accountTypeId;
return this;
}
/**
* Identifier of account type.<br/><br/>1 = Checking,<br/>2 = Savings,<br/>3 = CreditCard,<br/>4 = Security,<br/>5 = Loan,<br/>6 = Pocket (DEPRECATED; will not be returned for any account unless this type has explicitly been set via PATCH),<br/>7 = Membership,<br/>8 = Bausparen<br/><br/>
* minimum: 1
* maximum: 7
* @return accountTypeId
**/
@ApiModelProperty(example = "1", required = true, value = "Identifier of account type.
1 = Checking, 2 = Savings, 3 = CreditCard, 4 = Security, 5 = Loan, 6 = Pocket (DEPRECATED; will not be returned for any account unless this type has explicitly been set via PATCH), 7 = Membership, 8 = Bausparen
")
public Long getAccountTypeId() {
return accountTypeId;
}
public void setAccountTypeId(Long accountTypeId) {
this.accountTypeId = accountTypeId;
}
public TrainCategorizationTransactionData amount(BigDecimal amount) {
this.amount = amount;
return this;
}
/**
* Amount
* @return amount
**/
@ApiModelProperty(example = "-99.99", required = true, value = "Amount")
public BigDecimal getAmount() {
return amount;
}
public void setAmount(BigDecimal amount) {
this.amount = amount;
}
public TrainCategorizationTransactionData purpose(String purpose) {
this.purpose = purpose;
return this;
}
/**
* Purpose. Any symbols are allowed. Maximum length is 2000. Default value: null.
* @return purpose
**/
@ApiModelProperty(example = "Restaurantbesuch", value = "Purpose. Any symbols are allowed. Maximum length is 2000. Default value: null.")
public String getPurpose() {
return purpose;
}
public void setPurpose(String purpose) {
this.purpose = purpose;
}
public TrainCategorizationTransactionData counterpart(String counterpart) {
this.counterpart = counterpart;
return this;
}
/**
* Counterpart. Any symbols are allowed. Maximum length is 80. Default value: null.
* @return counterpart
**/
@ApiModelProperty(example = "Bar Centrale", value = "Counterpart. Any symbols are allowed. Maximum length is 80. Default value: null.")
public String getCounterpart() {
return counterpart;
}
public void setCounterpart(String counterpart) {
this.counterpart = counterpart;
}
public TrainCategorizationTransactionData counterpartIban(String counterpartIban) {
this.counterpartIban = counterpartIban;
return this;
}
/**
* Counterpart IBAN. Default value: null.
* @return counterpartIban
**/
@ApiModelProperty(example = "DE13700800000061110500", value = "Counterpart IBAN. Default value: null.")
public String getCounterpartIban() {
return counterpartIban;
}
public void setCounterpartIban(String counterpartIban) {
this.counterpartIban = counterpartIban;
}
public TrainCategorizationTransactionData counterpartAccountNumber(String counterpartAccountNumber) {
this.counterpartAccountNumber = counterpartAccountNumber;
return this;
}
/**
* Counterpart account number. Default value: null.
* @return counterpartAccountNumber
**/
@ApiModelProperty(example = "61110500", value = "Counterpart account number. Default value: null.")
public String getCounterpartAccountNumber() {
return counterpartAccountNumber;
}
public void setCounterpartAccountNumber(String counterpartAccountNumber) {
this.counterpartAccountNumber = counterpartAccountNumber;
}
public TrainCategorizationTransactionData counterpartBlz(String counterpartBlz) {
this.counterpartBlz = counterpartBlz;
return this;
}
/**
* Counterpart BLZ. Default value: null.
* @return counterpartBlz
**/
@ApiModelProperty(example = "70080000", value = "Counterpart BLZ. Default value: null.")
public String getCounterpartBlz() {
return counterpartBlz;
}
public void setCounterpartBlz(String counterpartBlz) {
this.counterpartBlz = counterpartBlz;
}
public TrainCategorizationTransactionData counterpartBic(String counterpartBic) {
this.counterpartBic = counterpartBic;
return this;
}
/**
* Counterpart BIC. Default value: null.
* @return counterpartBic
**/
@ApiModelProperty(example = "DRESDEFF700", value = "Counterpart BIC. Default value: null.")
public String getCounterpartBic() {
return counterpartBic;
}
public void setCounterpartBic(String counterpartBic) {
this.counterpartBic = counterpartBic;
}
public TrainCategorizationTransactionData mcCode(String mcCode) {
this.mcCode = mcCode;
return this;
}
/**
* Merchant category code (for credit card transactions only). Default value: null. NOTE: This field is currently not regarded.
* @return mcCode
**/
@ApiModelProperty(example = "5542", value = "Merchant category code (for credit card transactions only). Default value: null. NOTE: This field is currently not regarded.")
public String getMcCode() {
return mcCode;
}
public void setMcCode(String mcCode) {
this.mcCode = mcCode;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TrainCategorizationTransactionData trainCategorizationTransactionData = (TrainCategorizationTransactionData) o;
return Objects.equals(this.accountTypeId, trainCategorizationTransactionData.accountTypeId) &&
Objects.equals(this.amount, trainCategorizationTransactionData.amount) &&
Objects.equals(this.purpose, trainCategorizationTransactionData.purpose) &&
Objects.equals(this.counterpart, trainCategorizationTransactionData.counterpart) &&
Objects.equals(this.counterpartIban, trainCategorizationTransactionData.counterpartIban) &&
Objects.equals(this.counterpartAccountNumber, trainCategorizationTransactionData.counterpartAccountNumber) &&
Objects.equals(this.counterpartBlz, trainCategorizationTransactionData.counterpartBlz) &&
Objects.equals(this.counterpartBic, trainCategorizationTransactionData.counterpartBic) &&
Objects.equals(this.mcCode, trainCategorizationTransactionData.mcCode);
}
@Override
public int hashCode() {
return Objects.hash(accountTypeId, amount, purpose, counterpart, counterpartIban, counterpartAccountNumber, counterpartBlz, counterpartBic, mcCode);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TrainCategorizationTransactionData {\n");
sb.append(" accountTypeId: ").append(toIndentedString(accountTypeId)).append("\n");
sb.append(" amount: ").append(toIndentedString(amount)).append("\n");
sb.append(" purpose: ").append(toIndentedString(purpose)).append("\n");
sb.append(" counterpart: ").append(toIndentedString(counterpart)).append("\n");
sb.append(" counterpartIban: ").append(toIndentedString(counterpartIban)).append("\n");
sb.append(" counterpartAccountNumber: ").append(toIndentedString(counterpartAccountNumber)).append("\n");
sb.append(" counterpartBlz: ").append(toIndentedString(counterpartBlz)).append("\n");
sb.append(" counterpartBic: ").append(toIndentedString(counterpartBic)).append("\n");
sb.append(" mcCode: ").append(toIndentedString(mcCode)).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 ");
}
}