com.adyen.model.ThreeDS2ResultRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of adyen-java-api-library Show documentation
Show all versions of adyen-java-api-library Show documentation
Adyen API Client Library for Java
package com.adyen.model;
import com.google.gson.annotations.SerializedName;
import java.util.Objects;
import static com.adyen.util.Util.toIndentedString;
/**
* ThreeDS2ResultRequest
*/
public class ThreeDS2ResultRequest {
@SerializedName("merchantAccount")
private String merchantAccount = null;
@SerializedName("pspReference")
private String pspReference = null;
public ThreeDS2ResultRequest merchantAccount(String merchantAccount) {
this.merchantAccount = merchantAccount;
return this;
}
public String getMerchantAccount() {
return merchantAccount;
}
public void setMerchantAccount(String merchantAccount) {
this.merchantAccount = merchantAccount;
}
public ThreeDS2ResultRequest pspReference(String pspReference) {
this.pspReference = pspReference;
return this;
}
public String getPspReference() {
return pspReference;
}
public void setPspReference(String pspReference) {
this.pspReference = pspReference;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ThreeDS2ResultRequest threeDS2ResultRequest = (ThreeDS2ResultRequest) o;
return Objects.equals(this.merchantAccount, threeDS2ResultRequest.merchantAccount) &&
Objects.equals(this.pspReference, threeDS2ResultRequest.pspReference);
}
@Override
public int hashCode() {
return Objects.hash(merchantAccount, pspReference);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ThreeDS2ResultRequest {\n");
sb.append(" merchantAccount: ").append(toIndentedString(merchantAccount)).append("\n");
sb.append(" pspReference: ").append(toIndentedString(pspReference)).append("\n");
sb.append("}");
return sb.toString();
}
}