Package Avalara.SDK.model.EInvoicing.V1
Class DocumentSummary
- java.lang.Object
-
- Avalara.SDK.model.EInvoicing.V1.DocumentSummary
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.7.0") public class DocumentSummary extends Object
Displays a summary of information about the document
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDocumentSummary.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_COMPANY_IDstatic StringSERIALIZED_NAME_COUNTRY_CODEstatic StringSERIALIZED_NAME_COUNTRY_MANDATEstatic StringSERIALIZED_NAME_CUSTOMER_NAMEstatic StringSERIALIZED_NAME_DOCUMENT_DATEstatic StringSERIALIZED_NAME_DOCUMENT_NUMBERstatic StringSERIALIZED_NAME_DOCUMENT_TYPEstatic StringSERIALIZED_NAME_DOCUMENT_VERSIONstatic StringSERIALIZED_NAME_FLOWstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_INTERFACEstatic StringSERIALIZED_NAME_PROCESS_DATE_TIMEstatic StringSERIALIZED_NAME_RECEIVERstatic StringSERIALIZED_NAME_STATUSstatic StringSERIALIZED_NAME_SUPPLIER_NAME
-
Constructor Summary
Constructors Constructor Description DocumentSummary()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentSummary_interface(String _interface)DocumentSummarycompanyId(String companyId)DocumentSummarycountryCode(String countryCode)DocumentSummarycountryMandate(String countryMandate)DocumentSummarycustomerName(String customerName)DocumentSummarydocumentDate(String documentDate)DocumentSummarydocumentNumber(String documentNumber)DocumentSummarydocumentType(String documentType)DocumentSummarydocumentVersion(String documentVersion)booleanequals(Object o)DocumentSummaryflow(String flow)static DocumentSummaryfromJson(String jsonString)Create an instance of DocumentSummary given an JSON stringStringgetCompanyId()Unique identifier that represents the company within the system.StringgetCountryCode()The two-letter ISO-3166 country code for the country where the document is being submittedStringgetCountryMandate()The e-invoicing mandate for the specified countryStringgetCustomerName()The name of the customer in the transactionStringgetDocumentDate()The document issue dateStringgetDocumentNumber()The document numberStringgetDocumentType()The document typeStringgetDocumentVersion()The document versionStringgetFlow()The document direction, where issued = `out` and received = `in`StringgetId()The unique ID for this documentStringgetInterface()The interface where the document is sentStringgetProcessDateTime()The date and time when the document was processed, displayed in the format YYYY-MM-DDThh:mm:ssStringgetReceiver()The document recipient based on the interfaceStringgetStatus()The Document statusStringgetSupplierName()The name of the supplier in the transactioninthashCode()DocumentSummaryid(String id)DocumentSummaryprocessDateTime(String processDateTime)DocumentSummaryreceiver(String receiver)voidsetCompanyId(String companyId)voidsetCountryCode(String countryCode)voidsetCountryMandate(String countryMandate)voidsetCustomerName(String customerName)voidsetDocumentDate(String documentDate)voidsetDocumentNumber(String documentNumber)voidsetDocumentType(String documentType)voidsetDocumentVersion(String documentVersion)voidsetFlow(String flow)voidsetId(String id)voidsetInterface(String _interface)voidsetProcessDateTime(String processDateTime)voidsetReceiver(String receiver)voidsetStatus(String status)voidsetSupplierName(String supplierName)DocumentSummarystatus(String status)DocumentSummarysupplierName(String supplierName)StringtoJson()Convert an instance of DocumentSummary 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_ID
public static final String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_COMPANY_ID
public static final String SERIALIZED_NAME_COMPANY_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PROCESS_DATE_TIME
public static final String SERIALIZED_NAME_PROCESS_DATE_TIME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_STATUS
public static final String SERIALIZED_NAME_STATUS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SUPPLIER_NAME
public static final String SERIALIZED_NAME_SUPPLIER_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CUSTOMER_NAME
public static final String SERIALIZED_NAME_CUSTOMER_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DOCUMENT_TYPE
public static final String SERIALIZED_NAME_DOCUMENT_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DOCUMENT_VERSION
public static final String SERIALIZED_NAME_DOCUMENT_VERSION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DOCUMENT_NUMBER
public static final String SERIALIZED_NAME_DOCUMENT_NUMBER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DOCUMENT_DATE
public static final String SERIALIZED_NAME_DOCUMENT_DATE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FLOW
public static final String SERIALIZED_NAME_FLOW
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_COUNTRY_CODE
public static final String SERIALIZED_NAME_COUNTRY_CODE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_COUNTRY_MANDATE
public static final String SERIALIZED_NAME_COUNTRY_MANDATE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_INTERFACE
public static final String SERIALIZED_NAME_INTERFACE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_RECEIVER
public static final String SERIALIZED_NAME_RECEIVER
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public DocumentSummary id(String id)
-
setId
public void setId(String id)
-
companyId
public DocumentSummary companyId(String companyId)
-
getCompanyId
@Nullable public String getCompanyId()
Unique identifier that represents the company within the system.- Returns:
- companyId
-
setCompanyId
public void setCompanyId(String companyId)
-
processDateTime
public DocumentSummary processDateTime(String processDateTime)
-
getProcessDateTime
@Nullable public String getProcessDateTime()
The date and time when the document was processed, displayed in the format YYYY-MM-DDThh:mm:ss- Returns:
- processDateTime
-
setProcessDateTime
public void setProcessDateTime(String processDateTime)
-
status
public DocumentSummary status(String status)
-
setStatus
public void setStatus(String status)
-
supplierName
public DocumentSummary supplierName(String supplierName)
-
getSupplierName
@Nullable public String getSupplierName()
The name of the supplier in the transaction- Returns:
- supplierName
-
setSupplierName
public void setSupplierName(String supplierName)
-
customerName
public DocumentSummary customerName(String customerName)
-
getCustomerName
@Nullable public String getCustomerName()
The name of the customer in the transaction- Returns:
- customerName
-
setCustomerName
public void setCustomerName(String customerName)
-
documentType
public DocumentSummary documentType(String documentType)
-
setDocumentType
public void setDocumentType(String documentType)
-
documentVersion
public DocumentSummary documentVersion(String documentVersion)
-
getDocumentVersion
@Nullable public String getDocumentVersion()
The document version- Returns:
- documentVersion
-
setDocumentVersion
public void setDocumentVersion(String documentVersion)
-
documentNumber
public DocumentSummary documentNumber(String documentNumber)
-
getDocumentNumber
@Nullable public String getDocumentNumber()
The document number- Returns:
- documentNumber
-
setDocumentNumber
public void setDocumentNumber(String documentNumber)
-
documentDate
public DocumentSummary documentDate(String documentDate)
-
getDocumentDate
@Nullable public String getDocumentDate()
The document issue date- Returns:
- documentDate
-
setDocumentDate
public void setDocumentDate(String documentDate)
-
flow
public DocumentSummary flow(String flow)
-
getFlow
@Nullable public String getFlow()
The document direction, where issued = `out` and received = `in`- Returns:
- flow
-
setFlow
public void setFlow(String flow)
-
countryCode
public DocumentSummary countryCode(String countryCode)
-
getCountryCode
@Nullable public String getCountryCode()
The two-letter ISO-3166 country code for the country where the document is being submitted- Returns:
- countryCode
-
setCountryCode
public void setCountryCode(String countryCode)
-
countryMandate
public DocumentSummary countryMandate(String countryMandate)
-
getCountryMandate
@Nullable public String getCountryMandate()
The e-invoicing mandate for the specified country- Returns:
- countryMandate
-
setCountryMandate
public void setCountryMandate(String countryMandate)
-
_interface
public DocumentSummary _interface(String _interface)
-
getInterface
@Nullable public String getInterface()
The interface where the document is sent- Returns:
- _interface
-
setInterface
public void setInterface(String _interface)
-
receiver
public DocumentSummary receiver(String receiver)
-
getReceiver
@Nullable public String getReceiver()
The document recipient based on the interface- Returns:
- receiver
-
setReceiver
public void setReceiver(String receiver)
-
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 DocumentSummary
-
fromJson
public static DocumentSummary fromJson(String jsonString) throws IOException
Create an instance of DocumentSummary given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of DocumentSummary
- Throws:
IOException- if the JSON string is invalid with respect to DocumentSummary
-
toJson
public String toJson()
Convert an instance of DocumentSummary to an JSON string- Returns:
- JSON string
-
-