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

com.univapay.sdk.models.errors.UnivapayErrorBody Maven / Gradle / Ivy

There is a newer version: 0.2.35
Show 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