Package Avalara.SDK.model.A1099.V2
Enum OfferAndCoverage.SafeHarborCodeEnum
- java.lang.Object
-
- java.lang.Enum<OfferAndCoverage.SafeHarborCodeEnum>
-
- Avalara.SDK.model.A1099.V2.OfferAndCoverage.SafeHarborCodeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<OfferAndCoverage.SafeHarborCodeEnum>
- Enclosing class:
- OfferAndCoverage
public static enum OfferAndCoverage.SafeHarborCodeEnum extends Enum<OfferAndCoverage.SafeHarborCodeEnum>
Safe harbor code - Applicable Section 4980H Safe Harbor Code. Available values: - 2A: Form W-2 safe harbor - 2B: Federal poverty line safe harbor - 2C: Rate of pay safe harbor - 2D: Part-time employee safe harbor for employees who were not full-time for any month of the year - 2E: Multiemployer interim rule relief - 2F: Qualifying offer method - 2G: Qualifying offer transition relief - 2H: Other affordability safe harbor
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOfferAndCoverage.SafeHarborCodeEnum.Adapter
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OfferAndCoverage.SafeHarborCodeEnumfromValue(String value)StringgetValue()StringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)static OfferAndCoverage.SafeHarborCodeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static OfferAndCoverage.SafeHarborCodeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
_2_A
public static final OfferAndCoverage.SafeHarborCodeEnum _2_A
-
_2_B
public static final OfferAndCoverage.SafeHarborCodeEnum _2_B
-
_2_C
public static final OfferAndCoverage.SafeHarborCodeEnum _2_C
-
_2_D
public static final OfferAndCoverage.SafeHarborCodeEnum _2_D
-
_2_E
public static final OfferAndCoverage.SafeHarborCodeEnum _2_E
-
_2_F
public static final OfferAndCoverage.SafeHarborCodeEnum _2_F
-
_2_G
public static final OfferAndCoverage.SafeHarborCodeEnum _2_G
-
_2_H
public static final OfferAndCoverage.SafeHarborCodeEnum _2_H
-
-
Method Detail
-
values
public static OfferAndCoverage.SafeHarborCodeEnum[] 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 (OfferAndCoverage.SafeHarborCodeEnum c : OfferAndCoverage.SafeHarborCodeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OfferAndCoverage.SafeHarborCodeEnum 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<OfferAndCoverage.SafeHarborCodeEnum>
-
fromValue
public static OfferAndCoverage.SafeHarborCodeEnum fromValue(String value)
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException- Throws:
IOException
-
-