@Generated(value="Generated by https://konfigthis.com") public class PlanErrorResponse extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PlanErrorResponse.CustomTypeAdapterFactory |
| Modifier and Type | Field and Description |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_ERROR |
static String |
SERIALIZED_NAME_INSTALLMENT_PLAN_NUMBER |
static String |
SERIALIZED_NAME_TRACE_ID |
| Constructor and Description |
|---|
PlanErrorResponse() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
PlanErrorResponse |
error(ErrorExtended error) |
static PlanErrorResponse |
fromJson(String jsonString)
Create an instance of PlanErrorResponse given an JSON string
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
ErrorExtended |
getError()
Get error
|
String |
getInstallmentPlanNumber()
Get installmentPlanNumber
|
String |
getTraceId()
Get traceId
|
int |
hashCode() |
PlanErrorResponse |
installmentPlanNumber(String installmentPlanNumber) |
PlanErrorResponse |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setError(ErrorExtended error) |
void |
setInstallmentPlanNumber(String installmentPlanNumber) |
void |
setTraceId(String traceId) |
String |
toJson()
Convert an instance of PlanErrorResponse to an JSON string
|
String |
toString() |
PlanErrorResponse |
traceId(String traceId) |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public static final String SERIALIZED_NAME_TRACE_ID
public static final String SERIALIZED_NAME_ERROR
public static final String SERIALIZED_NAME_INSTALLMENT_PLAN_NUMBER
public PlanErrorResponse traceId(String traceId)
public void setTraceId(String traceId)
public PlanErrorResponse error(ErrorExtended error)
@Nullable public ErrorExtended getError()
public void setError(ErrorExtended error)
public PlanErrorResponse installmentPlanNumber(String installmentPlanNumber)
@Nullable public String getInstallmentPlanNumber()
public void setInstallmentPlanNumber(String installmentPlanNumber)
public PlanErrorResponse putAdditionalProperty(String key, Object value)
key - name of the propertyvalue - value of the propertypublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - name of the propertypublic static void validateJsonObject(com.google.gson.JsonObject jsonObj)
throws IOException
jsonObj - JSON ObjectIOException - if the JSON Object is invalid with respect to PlanErrorResponsepublic static PlanErrorResponse fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to PlanErrorResponsepublic String toJson()
Copyright © 2023. All rights reserved.