Package Avalara.SDK.model.A1099.V2
Enum Form1042S.LobCodeEnum
- java.lang.Object
-
- java.lang.Enum<Form1042S.LobCodeEnum>
-
- Avalara.SDK.model.A1099.V2.Form1042S.LobCodeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<Form1042S.LobCodeEnum>
- Enclosing class:
- Form1042S
public static enum Form1042S.LobCodeEnum extends Enum<Form1042S.LobCodeEnum>
Limitation on Benefits (LOB) code for tax treaty purposes. Available values: - 01: Individual (Deprecated - valid only for tax years prior to 2019) - 02: Government - contracting state/political subdivision/local authority - 03: Tax exempt pension trust/Pension fund - 04: Tax exempt/Charitable organization - 05: Publicly-traded corporation - 06: Subsidiary of publicly-traded corporation - 07: Company that meets the ownership and base erosion test - 08: Company that meets the derivative benefits test - 09: Company with an item of income that meets the active trade or business test - 10: Discretionary determination - 11: Other - 12: No LOB article in treaty
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classForm1042S.LobCodeEnum.Adapter
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Form1042S.LobCodeEnumfromValue(String value)StringgetValue()StringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)static Form1042S.LobCodeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static Form1042S.LobCodeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
_01
public static final Form1042S.LobCodeEnum _01
-
_02
public static final Form1042S.LobCodeEnum _02
-
_03
public static final Form1042S.LobCodeEnum _03
-
_04
public static final Form1042S.LobCodeEnum _04
-
_05
public static final Form1042S.LobCodeEnum _05
-
_06
public static final Form1042S.LobCodeEnum _06
-
_07
public static final Form1042S.LobCodeEnum _07
-
_08
public static final Form1042S.LobCodeEnum _08
-
_09
public static final Form1042S.LobCodeEnum _09
-
_10
public static final Form1042S.LobCodeEnum _10
-
_11
public static final Form1042S.LobCodeEnum _11
-
_12
public static final Form1042S.LobCodeEnum _12
-
-
Method Detail
-
values
public static Form1042S.LobCodeEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Form1042S.LobCodeEnum c : Form1042S.LobCodeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Form1042S.LobCodeEnum valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<Form1042S.LobCodeEnum>
-
fromValue
public static Form1042S.LobCodeEnum fromValue(String value)
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException- Throws:
IOException
-
-