Package model
Class UpdateIdentityRequestEntity
- java.lang.Object
-
- model.UpdateIdentityRequestEntity
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class UpdateIdentityRequestEntity extends Object
Identifying information about the buyer.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUpdateIdentityRequestEntity.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_EMAILstatic StringSERIALIZED_NAME_FIRST_NAMEstatic StringSERIALIZED_NAME_LAST_NAMEstatic StringSERIALIZED_NAME_PERSONAL_ADDRESSstatic StringSERIALIZED_NAME_PHONE
-
Constructor Summary
Constructors Constructor Description UpdateIdentityRequestEntity()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateIdentityRequestEntityemail(String email)booleanequals(Object o)UpdateIdentityRequestEntityfirstName(String firstName)static UpdateIdentityRequestEntityfromJson(String jsonString)Create an instance of UpdateIdentityRequestEntity given an JSON stringStringgetEmail()The email address of the buyer (max 100 characters).StringgetFirstName()The legal first name of the buyer (max 20 characters).StringgetLastName()The legal last name of the buyer (max 20 characters).UpdateIdentityRequestEntityPersonalAddressgetPersonalAddress()Get personalAddressStringgetPhone()Phone number where the buyer can be reached.inthashCode()UpdateIdentityRequestEntitylastName(String lastName)UpdateIdentityRequestEntitypersonalAddress(UpdateIdentityRequestEntityPersonalAddress personalAddress)UpdateIdentityRequestEntityphone(String phone)voidsetEmail(String email)voidsetFirstName(String firstName)voidsetLastName(String lastName)voidsetPersonalAddress(UpdateIdentityRequestEntityPersonalAddress personalAddress)voidsetPhone(String phone)StringtoJson()Convert an instance of UpdateIdentityRequestEntity to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_EMAIL
public static final String SERIALIZED_NAME_EMAIL
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FIRST_NAME
public static final String SERIALIZED_NAME_FIRST_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LAST_NAME
public static final String SERIALIZED_NAME_LAST_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PERSONAL_ADDRESS
public static final String SERIALIZED_NAME_PERSONAL_ADDRESS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PHONE
public static final String SERIALIZED_NAME_PHONE
- See Also:
- Constant Field Values
-
-
Method Detail
-
email
public UpdateIdentityRequestEntity email(String email)
-
getEmail
@Nullable public String getEmail()
The email address of the buyer (max 100 characters).- Returns:
-
setEmail
public void setEmail(String email)
-
firstName
public UpdateIdentityRequestEntity firstName(String firstName)
-
getFirstName
@Nullable public String getFirstName()
The legal first name of the buyer (max 20 characters).- Returns:
- firstName
-
setFirstName
public void setFirstName(String firstName)
-
lastName
public UpdateIdentityRequestEntity lastName(String lastName)
-
getLastName
@Nullable public String getLastName()
The legal last name of the buyer (max 20 characters).- Returns:
- lastName
-
setLastName
public void setLastName(String lastName)
-
personalAddress
public UpdateIdentityRequestEntity personalAddress(UpdateIdentityRequestEntityPersonalAddress personalAddress)
-
getPersonalAddress
@Nullable public UpdateIdentityRequestEntityPersonalAddress getPersonalAddress()
Get personalAddress- Returns:
- personalAddress
-
setPersonalAddress
public void setPersonalAddress(UpdateIdentityRequestEntityPersonalAddress personalAddress)
-
phone
public UpdateIdentityRequestEntity phone(String phone)
-
getPhone
@Nullable public String getPhone()
Phone number where the buyer can be reached.- Returns:
- phone
-
setPhone
public void setPhone(String phone)
-
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 UpdateIdentityRequestEntity
-
fromJson
public static UpdateIdentityRequestEntity fromJson(String jsonString) throws IOException
Create an instance of UpdateIdentityRequestEntity given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UpdateIdentityRequestEntity
- Throws:
IOException- if the JSON string is invalid with respect to UpdateIdentityRequestEntity
-
toJson
public String toJson()
Convert an instance of UpdateIdentityRequestEntity to an JSON string- Returns:
- JSON string
-
-