
jp.gopay.sdk.models.errors.GoPayErrorBody Maven / Gradle / Ivy
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") +
"}";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy