Class VerifyMultiDocumentModel

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

public class VerifyMultiDocumentModel extends Object
Verify that a MultiDocument object matches the information in your accounting system. If all attributes of the MultiDocument object match the values in your request, the MultiDocument object will be moved to the document status `Posted`. For more information on document status, see [DocumentStatus](https://developer.avalara.com/api-reference/avatax/rest/v2/models/enums/DocumentStatus/).
  • 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 type Represents the document type of this MultiDocument transaction.
    Getter for verifyTotalAmount Set this value if you wish to verify a match between `verifyTotalAmount` and the `totalAmount` value on the transaction recorded in AvaTax.
    Getter for verifyTotalTax Set this value if you wish to verify a match between `verifyTotalTax` and the `totalTax` value on the transaction recorded in AvaTax.
    Getter for verifyTransactionDate Set this value if you wish to verify a match between `verifyTransactionDate` and the `documentDate` value on the transaction recorded in AvaTax.
    void
    setCode(String value)
    Setter for code Represents the unique code of this MultiDocument transaction.
    void
    Setter for type Represents the document type of this MultiDocument transaction.
    void
    Setter for verifyTotalAmount Set this value if you wish to verify a match between `verifyTotalAmount` and the `totalAmount` value on the transaction recorded in AvaTax.
    void
    Setter for verifyTotalTax Set this value if you wish to verify a match between `verifyTotalTax` and the `totalTax` value on the transaction recorded in AvaTax.
    void
    Setter for verifyTransactionDate Set this value if you wish to verify a match between `verifyTransactionDate` and the `documentDate` value on the transaction recorded in AvaTax.
    Returns a JSON string representation of VerifyMultiDocumentModel

    Methods inherited from class java.lang.Object

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

    • VerifyMultiDocumentModel

      public VerifyMultiDocumentModel()
  • 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`.
    • getVerifyTransactionDate

      public Date getVerifyTransactionDate()
      Getter for verifyTransactionDate Set this value if you wish to verify a match between `verifyTransactionDate` and the `documentDate` value on the transaction recorded in AvaTax. If you leave this field empty, we will skip verification for this field.
    • setVerifyTransactionDate

      public void setVerifyTransactionDate(Date value)
      Setter for verifyTransactionDate Set this value if you wish to verify a match between `verifyTransactionDate` and the `documentDate` value on the transaction recorded in AvaTax. If you leave this field empty, we will skip verification for this field.
    • getVerifyTotalAmount

      public BigDecimal getVerifyTotalAmount()
      Getter for verifyTotalAmount Set this value if you wish to verify a match between `verifyTotalAmount` and the `totalAmount` value on the transaction recorded in AvaTax. If you leave this field empty, we will skip verification for this field.
    • setVerifyTotalAmount

      public void setVerifyTotalAmount(BigDecimal value)
      Setter for verifyTotalAmount Set this value if you wish to verify a match between `verifyTotalAmount` and the `totalAmount` value on the transaction recorded in AvaTax. If you leave this field empty, we will skip verification for this field.
    • getVerifyTotalTax

      public BigDecimal getVerifyTotalTax()
      Getter for verifyTotalTax Set this value if you wish to verify a match between `verifyTotalTax` and the `totalTax` value on the transaction recorded in AvaTax. If you leave this field empty, we will skip verification for this field.
    • setVerifyTotalTax

      public void setVerifyTotalTax(BigDecimal value)
      Setter for verifyTotalTax Set this value if you wish to verify a match between `verifyTotalTax` and the `totalTax` value on the transaction recorded in AvaTax. If you leave this field empty, we will skip verification for this field.
    • toString

      public String toString()
      Returns a JSON string representation of VerifyMultiDocumentModel
      Overrides:
      toString in class Object