Package Avalara.SDK.model.A1099.V2
Class SubstantialUsOwnerRequest
- java.lang.Object
-
- Avalara.SDK.model.A1099.V2.SubstantialUsOwnerRequest
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.7.0") public class SubstantialUsOwnerRequest extends Object
SubstantialUsOwnerRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSubstantialUsOwnerRequest.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 SubstantialUsOwnerRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SubstantialUsOwnerRequestaddress(String address)booleanequals(Object o)static SubstantialUsOwnerRequestfromJson(String jsonString)Create an instance of SubstantialUsOwnerRequest given an JSON stringStringgetAddress()The address of the substantial U.S.StringgetName()The name of the substantial U.S.StringgetTin()The taxpayer identification number (TIN) of the substantial U.S.inthashCode()SubstantialUsOwnerRequestname(String name)voidsetAddress(String address)voidsetName(String name)voidsetTin(String tin)SubstantialUsOwnerRequesttin(String tin)StringtoJson()Convert an instance of SubstantialUsOwnerRequest 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 SubstantialUsOwnerRequest name(String name)
-
getName
@Nullable public String getName()
The name of the substantial U.S. owner of the NFFE.- Returns:
- name
-
setName
public void setName(String name)
-
address
public SubstantialUsOwnerRequest address(String address)
-
getAddress
@Nullable public String getAddress()
The address of the substantial U.S. owner of the NFFE.- Returns:
- address
-
setAddress
public void setAddress(String address)
-
tin
public SubstantialUsOwnerRequest tin(String tin)
-
getTin
@Nullable public String getTin()
The taxpayer identification number (TIN) of the substantial U.S. owner of the NFFE.- Returns:
- 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 SubstantialUsOwnerRequest
-
fromJson
public static SubstantialUsOwnerRequest fromJson(String jsonString) throws IOException
Create an instance of SubstantialUsOwnerRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SubstantialUsOwnerRequest
- Throws:
IOException- if the JSON string is invalid with respect to SubstantialUsOwnerRequest
-
toJson
public String toJson()
Convert an instance of SubstantialUsOwnerRequest to an JSON string- Returns:
- JSON string
-
-