Class VerifyTransactionModel
- java.lang.Object
-
- net.avalara.avatax.rest.client.models.VerifyTransactionModel
-
public class VerifyTransactionModel extends java.lang.Object
Verify this transaction by matching it to values in your accounting system. You may specify one or more of the following fields to verify: `date`, `totalAmount`, or `totalTax`. This call will report an error if there is any difference between the data stored in AvaTax and the data stored in your accounting system.
-
-
Constructor Summary
Constructors Constructor Description VerifyTransactionModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
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 VerifyTransactionModel
-
-
-
Method Detail
-
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 VerifyTransactionModel- Overrides:
toString
in classjava.lang.Object
-
-