Class IndustryTaxonomy


  • public class IndustryTaxonomy
    extends java.lang.Object
    IndustryTaxonomy

    A structured industry taxonomy entry with category and mapped to a default MCC code.

    • Constructor Detail

      • IndustryTaxonomy

        public IndustryTaxonomy​(java.lang.String industry,
                                java.lang.String displayName,
                                java.lang.String category,
                                java.lang.String categoryDisplayName,
                                java.lang.String defaultMcc)
    • Method Detail

      • industry

        public java.lang.String industry()
        URL-safe identifier for the industry
      • displayName

        public java.lang.String displayName()
        Display name of the industry
      • category

        public java.lang.String category()
        Category slug
      • categoryDisplayName

        public java.lang.String categoryDisplayName()
        Human-readable category label
      • defaultMcc

        public java.lang.String defaultMcc()
        Default Merchant Category Code
      • withIndustry

        public IndustryTaxonomy withIndustry​(java.lang.String industry)
        URL-safe identifier for the industry
      • withDisplayName

        public IndustryTaxonomy withDisplayName​(java.lang.String displayName)
        Display name of the industry
      • withCategory

        public IndustryTaxonomy withCategory​(java.lang.String category)
        Category slug
      • withCategoryDisplayName

        public IndustryTaxonomy withCategoryDisplayName​(java.lang.String categoryDisplayName)
        Human-readable category label
      • withDefaultMcc

        public IndustryTaxonomy withDefaultMcc​(java.lang.String defaultMcc)
        Default Merchant Category Code
      • equals

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

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object