Class CommitMultiDocumentModel

java.lang.Object
net.avalara.avatax.rest.client.models.CommitMultiDocumentModel

public class CommitMultiDocumentModel extends Object
Commit this MultiDocument object so that all transactions within it can be reported on a tax filing.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Getter for code Represents the unique code of this MultiDocument transaction.
    Getter for commit Set this value to be `true` to commit this transaction.
    Getter for type Represents the document type of this MultiDocument transaction.
    void
    setCode(String value)
    Setter for code Represents the unique code of this MultiDocument transaction.
    void
    Setter for commit Set this value to be `true` to commit this transaction.
    void
    Setter for type Represents the document type of this MultiDocument transaction.
    Returns a JSON string representation of CommitMultiDocumentModel

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • CommitMultiDocumentModel

      public CommitMultiDocumentModel()
  • Method Details

    • getCode

      public 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(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

      public DocumentType 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

      public void setType(DocumentType value)
      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 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(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 String toString()
      Returns a JSON string representation of CommitMultiDocumentModel
      Overrides:
      toString in class Object