Class Error
- java.lang.Object
-
- com.orbipay.paymentsapi.client.wrappers.Error
-
public class Error extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Error()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Error
fromJson(java.lang.String json)
java.lang.String
getCode()
A string indicating errorjava.lang.String
getField()
Refers to the field in the request, if the error is specific to it.java.lang.String
getMessage()
A human-readable message providing more details about the error.java.lang.String
toJson()
-
-
-
Method Detail
-
getCode
public java.lang.String getCode()
A string indicating error- Returns:
- code
-
getMessage
public java.lang.String getMessage()
A human-readable message providing more details about the error.- Returns:
- message
-
getField
public java.lang.String getField()
Refers to the field in the request, if the error is specific to it.- Returns:
- field
-
fromJson
public static Error fromJson(java.lang.String json) throws OrbipayApiException
- Throws:
OrbipayApiException
-
toJson
public java.lang.String toJson() throws OrbipayApiException
- Throws:
OrbipayApiException
-
-