Package model
Class CreateIdentityRequestEntity
- java.lang.Object
-
- model.CreateIdentityRequestEntity
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class CreateIdentityRequestEntity extends Object
The underwriting details required to verify `Identities`.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateIdentityRequestEntity.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 CreateIdentityRequestEntity()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateIdentityRequestEntityemail(String email)booleanequals(Object o)CreateIdentityRequestEntityfirstName(String firstName)static CreateIdentityRequestEntityfromJson(String jsonString)Create an instance of CreateIdentityRequestEntity given an JSON stringStringgetEmail()The email address of the buyer where they can be reached (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).CreateIdentityRequestEntityPersonalAddressgetPersonalAddress()Get personalAddressStringgetPhone()Phone number where the buyer can be reached.inthashCode()CreateIdentityRequestEntitylastName(String lastName)CreateIdentityRequestEntitypersonalAddress(CreateIdentityRequestEntityPersonalAddress personalAddress)CreateIdentityRequestEntityphone(String phone)voidsetEmail(String email)voidsetFirstName(String firstName)voidsetLastName(String lastName)voidsetPersonalAddress(CreateIdentityRequestEntityPersonalAddress personalAddress)voidsetPhone(String phone)StringtoJson()Convert an instance of CreateIdentityRequestEntity 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 CreateIdentityRequestEntity email(String email)
-
getEmail
@Nullable public String getEmail()
The email address of the buyer where they can be reached (max 100 characters).- Returns:
-
setEmail
public void setEmail(String email)
-
firstName
public CreateIdentityRequestEntity 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 CreateIdentityRequestEntity 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 CreateIdentityRequestEntity personalAddress(CreateIdentityRequestEntityPersonalAddress personalAddress)
-
getPersonalAddress
@Nullable public CreateIdentityRequestEntityPersonalAddress getPersonalAddress()
Get personalAddress- Returns:
- personalAddress
-
setPersonalAddress
public void setPersonalAddress(CreateIdentityRequestEntityPersonalAddress personalAddress)
-
phone
public CreateIdentityRequestEntity 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 CreateIdentityRequestEntity
-
fromJson
public static CreateIdentityRequestEntity fromJson(String jsonString) throws IOException
Create an instance of CreateIdentityRequestEntity given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CreateIdentityRequestEntity
- Throws:
IOException- if the JSON string is invalid with respect to CreateIdentityRequestEntity
-
toJson
public String toJson()
Convert an instance of CreateIdentityRequestEntity to an JSON string- Returns:
- JSON string
-
-