Class Category

java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.product.item.Category

@ApiType("SoftLayer_Product_Item_Category")
public class Category
extends Entity
The SoftLayer_Product_Item_Category data type contains general category information for prices.
See Also:
SoftLayer_Product_Item_Category
  • Field Details

    • billingItems

      @ApiProperty protected List<Item> billingItems
      The billing items associated with an account that share a category code with an item category's category code.
    • group

      @ApiProperty protected Group group
      This invoice item's "item category group".
    • groups

      @ApiProperty protected List<Group> groups
      A collection of service offering category groups. Each group contains a collection of items associated with this category.
    • orderOptions

      @ApiProperty protected List<Type> orderOptions
      Any unique options associated with an item category.
    • packageConfigurations

      @ApiProperty protected List<Configuration> packageConfigurations
      A list of configuration available in this category.'
    • presetConfigurations

      @ApiProperty protected List<Configuration> presetConfigurations
      A list of preset configurations this category is used in.'
    • questionReferences

      @ApiProperty protected List<Xref> questionReferences
      The question references that are associated with an item category.
    • questions

      @ApiProperty protected List<Question> questions
      The questions that are associated with an item category.
    • categoryCode

      @ApiProperty(canBeNullOrNotSet=true) protected String categoryCode
      The code used to identify this category.
    • categoryCodeSpecified

      protected boolean categoryCodeSpecified
    • id

      @ApiProperty(canBeNullOrNotSet=true) protected Long id
      identifier for category.
    • idSpecified

      protected boolean idSpecified
    • name

      @ApiProperty(canBeNullOrNotSet=true) protected String name
      The friendly, descriptive name of the category as seen on the order forms and on invoices.
    • nameSpecified

      protected boolean nameSpecified
    • quantityLimit

      @ApiProperty(canBeNullOrNotSet=true) protected Long quantityLimit
      Quantity that can be ordered. If 0, it will inherit the quantity from the server quantity ordered. Otherwise it can be specified with the order separately
    • quantityLimitSpecified

      protected boolean quantityLimitSpecified
    • sortOrder

      @ApiProperty(canBeNullOrNotSet=true) protected Long sortOrder
      The sort order of the category. It may be used to affect the order in which the category may appear in lists (on order forms and invoices).
    • sortOrderSpecified

      protected boolean sortOrderSpecified
    • billingItemCount

      @ApiProperty protected Long billingItemCount
      A count of the billing items associated with an account that share a category code with an item category's category code.
    • groupCount

      @ApiProperty protected Long groupCount
      A count of a collection of service offering category groups. Each group contains a collection of items associated with this category.
    • orderOptionCount

      @ApiProperty protected Long orderOptionCount
      A count of any unique options associated with an item category.
    • packageConfigurationCount

      @ApiProperty protected Long packageConfigurationCount
      A count of a list of configuration available in this category.'
    • presetConfigurationCount

      @ApiProperty protected Long presetConfigurationCount
      A count of a list of preset configurations this category is used in.'
    • questionCount

      @ApiProperty protected Long questionCount
      A count of the questions that are associated with an item category.
    • questionReferenceCount

      @ApiProperty protected Long questionReferenceCount
      A count of the question references that are associated with an item category.
  • Constructor Details

    • Category

      public Category()
  • Method Details

    • getBillingItems

      public List<Item> getBillingItems()
    • getGroup

      public Group getGroup()
    • setGroup

      public void setGroup​(Group group)
    • getGroups

      public List<Group> getGroups()
    • getOrderOptions

      public List<Type> getOrderOptions()
    • getPackageConfigurations

      public List<Configuration> getPackageConfigurations()
    • getPresetConfigurations

      public List<Configuration> getPresetConfigurations()
    • getQuestionReferences

      public List<Xref> getQuestionReferences()
    • getQuestions

      public List<Question> getQuestions()
    • getCategoryCode

      public String getCategoryCode()
    • setCategoryCode

      public void setCategoryCode​(String categoryCode)
    • isCategoryCodeSpecified

      public boolean isCategoryCodeSpecified()
    • unsetCategoryCode

      public void unsetCategoryCode()
    • getId

      public Long getId()
    • setId

      public void setId​(Long id)
    • isIdSpecified

      public boolean isIdSpecified()
    • unsetId

      public void unsetId()
    • getName

      public String getName()
    • setName

      public void setName​(String name)
    • isNameSpecified

      public boolean isNameSpecified()
    • unsetName

      public void unsetName()
    • getQuantityLimit

      public Long getQuantityLimit()
    • setQuantityLimit

      public void setQuantityLimit​(Long quantityLimit)
    • isQuantityLimitSpecified

      public boolean isQuantityLimitSpecified()
    • unsetQuantityLimit

      public void unsetQuantityLimit()
    • getSortOrder

      public Long getSortOrder()
    • setSortOrder

      public void setSortOrder​(Long sortOrder)
    • isSortOrderSpecified

      public boolean isSortOrderSpecified()
    • unsetSortOrder

      public void unsetSortOrder()
    • getBillingItemCount

      public Long getBillingItemCount()
    • setBillingItemCount

      public void setBillingItemCount​(Long billingItemCount)
    • getGroupCount

      public Long getGroupCount()
    • setGroupCount

      public void setGroupCount​(Long groupCount)
    • getOrderOptionCount

      public Long getOrderOptionCount()
    • setOrderOptionCount

      public void setOrderOptionCount​(Long orderOptionCount)
    • getPackageConfigurationCount

      public Long getPackageConfigurationCount()
    • setPackageConfigurationCount

      public void setPackageConfigurationCount​(Long packageConfigurationCount)
    • getPresetConfigurationCount

      public Long getPresetConfigurationCount()
    • setPresetConfigurationCount

      public void setPresetConfigurationCount​(Long presetConfigurationCount)
    • getQuestionCount

      public Long getQuestionCount()
    • setQuestionCount

      public void setQuestionCount​(Long questionCount)
    • getQuestionReferenceCount

      public Long getQuestionReferenceCount()
    • setQuestionReferenceCount

      public void setQuestionReferenceCount​(Long questionReferenceCount)
    • asService

      public Category.Service asService​(ApiClient client)
    • service

      public static Category.Service service​(ApiClient client)
    • service

      public static Category.Service service​(ApiClient client, Long id)