All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jp.gopay.sdk.models.errors.GoPayErrorBody Maven / Gradle / Ivy

There is a newer version: 0.11.17
Show newest version
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 - 2024 Weber Informatics LLC | Privacy Policy