Package unit.java.sdk.model
Class TaxForm
- java.lang.Object
-
- unit.java.sdk.model.TaxForm
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.9.0") public class TaxForm extends java.lang.ObjectTaxForm
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTaxForm.TypeEnumGets or Sets type
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringJSON_PROPERTY_ATTRIBUTESstatic java.lang.StringJSON_PROPERTY_IDstatic java.lang.StringJSON_PROPERTY_RELATIONSHIPSstatic java.lang.StringJSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description TaxForm()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TaxFormattributes(TaxFormAttributes attributes)booleanequals(java.lang.Object o)Return true if this TaxForm object is equal to o.TaxFormAttributesgetAttributes()Get attributesjava.lang.StringgetId()Get idTaxFormRelationshipsgetRelationships()Get relationshipsTaxForm.TypeEnumgetType()Get typeinthashCode()TaxFormid(java.lang.String id)TaxFormrelationships(TaxFormRelationships relationships)voidsetAttributes(TaxFormAttributes attributes)voidsetId(java.lang.String id)voidsetRelationships(TaxFormRelationships relationships)voidsetType(TaxForm.TypeEnum type)java.lang.StringtoString()java.lang.StringtoUrlQueryString()Convert the instance into URL query string.java.lang.StringtoUrlQueryString(java.lang.String prefix)Convert the instance into URL query string.TaxFormtype(TaxForm.TypeEnum type)
-
-
-
Field Detail
-
JSON_PROPERTY_TYPE
public static final java.lang.String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ID
public static final java.lang.String JSON_PROPERTY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ATTRIBUTES
public static final java.lang.String JSON_PROPERTY_ATTRIBUTES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RELATIONSHIPS
public static final java.lang.String JSON_PROPERTY_RELATIONSHIPS
- See Also:
- Constant Field Values
-
-
Method Detail
-
type
public TaxForm type(TaxForm.TypeEnum type)
-
getType
@Nonnull public TaxForm.TypeEnum getType()
Get type- Returns:
- type
-
setType
public void setType(TaxForm.TypeEnum type)
-
id
public TaxForm id(java.lang.String id)
-
getId
@Nonnull public java.lang.String getId()
Get id- Returns:
- id
-
setId
public void setId(java.lang.String id)
-
attributes
public TaxForm attributes(TaxFormAttributes attributes)
-
getAttributes
@Nonnull public TaxFormAttributes getAttributes()
Get attributes- Returns:
- attributes
-
setAttributes
public void setAttributes(TaxFormAttributes attributes)
-
relationships
public TaxForm relationships(TaxFormRelationships relationships)
-
getRelationships
@Nullable public TaxFormRelationships getRelationships()
Get relationships- Returns:
- relationships
-
setRelationships
public void setRelationships(TaxFormRelationships relationships)
-
equals
public boolean equals(java.lang.Object o)
Return true if this TaxForm object is equal to o.- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
toUrlQueryString
public java.lang.String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
public java.lang.String toUrlQueryString(java.lang.String prefix)
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-
-