jp.gopay.sdk.models.errors.GoPayErrorBody 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;
import java.util.List;
public class GoPayErrorBody {
@SerializedName("status")
private String status;
@SerializedName("code")
private String code;
@SerializedName("errors")
private List errors;
GoPayErrorBody(){
}
GoPayErrorBody(String code, String status, List errors) {
this.status = status;
this.code = code;
this.errors = errors;
}
public String getStatus() {
return status;
}
public String getCode() {
return code;
}
public List getErrors() {
return errors;
}
@Override
public String toString() {
return "{code:" + code +
", status:" + status +
", details:" + (errors != null ? errors.toString() : "null") +
"}";
}
}