com.univapay.sdk.models.errors.UnivapayErrorBody Maven / Gradle / Ivy
The newest version!
package com.univapay.sdk.models.errors;
import com.google.gson.annotations.SerializedName;
import java.util.List;
public class UnivapayErrorBody {
@SerializedName("status")
private String status;
@SerializedName("code")
private String code;
@SerializedName("errors")
private List errors;
UnivapayErrorBody() {}
UnivapayErrorBody(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