Class ExemptionReasonModel
java.lang.Object
net.avalara.avatax.rest.client.models.ExemptionReasonModel
public class ExemptionReasonModel
extends java.lang.Object
An exemption reason defines why a certificate allows a customer to be exempt
for purposes of tax calculation. For a full list of defined exemption reasons,
please call the `ListCertificateExemptionReasons` API.
-
Constructor Summary
Constructors Constructor Description ExemptionReasonModel()
-
Method Summary
Modifier and Type Method Description java.lang.Integer
getId()
Getter for id A unique ID number representing this exemption reason.java.lang.String
getName()
Getter for name A friendly name describing this exemption reason.void
setId(java.lang.Integer value)
Setter for id A unique ID number representing this exemption reason.void
setName(java.lang.String value)
Setter for name A friendly name describing this exemption reason.java.lang.String
toString()
Returns a JSON string representation of ExemptionReasonModel
-
Constructor Details
-
ExemptionReasonModel
public ExemptionReasonModel()
-
-
Method Details
-
getId
public java.lang.Integer getId()Getter for id A unique ID number representing this exemption reason. -
setId
public void setId(java.lang.Integer value)Setter for id A unique ID number representing this exemption reason. -
getName
public java.lang.String getName()Getter for name A friendly name describing this exemption reason. -
setName
public void setName(java.lang.String value)Setter for name A friendly name describing this exemption reason. -
toString
public java.lang.String toString()Returns a JSON string representation of ExemptionReasonModel- Overrides:
toString
in classjava.lang.Object
-