Package Avalara.SDK.model.A1099.V2
Class W8BenESubstantialUsOwnerDataModel
- java.lang.Object
-
- Avalara.SDK.model.A1099.V2.W8BenESubstantialUsOwnerDataModel
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.7.0") public class W8BenESubstantialUsOwnerDataModel extends Object
W8BenESubstantialUsOwnerDataModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classW8BenESubstantialUsOwnerDataModel.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_ADDRESSstatic StringSERIALIZED_NAME_NAMEstatic StringSERIALIZED_NAME_TIN
-
Constructor Summary
Constructors Constructor Description W8BenESubstantialUsOwnerDataModel()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description W8BenESubstantialUsOwnerDataModeladdress(String address)booleanequals(Object o)static W8BenESubstantialUsOwnerDataModelfromJson(String jsonString)Create an instance of W8BenESubstantialUsOwnerDataModel given an JSON stringStringgetAddress()Get addressStringgetName()Get nameStringgetTin()Get tininthashCode()W8BenESubstantialUsOwnerDataModelname(String name)voidsetAddress(String address)voidsetName(String name)voidsetTin(String tin)W8BenESubstantialUsOwnerDataModeltin(String tin)StringtoJson()Convert an instance of W8BenESubstantialUsOwnerDataModel to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ADDRESS
public static final String SERIALIZED_NAME_ADDRESS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TIN
public static final String SERIALIZED_NAME_TIN
- See Also:
- Constant Field Values
-
-
Method Detail
-
name
public W8BenESubstantialUsOwnerDataModel name(String name)
-
setName
public void setName(String name)
-
address
public W8BenESubstantialUsOwnerDataModel address(String address)
-
setAddress
public void setAddress(String address)
-
tin
public W8BenESubstantialUsOwnerDataModel tin(String tin)
-
setTin
public void setTin(String tin)
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOExceptionValidates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to W8BenESubstantialUsOwnerDataModel
-
fromJson
public static W8BenESubstantialUsOwnerDataModel fromJson(String jsonString) throws IOException
Create an instance of W8BenESubstantialUsOwnerDataModel given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of W8BenESubstantialUsOwnerDataModel
- Throws:
IOException- if the JSON string is invalid with respect to W8BenESubstantialUsOwnerDataModel
-
toJson
public String toJson()
Convert an instance of W8BenESubstantialUsOwnerDataModel to an JSON string- Returns:
- JSON string
-
-