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.Chap3StatusCodeEnumChapter 3 status code for the intermediary or flow-through entity.static classIntermediaryOrFlowThrough.Chap4StatusCodeEnumChapter 4 status code for the intermediary or flow-through entity.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(IntermediaryOrFlowThrough.Chap3StatusCodeEnum chap3StatusCode)IntermediaryOrFlowThroughchap4StatusCode(IntermediaryOrFlowThrough.Chap4StatusCodeEnum 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 entityIntermediaryOrFlowThrough.Chap3StatusCodeEnumgetChap3StatusCode()Chapter 3 status code for the intermediary or flow-through entity.IntermediaryOrFlowThrough.Chap4StatusCodeEnumgetChap4StatusCode()Chapter 4 status code for the intermediary or flow-through entity.StringgetCity()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(IntermediaryOrFlowThrough.Chap3StatusCodeEnum chap3StatusCode)voidsetChap4StatusCode(IntermediaryOrFlowThrough.Chap4StatusCodeEnum 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(IntermediaryOrFlowThrough.Chap3StatusCodeEnum chap3StatusCode)
-
getChap3StatusCode
@Nullable public IntermediaryOrFlowThrough.Chap3StatusCodeEnum getChap3StatusCode()
Chapter 3 status code for the intermediary or flow-through entity. Available values: - 01: U.S. Withholding Agent - FI (Deprecated - valid only for tax years prior to 2020) - 02: U.S. Withholding Agent - Other (Deprecated - valid only for tax years prior to 2020) - 03: Territory FI - treated as U.S. Person - 04: Territory FI - not treated as U.S. Person - 05: U.S. branch - treated as U.S. Person - 06: U.S. branch - not treated as U.S. Person - 07: U.S. branch - ECI presumption applied - 08: Partnership other than Withholding Foreign Partnership - 09: Withholding Foreign Partnership - 10: Trust other than Withholding Foreign Trust - 11: Withholding Foreign Trust - 12: Qualified Intermediary - 13: Qualified Securities Lender - Qualified Intermediary - 14: Qualified Securities Lender - Other - 15: Corporation - 16: Individual - 17: Estate - 18: Private Foundation - 19: Government or International Organization - 20: Tax Exempt Organization (Section 501(c) entities) - 21: Unknown Recipient - 22: Artist or Athlete - 23: Pension - 24: Foreign Central Bank of Issue - 25: Nonqualified Intermediary - 26: Hybrid entity making Treaty Claim - 27: Withholding Rate Pool - General - 28: Withholding Rate Pool - Exempt Organization - 29: PAI Withholding Rate Pool - General - 30: PAI Withholding Rate Pool - Exempt Organization - 31: Agency Withholding Rate Pool - General - 32: Agency Withholding Rate Pool - Exempt Organization - 34: U.S. Withholding Agent-Foreign branch of FI (Deprecated - valid only for tax years prior to 2020) - 35: Qualified Derivatives Dealer - 36: Foreign Government - Integral Part - 37: Foreign Government - Controlled Entity - 38: Publicly Traded Partnership - 39: Disclosing Qualified Intermediary- Returns:
- chap3StatusCode
-
setChap3StatusCode
public void setChap3StatusCode(IntermediaryOrFlowThrough.Chap3StatusCodeEnum chap3StatusCode)
-
chap4StatusCode
public IntermediaryOrFlowThrough chap4StatusCode(IntermediaryOrFlowThrough.Chap4StatusCodeEnum chap4StatusCode)
-
getChap4StatusCode
@Nullable public IntermediaryOrFlowThrough.Chap4StatusCodeEnum getChap4StatusCode()
Chapter 4 status code for the intermediary or flow-through entity. Available values: - 01: U.S. Withholding Agent - FI - 02: U.S. Withholding Agent - Other - 03: Territory FI - not treated as U.S. Person - 04: Territory FI - treated as U.S. Person - 05: Participating FFI - Other - 06: Participating FFI - Reporting Model 2 FFI - 07: Registered Deemed - Compliant FFI-Reporting Model 1 FFI - 08: Registered Deemed - Compliant FFI-Sponsored Entity - 09: Registered Deemed - Compliant FFI-Other - 10: Certified Deemed - Compliant FFI-Other - 11: Certified Deemed - Compliant FFI-FFI with Low Value Accounts - 12: Certified Deemed - Compliant FFI-Non-Registering Local Bank - 13: Certified Deemed - Compliant FFI-Sponsored Entity - 14: Certified Deemed - Compliant FFI-Investment Advisor or Investment Manager - 15: Nonparticipating FFI - 16: Owner-Documented FFI - 17: U.S. Branch - treated as U.S. person - 18: U.S. Branch - not treated as U.S. person (reporting under section 1471) - 19: Passive NFFE identifying Substantial U.S. Owners - 20: Passive NFFE with no Substantial U.S. Owners - 21: Publicly Traded NFFE or Affiliate of Publicly Traded NFFE - 22: Active NFFE - 23: Individual - 24: Section 501(c) Entities - 25: Excepted Territory NFFE - 26: Excepted NFFE - Other - 27: Exempt Beneficial Owner - 28: Entity Wholly Owned by Exempt Beneficial Owners - 29: Unknown Recipient - 30: Recalcitrant Account Holder - 31: Nonreporting IGA FFI - 32: Direct reporting NFFE - 33: U.S. reportable account - 34: Non-consenting U.S. account - 35: Sponsored direct reporting NFFE - 36: Excepted Inter-affiliate FFI - 37: Undocumented Preexisting Obligation - 38: U.S. Branch - ECI presumption applied - 39: Account Holder of Excluded Financial Account - 40: Passive NFFE reported by FFI - 41: NFFE subject to 1472 withholding - 42: Recalcitrant Pool - No U.S. Indicia - 43: Recalcitrant Pool - U.S. Indicia - 44: Recalcitrant Pool - Dormant Account - 45: Recalcitrant Pool - U.S. Persons - 46: Recalcitrant Pool - Passive NFFEs - 47: Nonparticipating FFI Pool - 48: U.S. Payees Pool - 49: QI - Recalcitrant Pool-General - 50: U.S. Withholding Agent-Foreign branch of FI- Returns:
- chap4StatusCode
-
setChap4StatusCode
public void setChap4StatusCode(IntermediaryOrFlowThrough.Chap4StatusCodeEnum 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
-
-