Class OfferCategory

java.lang.Object
com.microsoft.store.partnercenter.models.ResourceBase
com.microsoft.store.partnercenter.models.offers.OfferCategory

public class OfferCategory
extends ResourceBase
Represents offer's category. Also contains the category ranking for priority over other offer categories for the same product line
  • Constructor Details

  • Method Details

    • getId

      public String getId()
    • setId

      public void setId​(String value)
    • getName

      public String getName()
    • setName

      public void setName​(String value)
    • getRank

      public int getRank()
    • setRank

      public void setRank​(int value)
    • getLocale

      public String getLocale()
    • setLocale

      public void setLocale​(String value)
    • getCountry

      public String getCountry()
    • setCountry

      public void setCountry​(String value)
    • equals

      public boolean equals​(Object obj)
      Determines whether the specified object, is equal to this instance.
      Overrides:
      equals in class Object
      Parameters:
      obj - The object to compare with this instance.
      Returns:
      true if the specified object is equal to this instance; otherwise, false.
    • hashCode

      public int hashCode()
      Returns a hash code for this instance.
      Overrides:
      hashCode in class Object
      Returns:
      A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.