de.adorsys.multibanking.banking_gateway_b2c.model.TransactionAuthorisationRequestTO Maven / Gradle / Ivy
/*
* Bankinggateway B2C Rest API
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 0.2-SNAPSHOT
*
*
* 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 de.adorsys.multibanking.banking_gateway_b2c.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.v3.oas.annotations.media.Schema;
import java.io.IOException;
/**
* TransactionAuthorisationRequestTO
*/
@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2020-03-31T11:42:30.614Z[UTC]")
public class TransactionAuthorisationRequestTO {
@SerializedName("scaAuthenticationData")
private String scaAuthenticationData = null;
public TransactionAuthorisationRequestTO scaAuthenticationData(String scaAuthenticationData) {
this.scaAuthenticationData = scaAuthenticationData;
return this;
}
/**
* SCA authentication data, depending on the chosen authentication method. If the data is binary, then it is base64 encoded.
* @return scaAuthenticationData
**/
@Schema(required = true, description = "SCA authentication data, depending on the chosen authentication method. If the data is binary, then it is base64 encoded.")
public String getScaAuthenticationData() {
return scaAuthenticationData;
}
public void setScaAuthenticationData(String scaAuthenticationData) {
this.scaAuthenticationData = scaAuthenticationData;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TransactionAuthorisationRequestTO transactionAuthorisationRequestTO = (TransactionAuthorisationRequestTO) o;
return Objects.equals(this.scaAuthenticationData, transactionAuthorisationRequestTO.scaAuthenticationData);
}
@Override
public int hashCode() {
return Objects.hash(scaAuthenticationData);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TransactionAuthorisationRequestTO {\n");
sb.append(" scaAuthenticationData: ").append(toIndentedString(scaAuthenticationData)).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 ");
}
}