Class MultiDocumentModel
java.lang.Object
net.avalara.avatax.rest.client.models.MultiDocumentModel
A MultiDocument transaction represents a sale or purchase that occurred between more than two companies.
A traditional transaction requires exactly two parties: a seller and a buyer. MultiDocument transactions can
involve a marketplace of vendors, each of which contributes some portion of the final transaction. Within
a MultiDocument transaction, each individual buyer and seller pair are matched up and converted to a separate
document. This separation of documents allows each seller to file their taxes separately.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for accountId The unique ID number of the AvaTax customer account that created this MultiDocument object.getCode()
Getter for code The transaction code of the MultiDocument transaction.Getter for createdDate The date/time when this record was created.Getter for createdUserId The user ID of the user who created this record.Getter for documents A separate document will exist for each unique combination of buyer and seller in this MultiDocument transaction.getId()
Getter for id The unique ID number of this MultiDocument object.Getter for modifiedDate The date/time when this record was last modified.Getter for modifiedUserId The user ID of the user who last modified this record.getType()
Getter for type Indicates the type of MultiDocument transaction.void
setAccountId
(Integer value) Setter for accountId The unique ID number of the AvaTax customer account that created this MultiDocument object.void
Setter for code The transaction code of the MultiDocument transaction.void
setCreatedDate
(Date value) Setter for createdDate The date/time when this record was created.void
setCreatedUserId
(Integer value) Setter for createdUserId The user ID of the user who created this record.void
setDocuments
(ArrayList<TransactionModel> value) Setter for documents A separate document will exist for each unique combination of buyer and seller in this MultiDocument transaction.void
Setter for id The unique ID number of this MultiDocument object.void
setModifiedDate
(Date value) Setter for modifiedDate The date/time when this record was last modified.void
setModifiedUserId
(Integer value) Setter for modifiedUserId The user ID of the user who last modified this record.void
setType
(DocumentType value) Setter for type Indicates the type of MultiDocument transaction.toString()
Returns a JSON string representation of MultiDocumentModel
-
Constructor Details
-
MultiDocumentModel
public MultiDocumentModel()
-
-
Method Details
-
getId
Getter for id The unique ID number of this MultiDocument object. -
setId
Setter for id The unique ID number of this MultiDocument object. -
getAccountId
Getter for accountId The unique ID number of the AvaTax customer account that created this MultiDocument object. -
setAccountId
Setter for accountId The unique ID number of the AvaTax customer account that created this MultiDocument object. -
getCode
Getter for code The transaction code of the MultiDocument transaction. All individual transactions within this MultiDocument object will have this code as a prefix. -
setCode
Setter for code The transaction code of the MultiDocument transaction. All individual transactions within this MultiDocument object will have this code as a prefix. -
getType
Getter for type Indicates the type of MultiDocument transaction. Common values are: * SalesOrder - An estimate that is not permanently recorded * SalesInvoice - An invoice that can be reported on a tax return For more information about document types, see [DocumentType](https://developer.avalara.com/api-reference/avatax/rest/v2/models/enums/DocumentType/) -
setType
Setter for type Indicates the type of MultiDocument transaction. Common values are: * SalesOrder - An estimate that is not permanently recorded * SalesInvoice - An invoice that can be reported on a tax return For more information about document types, see [DocumentType](https://developer.avalara.com/api-reference/avatax/rest/v2/models/enums/DocumentType/) -
getCreatedUserId
Getter for createdUserId The user ID of the user who created this record. -
setCreatedUserId
Setter for createdUserId The user ID of the user who created this record. -
getCreatedDate
Getter for createdDate The date/time when this record was created. -
setCreatedDate
Setter for createdDate The date/time when this record was created. -
getModifiedDate
Getter for modifiedDate The date/time when this record was last modified. -
setModifiedDate
Setter for modifiedDate The date/time when this record was last modified. -
getModifiedUserId
Getter for modifiedUserId The user ID of the user who last modified this record. -
setModifiedUserId
Setter for modifiedUserId The user ID of the user who last modified this record. -
getDocuments
Getter for documents A separate document will exist for each unique combination of buyer and seller in this MultiDocument transaction. -
setDocuments
Setter for documents A separate document will exist for each unique combination of buyer and seller in this MultiDocument transaction. -
toString
Returns a JSON string representation of MultiDocumentModel
-