Class TaxCode

    • Constructor Detail

      • TaxCode

        public TaxCode()
    • Method Detail

      • retrieve

        public static TaxCode retrieve​(java.lang.String id)
                                throws StripeException
        Retrieves the details of an existing tax code. Supply the unique tax code ID and Stripe will return the corresponding tax code information.
        Throws:
        StripeException
      • retrieve

        public static TaxCode retrieve​(java.lang.String id,
                                       RequestOptions options)
                                throws StripeException
        Retrieves the details of an existing tax code. Supply the unique tax code ID and Stripe will return the corresponding tax code information.
        Throws:
        StripeException
      • retrieve

        public static TaxCode retrieve​(java.lang.String id,
                                       java.util.Map<java.lang.String,​java.lang.Object> params,
                                       RequestOptions options)
                                throws StripeException
        Retrieves the details of an existing tax code. Supply the unique tax code ID and Stripe will return the corresponding tax code information.
        Throws:
        StripeException
      • getDescription

        public java.lang.String getDescription()
        A detailed description of which types of products the tax code represents.
      • getName

        public java.lang.String getName()
        A short name for the tax code.
      • getObject

        public java.lang.String getObject()
        String representing the object's type. Objects of the same type share the same value.

        Equal to tax_code.

      • setDescription

        public void setDescription​(java.lang.String description)
        A detailed description of which types of products the tax code represents.
      • setId

        public void setId​(java.lang.String id)
        Unique identifier for the object.
      • setName

        public void setName​(java.lang.String name)
        A short name for the tax code.
      • setObject

        public void setObject​(java.lang.String object)
        String representing the object's type. Objects of the same type share the same value.

        Equal to tax_code.

      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • getId

        public java.lang.String getId()
        Unique identifier for the object.
        Specified by:
        getId in interface HasId