Class ShippingVerifyResult

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

public class ShippingVerifyResult extends 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
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Getter for compliant Whether every line in the transaction is compliant.
    Getter for failureCodes An enumeration of all the failure codes received across all lines.
    Getter for failureMessages A detailed description of the result of each of the failed checks made against this transaction, separated by line.
    Getter for lines Describes the results of the checks made for each line in the transaction.
    Getter for message A short description of the result of the compliance check.
    Getter for successMessages A detailed description of the result of each of the passed checks made against this transaction, separated by line.
    Getter for warningCodes An enumeration of all the warning codes received across all lines that a determination could not be made for.
    void
    Setter for compliant Whether every line in the transaction is compliant.
    void
    Setter for failureCodes An enumeration of all the failure codes received across all lines.
    void
    Setter for failureMessages A detailed description of the result of each of the failed checks made against this transaction, separated by line.
    void
    Setter for lines Describes the results of the checks made for each line in the transaction.
    void
    Setter for message A short description of the result of the compliance check.
    void
    Setter for successMessages A detailed description of the result of each of the passed checks made against this transaction, separated by line.
    void
    Setter for warningCodes An enumeration of all the warning codes received across all lines that a determination could not be made for.
    Returns a JSON string representation of ShippingVerifyResult

    Methods inherited from class java.lang.Object

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

    • ShippingVerifyResult

      public ShippingVerifyResult()
  • Method Details

    • getCompliant

      public Boolean getCompliant()
      Getter for compliant Whether every line in the transaction is compliant.
    • setCompliant

      public void setCompliant(Boolean value)
      Setter for compliant Whether every line in the transaction is compliant.
    • getMessage

      public String getMessage()
      Getter for message A short description of the result of the compliance check.
    • setMessage

      public void setMessage(String value)
      Setter for message A short description of the result of the compliance check.
    • getSuccessMessages

      public 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(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 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(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 ArrayList<FailureCodes> getFailureCodes()
      Getter for failureCodes An enumeration of all the failure codes received across all lines. Note: AlcoholContentLimitExceeded is included in API versions 2.2 and later.
    • setFailureCodes

      public void setFailureCodes(ArrayList<FailureCodes> value)
      Setter for failureCodes An enumeration of all the failure codes received across all lines. Note: AlcoholContentLimitExceeded is included in API versions 2.2 and later.
    • getWarningCodes

      public ArrayList<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(ArrayList<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 ArrayList<HashMap<String,String>> getLines()
      Getter for lines Describes the results of the checks made for each line in the transaction.
    • setLines

      public void setLines(ArrayList<HashMap<String,String>> value)
      Setter for lines Describes the results of the checks made for each line in the transaction.
    • toString

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