Class CommitMultiDocumentModel
java.lang.Object
net.avalara.avatax.rest.client.models.CommitMultiDocumentModel
Commit this MultiDocument object so that all transactions within it can be reported on a tax filing.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCode()Getter for code Represents the unique code of this MultiDocument transaction.Getter for commit Set this value to be `true` to commit this transaction.getType()Getter for type Represents the document type of this MultiDocument transaction.voidSetter for code Represents the unique code of this MultiDocument transaction.voidSetter for commit Set this value to be `true` to commit this transaction.voidsetType(DocumentType value) Setter for type Represents the document type of this MultiDocument transaction.toString()Returns a JSON string representation of CommitMultiDocumentModel
-
Constructor Details
-
CommitMultiDocumentModel
public CommitMultiDocumentModel()
-
-
Method Details
-
getCode
Getter for code Represents the unique code of this MultiDocument transaction. A MultiDocument transaction is uniquely identified by its `accountId`, `code`, and `type`. /// -
setCode
Setter for code Represents the unique code of this MultiDocument transaction. A MultiDocument transaction is uniquely identified by its `accountId`, `code`, and `type`. /// -
getType
Getter for type Represents the document type of this MultiDocument transaction. For more information about document types, see [DocumentType](https://developer.avalara.com/api-reference/avatax/rest/v2/models/enums/DocumentType/). A MultiDocument transaction is uniquely identified by its `accountId`, `code`, and `type`. -
setType
Setter for type Represents the document type of this MultiDocument transaction. For more information about document types, see [DocumentType](https://developer.avalara.com/api-reference/avatax/rest/v2/models/enums/DocumentType/). A MultiDocument transaction is uniquely identified by its `accountId`, `code`, and `type`. -
getCommit
Getter for commit Set this value to be `true` to commit this transaction. Committing a transaction allows it to be reported on a tax filing. Uncommitted transactions will not be reported. -
setCommit
Setter for commit Set this value to be `true` to commit this transaction. Committing a transaction allows it to be reported on a tax filing. Uncommitted transactions will not be reported. -
toString
Returns a JSON string representation of CommitMultiDocumentModel
-