@Generated(value="Generated by https://konfigthis.com") public class ShopperData extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ShopperData.CustomTypeAdapterFactory |
| Modifier and Type | Field and Description |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_CULTURE |
static String |
SERIALIZED_NAME_EMAIL |
static String |
SERIALIZED_NAME_FULL_NAME |
static String |
SERIALIZED_NAME_PHONE_NUMBER |
| Constructor and Description |
|---|
ShopperData() |
| Modifier and Type | Method and Description |
|---|---|
ShopperData |
culture(String culture) |
ShopperData |
email(String email) |
boolean |
equals(Object o) |
static ShopperData |
fromJson(String jsonString)
Create an instance of ShopperData given an JSON string
|
ShopperData |
fullName(String fullName) |
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getCulture()
Get culture
|
String |
getEmail()
Get email
|
String |
getFullName()
Get fullName
|
String |
getPhoneNumber()
Get phoneNumber
|
int |
hashCode() |
ShopperData |
phoneNumber(String phoneNumber) |
ShopperData |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setCulture(String culture) |
void |
setEmail(String email) |
void |
setFullName(String fullName) |
void |
setPhoneNumber(String phoneNumber) |
String |
toJson()
Convert an instance of ShopperData to an JSON string
|
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_FULL_NAME
public static final String SERIALIZED_NAME_EMAIL
public static final String SERIALIZED_NAME_PHONE_NUMBER
public static final String SERIALIZED_NAME_CULTURE
public ShopperData fullName(String fullName)
public void setFullName(String fullName)
public ShopperData email(String email)
public void setEmail(String email)
public ShopperData phoneNumber(String phoneNumber)
public void setPhoneNumber(String phoneNumber)
public ShopperData culture(String culture)
public void setCulture(String culture)
public ShopperData 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 ShopperDatapublic static ShopperData fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to ShopperDatapublic String toJson()
Copyright © 2023. All rights reserved.