@Generated(value="Generated by https://konfigthis.com") public class MockerShopperToken extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
MockerShopperToken.CustomTypeAdapterFactory |
| Modifier and Type | Field and Description |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_LAST4_DIGIT |
static String |
SERIALIZED_NAME_TOKEN |
| Constructor and Description |
|---|
MockerShopperToken() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static MockerShopperToken |
fromJson(String jsonString)
Create an instance of MockerShopperToken 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.
|
String |
getLast4Digit()
Get last4Digit
|
String |
getToken()
Get token
|
int |
hashCode() |
MockerShopperToken |
last4Digit(String last4Digit) |
MockerShopperToken |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setLast4Digit(String last4Digit) |
void |
setToken(String token) |
String |
toJson()
Convert an instance of MockerShopperToken to an JSON string
|
MockerShopperToken |
token(String token) |
String |
toString() |
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_TOKEN
public static final String SERIALIZED_NAME_LAST4_DIGIT
public MockerShopperToken token(String token)
public void setToken(String token)
public MockerShopperToken last4Digit(String last4Digit)
public void setLast4Digit(String last4Digit)
public MockerShopperToken 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 MockerShopperTokenpublic static MockerShopperToken fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to MockerShopperTokenpublic String toJson()
Copyright © 2023. All rights reserved.