Package Avalara.SDK.model.A1099.V2
Class SubstantialUsOwnerResponse
- java.lang.Object
-
- Avalara.SDK.model.A1099.V2.SubstantialUsOwnerResponse
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.7.0") public class SubstantialUsOwnerResponse extends Object
SubstantialUsOwnerResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSubstantialUsOwnerResponse.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 SubstantialUsOwnerResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SubstantialUsOwnerResponseaddress(String address)booleanequals(Object o)static SubstantialUsOwnerResponsefromJson(String jsonString)Create an instance of SubstantialUsOwnerResponse 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()SubstantialUsOwnerResponsename(String name)voidsetAddress(String address)voidsetName(String name)voidsetTin(String tin)SubstantialUsOwnerResponsetin(String tin)StringtoJson()Convert an instance of SubstantialUsOwnerResponse 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 SubstantialUsOwnerResponse 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 SubstantialUsOwnerResponse 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 SubstantialUsOwnerResponse 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 SubstantialUsOwnerResponse
-
fromJson
public static SubstantialUsOwnerResponse fromJson(String jsonString) throws IOException
Create an instance of SubstantialUsOwnerResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SubstantialUsOwnerResponse
- Throws:
IOException- if the JSON string is invalid with respect to SubstantialUsOwnerResponse
-
toJson
public String toJson()
Convert an instance of SubstantialUsOwnerResponse to an JSON string- Returns:
- JSON string
-
-