Class AdvancedRuleScriptModel

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

public class AdvancedRuleScriptModel
extends java.lang.Object
Represents an advanced rule script
  • Constructor Summary

    Constructors 
    Constructor Description
    AdvancedRuleScriptModel()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.Integer getAccountId()
    Getter for accountId Account ID
    AdvancedRuleCrashBehavior getCrashBehavior()
    Getter for crashBehavior How to proceed if the rule crashes
    java.lang.Long getId()
    Getter for id The unique ID of the script
    java.lang.Boolean getIsApproved()
    Getter for isApproved The rule has been approved
    java.lang.Boolean getIsDisabled()
    Getter for isDisabled The rule has been disabled
    java.lang.String getScript()
    Getter for script The JavaScript rule
    AdvancedRuleScriptType getScriptType()
    Getter for scriptType The type of script - request or response
    void setAccountId​(java.lang.Integer value)
    Setter for accountId Account ID
    void setCrashBehavior​(AdvancedRuleCrashBehavior value)
    Setter for crashBehavior How to proceed if the rule crashes
    void setId​(java.lang.Long value)
    Setter for id The unique ID of the script
    void setIsApproved​(java.lang.Boolean value)
    Setter for isApproved The rule has been approved
    void setIsDisabled​(java.lang.Boolean value)
    Setter for isDisabled The rule has been disabled
    void setScript​(java.lang.String value)
    Setter for script The JavaScript rule
    void setScriptType​(AdvancedRuleScriptType value)
    Setter for scriptType The type of script - request or response
    java.lang.String toString()
    Returns a JSON string representation of AdvancedRuleScriptModel

    Methods inherited from class java.lang.Object

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

  • Method Details

    • getId

      public java.lang.Long getId()
      Getter for id The unique ID of the script
    • setId

      public void setId​(java.lang.Long value)
      Setter for id The unique ID of the script
    • getAccountId

      public java.lang.Integer getAccountId()
      Getter for accountId Account ID
    • setAccountId

      public void setAccountId​(java.lang.Integer value)
      Setter for accountId Account ID
    • getCrashBehavior

      public AdvancedRuleCrashBehavior getCrashBehavior()
      Getter for crashBehavior How to proceed if the rule crashes
    • setCrashBehavior

      public void setCrashBehavior​(AdvancedRuleCrashBehavior value)
      Setter for crashBehavior How to proceed if the rule crashes
    • getScriptType

      public AdvancedRuleScriptType getScriptType()
      Getter for scriptType The type of script - request or response
    • setScriptType

      public void setScriptType​(AdvancedRuleScriptType value)
      Setter for scriptType The type of script - request or response
    • getScript

      public java.lang.String getScript()
      Getter for script The JavaScript rule
    • setScript

      public void setScript​(java.lang.String value)
      Setter for script The JavaScript rule
    • getIsApproved

      public java.lang.Boolean getIsApproved()
      Getter for isApproved The rule has been approved
    • setIsApproved

      public void setIsApproved​(java.lang.Boolean value)
      Setter for isApproved The rule has been approved
    • getIsDisabled

      public java.lang.Boolean getIsDisabled()
      Getter for isDisabled The rule has been disabled
    • setIsDisabled

      public void setIsDisabled​(java.lang.Boolean value)
      Setter for isDisabled The rule has been disabled
    • toString

      public java.lang.String toString()
      Returns a JSON string representation of AdvancedRuleScriptModel
      Overrides:
      toString in class java.lang.Object