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

jp.gopay.sdk.models.errors.DetailedError 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;

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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy