Package Avalara.SDK.model.A1099.V2
Class OfferAndCoverage
- java.lang.Object
-
- Avalara.SDK.model.A1099.V2.OfferAndCoverage
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.7.0") public class OfferAndCoverage extends Object
Offer and coverage information for health coverage forms
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOfferAndCoverage.CustomTypeAdapterFactorystatic classOfferAndCoverage.MonthEnumMonth of coverage.static classOfferAndCoverage.OfferCodeEnumOffer of Coverage Code.static classOfferAndCoverage.SafeHarborCodeEnumSafe harbor code - Applicable Section 4980H Safe Harbor Code.
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_MONTHstatic StringSERIALIZED_NAME_OFFER_CODEstatic StringSERIALIZED_NAME_SAFE_HARBOR_CODEstatic StringSERIALIZED_NAME_SHAREstatic StringSERIALIZED_NAME_ZIP_CODE
-
Constructor Summary
Constructors Constructor Description OfferAndCoverage()OfferAndCoverage(Integer id)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static OfferAndCoveragefromJson(String jsonString)Create an instance of OfferAndCoverage given an JSON stringIntegergetId()IdOfferAndCoverage.MonthEnumgetMonth()Month of coverage.OfferAndCoverage.OfferCodeEnumgetOfferCode()Offer of Coverage Code.OfferAndCoverage.SafeHarborCodeEnumgetSafeHarborCode()Safe harbor code - Applicable Section 4980H Safe Harbor Code.DoublegetShare()Employee required contribution share - Employee Share of Lowest Cost Monthly Premium, for Self-Only Minimum Value Coverage - May not exceed 3499.99StringgetZipCode()ZIP/postal code.inthashCode()OfferAndCoveragemonth(OfferAndCoverage.MonthEnum month)OfferAndCoverageofferCode(OfferAndCoverage.OfferCodeEnum offerCode)OfferAndCoveragesafeHarborCode(OfferAndCoverage.SafeHarborCodeEnum safeHarborCode)voidsetMonth(OfferAndCoverage.MonthEnum month)voidsetOfferCode(OfferAndCoverage.OfferCodeEnum offerCode)voidsetSafeHarborCode(OfferAndCoverage.SafeHarborCodeEnum safeHarborCode)voidsetShare(Double share)voidsetZipCode(String zipCode)OfferAndCoverageshare(Double share)StringtoJson()Convert an instance of OfferAndCoverage to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues foundOfferAndCoveragezipCode(String zipCode)
-
-
-
Field Detail
-
SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MONTH
public static final String SERIALIZED_NAME_MONTH
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_OFFER_CODE
public static final String SERIALIZED_NAME_OFFER_CODE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SHARE
public static final String SERIALIZED_NAME_SHARE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SAFE_HARBOR_CODE
public static final String SERIALIZED_NAME_SAFE_HARBOR_CODE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ZIP_CODE
public static final String SERIALIZED_NAME_ZIP_CODE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OfferAndCoverage
public OfferAndCoverage()
-
OfferAndCoverage
public OfferAndCoverage(Integer id)
-
-
Method Detail
-
month
public OfferAndCoverage month(OfferAndCoverage.MonthEnum month)
-
getMonth
@Nullable public OfferAndCoverage.MonthEnum getMonth()
Month of coverage. Available values: - All: All months - January: January - February: February - March: March - April: April - May: May - June: June - July: July - August: August - September: September - October: October - November: November - December: December- Returns:
- month
-
setMonth
public void setMonth(OfferAndCoverage.MonthEnum month)
-
offerCode
public OfferAndCoverage offerCode(OfferAndCoverage.OfferCodeEnum offerCode)
-
getOfferCode
@Nullable public OfferAndCoverage.OfferCodeEnum getOfferCode()
Offer of Coverage Code. Required if Share has a value, including zero. Available values: Pre-ICHRA Codes (available before 2020): - 1A: Qualifying offer: minimum essential coverage providing minimum value offered to full-time employee with employee required contribution ≤ 9.5% (as adjusted) of mainland single federal poverty line and at least minimum essential coverage offered to spouse and dependent(s) - 1B: Minimum essential coverage providing minimum value offered to employee only - 1C: Minimum essential coverage providing minimum value offered to employee and at least minimum essential coverage offered to dependent(s) (not spouse) - 1D: Minimum essential coverage providing minimum value offered to employee and at least minimum essential coverage offered to spouse (not dependent(s)) - 1E: Minimum essential coverage providing minimum value offered to employee and at least minimum essential coverage offered to dependent(s) and spouse - 1F: Minimum essential coverage NOT providing minimum value offered to employee; employee and spouse or dependent(s); or employee, spouse, and dependents - 1G: Offer of coverage to an individual who was not an employee or not a full-time employee and who enrolled in self-insured coverage - 1H: No offer of coverage (employee not offered any health coverage or employee offered coverage that is not minimum essential coverage) - 1J: Minimum essential coverage providing minimum value offered to employee and at least minimum essential coverage conditionally offered to spouse; minimum essential coverage not offered to dependent(s) - 1K: Minimum essential coverage providing minimum value offered to employee; at least minimum essential coverage offered to dependents; and at least minimum essential coverage conditionally offered to spouse ICHRA Codes (introduced 2020, require ZIP code): - 1L: Individual coverage HRA offered to employee only - 1M: Individual coverage HRA offered to employee and dependent(s) (not spouse) - 1N: Individual coverage HRA offered to employee, spouse, and dependent(s) - 1O: Individual coverage HRA offered to employee only using employment site ZIP code affordability safe harbor - 1P: Individual coverage HRA offered to employee and dependent(s) (not spouse) using employment site ZIP code affordability safe harbor - 1Q: Individual coverage HRA offered to employee, spouse, and dependent(s) using employment site ZIP code affordability safe harbor - 1R: Individual coverage HRA that is NOT affordable - 1S: Individual coverage HRA offered to an individual who was not a full-time employee - 1T: Individual coverage HRA offered to employee and spouse (not dependents) - 1U: Individual coverage HRA offered to employee and spouse (not dependents) using employment site ZIP code affordability safe harbor Note: Codes 1B, 1C, 1D, 1E, 1J, 1K, 1L, 1M, 1N, 1O, 1P, 1Q, 1T, 1U require employee share amount (0.00 is a valid value).- Returns:
- offerCode
-
setOfferCode
public void setOfferCode(OfferAndCoverage.OfferCodeEnum offerCode)
-
share
public OfferAndCoverage share(Double share)
-
getShare
@Nullable public Double getShare()
Employee required contribution share - Employee Share of Lowest Cost Monthly Premium, for Self-Only Minimum Value Coverage - May not exceed 3499.99- Returns:
- share
-
setShare
public void setShare(Double share)
-
safeHarborCode
public OfferAndCoverage safeHarborCode(OfferAndCoverage.SafeHarborCodeEnum safeHarborCode)
-
getSafeHarborCode
@Nullable public OfferAndCoverage.SafeHarborCodeEnum getSafeHarborCode()
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- Returns:
- safeHarborCode
-
setSafeHarborCode
public void setSafeHarborCode(OfferAndCoverage.SafeHarborCodeEnum safeHarborCode)
-
zipCode
public OfferAndCoverage zipCode(String zipCode)
-
getZipCode
@Nullable public String getZipCode()
ZIP/postal code. For coverage area (optional, unless codes 1L to 1U are used).- Returns:
- zipCode
-
setZipCode
public void setZipCode(String zipCode)
-
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 OfferAndCoverage
-
fromJson
public static OfferAndCoverage fromJson(String jsonString) throws IOException
Create an instance of OfferAndCoverage given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of OfferAndCoverage
- Throws:
IOException- if the JSON string is invalid with respect to OfferAndCoverage
-
toJson
public String toJson()
Convert an instance of OfferAndCoverage to an JSON string- Returns:
- JSON string
-
-