Package model
Class UpdateSettlementRequest
- java.lang.Object
-
- model.UpdateSettlementRequest
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class UpdateSettlementRequest extends Object
UpdateSettlementRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUpdateSettlementRequest.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_TAGS
-
Constructor Summary
Constructors Constructor Description UpdateSettlementRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static UpdateSettlementRequestfromJson(String jsonString)Create an instance of UpdateSettlementRequest given an JSON stringMap<String,String>getTags()Key value pair for annotating custom meta data (e.g.inthashCode()UpdateSettlementRequestputTagsItem(String key, String tagsItem)voidsetTags(Map<String,String> tags)UpdateSettlementRequesttags(Map<String,String> tags)StringtoJson()Convert an instance of UpdateSettlementRequest to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Method Detail
-
tags
public UpdateSettlementRequest tags(Map<String,String> tags)
-
putTagsItem
public UpdateSettlementRequest putTagsItem(String key, String tagsItem)
-
getTags
@Nullable public Map<String,String> getTags()
Key value pair for annotating custom meta data (e.g. order numbers).- Returns:
- tags
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to UpdateSettlementRequest
-
fromJson
public static UpdateSettlementRequest fromJson(String jsonString) throws IOException
Create an instance of UpdateSettlementRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UpdateSettlementRequest
- Throws:
IOException- if the JSON string is invalid with respect to UpdateSettlementRequest
-
toJson
public String toJson()
Convert an instance of UpdateSettlementRequest to an JSON string- Returns:
- JSON string
-
-