Class ShippingVerifyResult
java.lang.Object
net.avalara.avatax.rest.client.models.ShippingVerifyResult
public class ShippingVerifyResult
extends java.lang.Object
The Response of the /shippingverify endpoint. Describes the result of checking all applicable shipping rules against each line in the transaction.
-
Constructor Summary
Constructors Constructor Description ShippingVerifyResult() -
Method Summary
Modifier and Type Method Description java.lang.BooleangetCompliant()Getter for compliant Whether every line in the transaction is compliant.java.util.ArrayList<java.lang.String>getFailureCodes()Getter for failureCodes An enumeration of all the failure codes received across all lines.java.lang.StringgetFailureMessages()Getter for failureMessages A detailed description of the result of each of the failed checks made against this transaction, separated by line.java.util.ArrayList<java.util.HashMap<java.lang.String,java.lang.String>>getLines()Getter for lines Describes the results of the checks made for each line in the transaction.java.lang.StringgetMessage()Getter for message A short description of the result of the compliance check.java.lang.StringgetSuccessMessages()Getter for successMessages A detailed description of the result of each of the passed checks made against this transaction, separated by line.java.util.ArrayList<java.lang.String>getWarningCodes()Getter for warningCodes An enumeration of all the warning codes received across all lines that a determination could not be made for.voidsetCompliant(java.lang.Boolean value)Setter for compliant Whether every line in the transaction is compliant.voidsetFailureCodes(java.util.ArrayList<java.lang.String> value)Setter for failureCodes An enumeration of all the failure codes received across all lines.voidsetFailureMessages(java.lang.String value)Setter for failureMessages A detailed description of the result of each of the failed checks made against this transaction, separated by line.voidsetLines(java.util.ArrayList<java.util.HashMap<java.lang.String,java.lang.String>> value)Setter for lines Describes the results of the checks made for each line in the transaction.voidsetMessage(java.lang.String value)Setter for message A short description of the result of the compliance check.voidsetSuccessMessages(java.lang.String value)Setter for successMessages A detailed description of the result of each of the passed checks made against this transaction, separated by line.voidsetWarningCodes(java.util.ArrayList<java.lang.String> value)Setter for warningCodes An enumeration of all the warning codes received across all lines that a determination could not be made for.java.lang.StringtoString()Returns a JSON string representation of ShippingVerifyResult
-
Constructor Details
-
ShippingVerifyResult
public ShippingVerifyResult()
-
-
Method Details
-
getCompliant
public java.lang.Boolean getCompliant()Getter for compliant Whether every line in the transaction is compliant. -
setCompliant
public void setCompliant(java.lang.Boolean value)Setter for compliant Whether every line in the transaction is compliant. -
getMessage
public java.lang.String getMessage()Getter for message A short description of the result of the compliance check. -
setMessage
public void setMessage(java.lang.String value)Setter for message A short description of the result of the compliance check. -
getSuccessMessages
public java.lang.String getSuccessMessages()Getter for successMessages A detailed description of the result of each of the passed checks made against this transaction, separated by line. -
setSuccessMessages
public void setSuccessMessages(java.lang.String value)Setter for successMessages A detailed description of the result of each of the passed checks made against this transaction, separated by line. -
getFailureMessages
public java.lang.String getFailureMessages()Getter for failureMessages A detailed description of the result of each of the failed checks made against this transaction, separated by line. -
setFailureMessages
public void setFailureMessages(java.lang.String value)Setter for failureMessages A detailed description of the result of each of the failed checks made against this transaction, separated by line. -
getFailureCodes
public java.util.ArrayList<java.lang.String> getFailureCodes()Getter for failureCodes An enumeration of all the failure codes received across all lines. -
setFailureCodes
public void setFailureCodes(java.util.ArrayList<java.lang.String> value)Setter for failureCodes An enumeration of all the failure codes received across all lines. -
getWarningCodes
public java.util.ArrayList<java.lang.String> getWarningCodes()Getter for warningCodes An enumeration of all the warning codes received across all lines that a determination could not be made for. -
setWarningCodes
public void setWarningCodes(java.util.ArrayList<java.lang.String> value)Setter for warningCodes An enumeration of all the warning codes received across all lines that a determination could not be made for. -
getLines
public java.util.ArrayList<java.util.HashMap<java.lang.String,java.lang.String>> getLines()Getter for lines Describes the results of the checks made for each line in the transaction. -
setLines
public void setLines(java.util.ArrayList<java.util.HashMap<java.lang.String,java.lang.String>> value)Setter for lines Describes the results of the checks made for each line in the transaction. -
toString
public java.lang.String toString()Returns a JSON string representation of ShippingVerifyResult- Overrides:
toStringin classjava.lang.Object
-