Class CommitMultiDocumentModel
java.lang.Object
net.avalara.avatax.rest.client.models.CommitMultiDocumentModel
public class CommitMultiDocumentModel
extends java.lang.Object
Commit this MultiDocument object so that all transactions within it can be reported on a tax filing.
-
Constructor Summary
Constructors Constructor Description CommitMultiDocumentModel()
-
Method Summary
Modifier and Type Method Description java.lang.String
getCode()
Getter for code Represents the unique code of this MultiDocument transaction.java.lang.Boolean
getCommit()
Getter for commit Set this value to be `true` to commit this transaction.DocumentType
getType()
Getter for type Represents the document type of this MultiDocument transaction.void
setCode(java.lang.String value)
Setter for code Represents the unique code of this MultiDocument transaction.void
setCommit(java.lang.Boolean value)
Setter for commit Set this value to be `true` to commit this transaction.void
setType(DocumentType value)
Setter for type Represents the document type of this MultiDocument transaction.java.lang.String
toString()
Returns a JSON string representation of CommitMultiDocumentModel
-
Constructor Details
-
CommitMultiDocumentModel
public CommitMultiDocumentModel()
-
-
Method Details
-
getCode
public java.lang.String 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
public void setCode(java.lang.String value)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
public java.lang.Boolean 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
public void setCommit(java.lang.Boolean value)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
public java.lang.String toString()Returns a JSON string representation of CommitMultiDocumentModel- Overrides:
toString
in classjava.lang.Object
-