Package model
Class UpdatePaymentInstrumentRequest
- java.lang.Object
-
- model.UpdatePaymentInstrumentRequest
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class UpdatePaymentInstrumentRequest extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUpdatePaymentInstrumentRequest.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_TAGS
-
Constructor Summary
Constructors Constructor Description UpdatePaymentInstrumentRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static UpdatePaymentInstrumentRequestfromJson(String jsonString)Create an instance of UpdatePaymentInstrumentRequest given an JSON stringMap<String,String>getTags()Key value pair for annotating custom meta data (e.g.inthashCode()UpdatePaymentInstrumentRequestputTagsItem(String key, String tagsItem)voidsetTags(Map<String,String> tags)UpdatePaymentInstrumentRequesttags(Map<String,String> tags)StringtoJson()Convert an instance of UpdatePaymentInstrumentRequest 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 UpdatePaymentInstrumentRequest tags(Map<String,String> tags)
-
putTagsItem
public UpdatePaymentInstrumentRequest 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 UpdatePaymentInstrumentRequest
-
fromJson
public static UpdatePaymentInstrumentRequest fromJson(String jsonString) throws IOException
Create an instance of UpdatePaymentInstrumentRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UpdatePaymentInstrumentRequest
- Throws:
IOException- if the JSON string is invalid with respect to UpdatePaymentInstrumentRequest
-
toJson
public String toJson()
Convert an instance of UpdatePaymentInstrumentRequest to an JSON string- Returns:
- JSON string
-
-