Class Configuration


  • @ApiType("SoftLayer_Product_Package_Order_Configuration")
    public class Configuration
    extends Entity
    This datatype describes the item categories that are required for each package to be ordered. For instance, for package 2, there will be many required categories. When submitting an order for a server, there must be at most 1 price for each category whose "isRequired" is set. Examples of required categories: - server - ram - bandwidth - disk0

    There are others, but these are the main ones. For each required category, a SoftLayer_Product_Item_Price must be chosen that is valid for the package.

    See Also:
    SoftLayer_Product_Package_Order_Configuration
    • Field Detail

      • itemCategory

        @ApiProperty
        protected Category itemCategory
        The item category for this configuration instance.
      • configurationPackage

        @ApiProperty("package")
        protected Package configurationPackage
        The package to which this instance belongs.
      • step

        @ApiProperty
        protected Step step
        The step to which this instance belongs.
      • bundledFlag

        @ApiProperty(canBeNullOrNotSet=true)
        protected Boolean bundledFlag
        Signifies that selections associated with the configuration are automatically provided by being bundled to another configurations selection. The actual bundling is on the product.
      • bundledFlagSpecified

        protected boolean bundledFlagSpecified
      • errorMessage

        @ApiProperty(canBeNullOrNotSet=true)
        protected String errorMessage
        The error message displayed if the submitted order does not contain this item category, if it is required.
      • errorMessageSpecified

        protected boolean errorMessageSpecified
      • idSpecified

        protected boolean idSpecified
      • isRequired

        @ApiProperty(canBeNullOrNotSet=true)
        protected Long isRequired
        This is a flag which tells SoftLayer_Product_Order::verifyOrder() whether or not this category is required. If this is set, then the order submitted must contain a SoftLayer_Product_Item_Price with this category as part of the order.
      • isRequiredSpecified

        protected boolean isRequiredSpecified
      • itemCategoryIdSpecified

        protected boolean itemCategoryIdSpecified
      • orderStepIdSpecified

        protected boolean orderStepIdSpecified
      • packageIdSpecified

        protected boolean packageIdSpecified
      • sort

        @ApiProperty(canBeNullOrNotSet=true)
        protected Long sort
        This is an integer used to show the order in which each item Category should be displayed. This is merely the suggested order.
      • sortSpecified

        protected boolean sortSpecified
      • termFlagSpecified

        protected boolean termFlagSpecified
    • Constructor Detail

      • Configuration

        public Configuration()
    • Method Detail

      • getItemCategory

        public Category getItemCategory()
      • setItemCategory

        public void setItemCategory​(Category itemCategory)
      • getConfigurationPackage

        public Package getConfigurationPackage()
      • setConfigurationPackage

        public void setConfigurationPackage​(Package configurationPackage)
      • getStep

        public Step getStep()
      • setStep

        public void setStep​(Step step)
      • getBundledFlag

        public Boolean getBundledFlag()
      • setBundledFlag

        public void setBundledFlag​(Boolean bundledFlag)
      • isBundledFlagSpecified

        public boolean isBundledFlagSpecified()
      • unsetBundledFlag

        public void unsetBundledFlag()
      • getErrorMessage

        public String getErrorMessage()
      • setErrorMessage

        public void setErrorMessage​(String errorMessage)
      • isErrorMessageSpecified

        public boolean isErrorMessageSpecified()
      • unsetErrorMessage

        public void unsetErrorMessage()
      • getId

        public Long getId()
      • setId

        public void setId​(Long id)
      • isIdSpecified

        public boolean isIdSpecified()
      • unsetId

        public void unsetId()
      • getIsRequired

        public Long getIsRequired()
      • setIsRequired

        public void setIsRequired​(Long isRequired)
      • isIsRequiredSpecified

        public boolean isIsRequiredSpecified()
      • unsetIsRequired

        public void unsetIsRequired()
      • getItemCategoryId

        public Long getItemCategoryId()
      • setItemCategoryId

        public void setItemCategoryId​(Long itemCategoryId)
      • isItemCategoryIdSpecified

        public boolean isItemCategoryIdSpecified()
      • unsetItemCategoryId

        public void unsetItemCategoryId()
      • getOrderStepId

        public Long getOrderStepId()
      • setOrderStepId

        public void setOrderStepId​(Long orderStepId)
      • isOrderStepIdSpecified

        public boolean isOrderStepIdSpecified()
      • unsetOrderStepId

        public void unsetOrderStepId()
      • getPackageId

        public Long getPackageId()
      • setPackageId

        public void setPackageId​(Long packageId)
      • isPackageIdSpecified

        public boolean isPackageIdSpecified()
      • unsetPackageId

        public void unsetPackageId()
      • getSort

        public Long getSort()
      • setSort

        public void setSort​(Long sort)
      • isSortSpecified

        public boolean isSortSpecified()
      • unsetSort

        public void unsetSort()
      • getTermFlag

        public Boolean getTermFlag()
      • setTermFlag

        public void setTermFlag​(Boolean termFlag)
      • isTermFlagSpecified

        public boolean isTermFlagSpecified()
      • unsetTermFlag

        public void unsetTermFlag()