Package Avalara.SDK.model.A1099.V2
Class IntermediaryOrFlowThrough
- java.lang.Object
-
- Avalara.SDK.model.A1099.V2.IntermediaryOrFlowThrough
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.7.0") public class IntermediaryOrFlowThrough extends Object
Intermediary or flow-through entity information for tax forms
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIntermediaryOrFlowThrough.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_ADDRESSstatic StringSERIALIZED_NAME_CHAP3_STATUS_CODEstatic StringSERIALIZED_NAME_CHAP4_STATUS_CODEstatic StringSERIALIZED_NAME_CITYstatic StringSERIALIZED_NAME_COUNTRY_CODEstatic StringSERIALIZED_NAME_EINstatic StringSERIALIZED_NAME_FOREIGN_TINstatic StringSERIALIZED_NAME_GIINstatic StringSERIALIZED_NAME_NAMEstatic StringSERIALIZED_NAME_STATEstatic StringSERIALIZED_NAME_ZIP
-
Constructor Summary
Constructors Constructor Description IntermediaryOrFlowThrough()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IntermediaryOrFlowThroughaddress(String address)IntermediaryOrFlowThroughchap3StatusCode(String chap3StatusCode)IntermediaryOrFlowThroughchap4StatusCode(String chap4StatusCode)IntermediaryOrFlowThroughcity(String city)IntermediaryOrFlowThroughcountryCode(String countryCode)IntermediaryOrFlowThroughein(String ein)booleanequals(Object o)IntermediaryOrFlowThroughforeignTin(String foreignTin)static IntermediaryOrFlowThroughfromJson(String jsonString)Create an instance of IntermediaryOrFlowThrough given an JSON stringStringgetAddress()Address of the intermediary or flow-through entityStringgetChap3StatusCode()Chapter 3 status code for the intermediary or flow-through entityStringgetChap4StatusCode()Chapter 4 status code for the intermediary or flow-through entityStringgetCity()City of the intermediary or flow-through entityStringgetCountryCode()Country code for the intermediary or flow-through entityStringgetEin()EIN (Employer Identification Number) of the intermediary or flow-through entityStringgetForeignTin()Foreign TIN of the intermediary or flow-through entityStringgetGiin()GIIN (Global Intermediary Identification Number) of the intermediary or flow-through entityStringgetName()Name of the intermediary or flow-through entityStringgetState()State of the intermediary or flow-through entityStringgetZip()Zip code of the intermediary or flow-through entityIntermediaryOrFlowThroughgiin(String giin)inthashCode()IntermediaryOrFlowThroughname(String name)voidsetAddress(String address)voidsetChap3StatusCode(String chap3StatusCode)voidsetChap4StatusCode(String chap4StatusCode)voidsetCity(String city)voidsetCountryCode(String countryCode)voidsetEin(String ein)voidsetForeignTin(String foreignTin)voidsetGiin(String giin)voidsetName(String name)voidsetState(String state)voidsetZip(String zip)IntermediaryOrFlowThroughstate(String state)StringtoJson()Convert an instance of IntermediaryOrFlowThrough to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues foundIntermediaryOrFlowThroughzip(String zip)
-
-
-
Field Detail
-
SERIALIZED_NAME_EIN
public static final String SERIALIZED_NAME_EIN
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CHAP3_STATUS_CODE
public static final String SERIALIZED_NAME_CHAP3_STATUS_CODE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CHAP4_STATUS_CODE
public static final String SERIALIZED_NAME_CHAP4_STATUS_CODE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_GIIN
public static final String SERIALIZED_NAME_GIIN
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_COUNTRY_CODE
public static final String SERIALIZED_NAME_COUNTRY_CODE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FOREIGN_TIN
public static final String SERIALIZED_NAME_FOREIGN_TIN
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ADDRESS
public static final String SERIALIZED_NAME_ADDRESS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CITY
public static final String SERIALIZED_NAME_CITY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_STATE
public static final String SERIALIZED_NAME_STATE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ZIP
public static final String SERIALIZED_NAME_ZIP
- See Also:
- Constant Field Values
-
-
Method Detail
-
ein
public IntermediaryOrFlowThrough ein(String ein)
-
getEin
@Nullable public String getEin()
EIN (Employer Identification Number) of the intermediary or flow-through entity- Returns:
- ein
-
setEin
public void setEin(String ein)
-
chap3StatusCode
public IntermediaryOrFlowThrough chap3StatusCode(String chap3StatusCode)
-
getChap3StatusCode
@Nullable public String getChap3StatusCode()
Chapter 3 status code for the intermediary or flow-through entity- Returns:
- chap3StatusCode
-
setChap3StatusCode
public void setChap3StatusCode(String chap3StatusCode)
-
chap4StatusCode
public IntermediaryOrFlowThrough chap4StatusCode(String chap4StatusCode)
-
getChap4StatusCode
@Nullable public String getChap4StatusCode()
Chapter 4 status code for the intermediary or flow-through entity- Returns:
- chap4StatusCode
-
setChap4StatusCode
public void setChap4StatusCode(String chap4StatusCode)
-
name
public IntermediaryOrFlowThrough name(String name)
-
getName
@Nullable public String getName()
Name of the intermediary or flow-through entity- Returns:
- name
-
setName
public void setName(String name)
-
giin
public IntermediaryOrFlowThrough giin(String giin)
-
getGiin
@Nullable public String getGiin()
GIIN (Global Intermediary Identification Number) of the intermediary or flow-through entity- Returns:
- giin
-
setGiin
public void setGiin(String giin)
-
countryCode
public IntermediaryOrFlowThrough countryCode(String countryCode)
-
getCountryCode
@Nullable public String getCountryCode()
Country code for the intermediary or flow-through entity- Returns:
- countryCode
-
setCountryCode
public void setCountryCode(String countryCode)
-
foreignTin
public IntermediaryOrFlowThrough foreignTin(String foreignTin)
-
getForeignTin
@Nullable public String getForeignTin()
Foreign TIN of the intermediary or flow-through entity- Returns:
- foreignTin
-
setForeignTin
public void setForeignTin(String foreignTin)
-
address
public IntermediaryOrFlowThrough address(String address)
-
getAddress
@Nullable public String getAddress()
Address of the intermediary or flow-through entity- Returns:
- address
-
setAddress
public void setAddress(String address)
-
city
public IntermediaryOrFlowThrough city(String city)
-
getCity
@Nullable public String getCity()
City of the intermediary or flow-through entity- Returns:
- city
-
setCity
public void setCity(String city)
-
state
public IntermediaryOrFlowThrough state(String state)
-
getState
@Nullable public String getState()
State of the intermediary or flow-through entity- Returns:
- state
-
setState
public void setState(String state)
-
zip
public IntermediaryOrFlowThrough zip(String zip)
-
getZip
@Nullable public String getZip()
Zip code of the intermediary or flow-through entity- Returns:
- zip
-
setZip
public void setZip(String zip)
-
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 IntermediaryOrFlowThrough
-
fromJson
public static IntermediaryOrFlowThrough fromJson(String jsonString) throws IOException
Create an instance of IntermediaryOrFlowThrough given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of IntermediaryOrFlowThrough
- Throws:
IOException- if the JSON string is invalid with respect to IntermediaryOrFlowThrough
-
toJson
public String toJson()
Convert an instance of IntermediaryOrFlowThrough to an JSON string- Returns:
- JSON string
-
-