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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integer
getAccountId()
Getter for accountId Account IDAdvancedRuleCrashBehavior
getCrashBehavior()
Getter for crashBehavior How to proceed if the rule crashesjava.lang.Long
getId()
Getter for id The unique ID of the scriptjava.lang.Boolean
getIsApproved()
Getter for isApproved The rule has been approvedjava.lang.Boolean
getIsDisabled()
Getter for isDisabled The rule has been disabledjava.lang.String
getScript()
Getter for script The JavaScript ruleAdvancedRuleScriptType
getScriptType()
Getter for scriptType The type of script - request or responsevoid
setAccountId(java.lang.Integer value)
Setter for accountId Account IDvoid
setCrashBehavior(AdvancedRuleCrashBehavior value)
Setter for crashBehavior How to proceed if the rule crashesvoid
setId(java.lang.Long value)
Setter for id The unique ID of the scriptvoid
setIsApproved(java.lang.Boolean value)
Setter for isApproved The rule has been approvedvoid
setIsDisabled(java.lang.Boolean value)
Setter for isDisabled The rule has been disabledvoid
setScript(java.lang.String value)
Setter for script The JavaScript rulevoid
setScriptType(AdvancedRuleScriptType value)
Setter for scriptType The type of script - request or responsejava.lang.String
toString()
Returns a JSON string representation of AdvancedRuleScriptModel
-
-
-
Method Detail
-
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 classjava.lang.Object
-
-