Class 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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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
      • Methods inherited from class java.lang.Object

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

      • ExemptionReasonModel

        public ExemptionReasonModel()
    • Method Detail

      • 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 class java.lang.Object