Class VerifyMultiDocumentModel

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

public class VerifyMultiDocumentModel
extends java.lang.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
    VerifyMultiDocumentModel()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getCode()
    Getter for code Represents the unique code of this MultiDocument transaction.
    DocumentType getType()
    Getter for type Represents the document type of this MultiDocument transaction.
    java.math.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.
    java.math.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.
    java.util.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.
    void setCode​(java.lang.String value)
    Setter for code Represents the unique code of this MultiDocument transaction.
    void setType​(DocumentType value)
    Setter for type Represents the document type of this MultiDocument transaction.
    void setVerifyTotalAmount​(java.math.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.
    void setVerifyTotalTax​(java.math.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.
    void setVerifyTransactionDate​(java.util.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.
    java.lang.String toString()
    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

  • 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

      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 java.util.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​(java.util.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 java.math.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​(java.math.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 java.math.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​(java.math.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 java.lang.String toString()
      Returns a JSON string representation of VerifyMultiDocumentModel
      Overrides:
      toString in class java.lang.Object