Class AdvancedRuleScriptModel
- java.lang.Object
-
- net.avalara.avatax.rest.client.models.AdvancedRuleScriptModel
-
public class AdvancedRuleScriptModel extends java.lang.ObjectRepresents 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.IntegergetAccountId()Getter for accountId Account IDAdvancedRuleCrashBehaviorgetCrashBehavior()Getter for crashBehavior How to proceed if the rule crashesjava.lang.LonggetId()Getter for id The unique ID of the scriptjava.lang.BooleangetIsApproved()Getter for isApproved The rule has been approvedjava.lang.BooleangetIsDisabled()Getter for isDisabled The rule has been disabledjava.lang.StringgetScript()Getter for script The JavaScript ruleAdvancedRuleScriptTypegetScriptType()Getter for scriptType The type of script - request or responsevoidsetAccountId(java.lang.Integer value)Setter for accountId Account IDvoidsetCrashBehavior(AdvancedRuleCrashBehavior value)Setter for crashBehavior How to proceed if the rule crashesvoidsetId(java.lang.Long value)Setter for id The unique ID of the scriptvoidsetIsApproved(java.lang.Boolean value)Setter for isApproved The rule has been approvedvoidsetIsDisabled(java.lang.Boolean value)Setter for isDisabled The rule has been disabledvoidsetScript(java.lang.String value)Setter for script The JavaScript rulevoidsetScriptType(AdvancedRuleScriptType value)Setter for scriptType The type of script - request or responsejava.lang.StringtoString()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:
toStringin classjava.lang.Object
-
-