Package Avalara.SDK.model.EInvoicing.V1
Class TaxIdentifierResponseValue
- java.lang.Object
-
- Avalara.SDK.model.EInvoicing.V1.TaxIdentifierResponseValue
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.7.0") public class TaxIdentifierResponseValue extends Object
TaxIdentifierResponseValue
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTaxIdentifierResponseValue.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_EXTENSIONSstatic StringSERIALIZED_NAME_IDENTIFIERstatic StringSERIALIZED_NAME_IDENTIFIER_TYPE
-
Constructor Summary
Constructors Constructor Description TaxIdentifierResponseValue()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)TaxIdentifierResponseValueextensions(Object extensions)static TaxIdentifierResponseValuefromJson(String jsonString)Create an instance of TaxIdentifierResponseValue given an JSON stringObjectgetExtensions()Optional field containing additional company-related information such as companyName, companyAddress, blockListed, tradeName, and taxPayerType.StringgetIdentifier()The tax identifier of the company.StringgetIdentifierType()Type of the identifier.inthashCode()TaxIdentifierResponseValueidentifier(String identifier)TaxIdentifierResponseValueidentifierType(String identifierType)voidsetExtensions(Object extensions)voidsetIdentifier(String identifier)voidsetIdentifierType(String identifierType)StringtoJson()Convert an instance of TaxIdentifierResponseValue to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_IDENTIFIER_TYPE
public static final String SERIALIZED_NAME_IDENTIFIER_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_IDENTIFIER
public static final String SERIALIZED_NAME_IDENTIFIER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EXTENSIONS
public static final String SERIALIZED_NAME_EXTENSIONS
- See Also:
- Constant Field Values
-
-
Method Detail
-
identifierType
public TaxIdentifierResponseValue identifierType(String identifierType)
-
getIdentifierType
@Nullable public String getIdentifierType()
Type of the identifier.- Returns:
- identifierType
-
setIdentifierType
public void setIdentifierType(String identifierType)
-
identifier
public TaxIdentifierResponseValue identifier(String identifier)
-
getIdentifier
@Nullable public String getIdentifier()
The tax identifier of the company.- Returns:
- identifier
-
setIdentifier
public void setIdentifier(String identifier)
-
extensions
public TaxIdentifierResponseValue extensions(Object extensions)
-
getExtensions
@Nullable public Object getExtensions()
Optional field containing additional company-related information such as companyName, companyAddress, blockListed, tradeName, and taxPayerType. It may also include other details specific to the given tax authority. Refer to the GET /tax-identifiers/schema API endpoint for the full response structure for a given country.- Returns:
- extensions
-
setExtensions
public void setExtensions(Object extensions)
-
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 TaxIdentifierResponseValue
-
fromJson
public static TaxIdentifierResponseValue fromJson(String jsonString) throws IOException
Create an instance of TaxIdentifierResponseValue given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TaxIdentifierResponseValue
- Throws:
IOException- if the JSON string is invalid with respect to TaxIdentifierResponseValue
-
toJson
public String toJson()
Convert an instance of TaxIdentifierResponseValue to an JSON string- Returns:
- JSON string
-
-