jp.gopay.sdk.models.errors.DetailedError Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gopay-java-sdk Show documentation
Show all versions of gopay-java-sdk Show documentation
Official Gyro-n Payments Java SDK
package jp.gopay.sdk.models.errors;
import com.google.gson.annotations.SerializedName;
public class DetailedError {
@SerializedName("field")
private String field;
@SerializedName("reason")
private String reason;
public String getField() {
return field;
}
public String getReason() {
return reason;
}
DetailedError(){
}
DetailedError(String field, String reason) {
this.field = field;
this.reason = reason;
}
@Override
public String toString() {
return field + ":" + reason;
}
}