Class Configuration
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.product.pkg.order.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.
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.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Configuration.Mask
-
Field Summary
Fields Modifier and Type Field Description protected Boolean
bundledFlag
Signifies that selections associated with the configuration are automatically provided by being bundled to another configurations selection.protected boolean
bundledFlagSpecified
protected Package
configurationPackage
The package to which this instance belongs.protected String
errorMessage
The error message displayed if the submitted order does not contain this item category, if it is required.protected boolean
errorMessageSpecified
protected Long
id
The unique identifier for this object.protected boolean
idSpecified
protected Long
isRequired
This is a flag which tells SoftLayer_Product_Order::verifyOrder() whether or not this category is required.protected boolean
isRequiredSpecified
protected Category
itemCategory
The item category for this configuration instance.protected Long
itemCategoryId
The SoftLayer_Product_Item_Category.protected boolean
itemCategoryIdSpecified
protected Long
orderStepId
The order step ID for this particular option in the package.protected boolean
orderStepIdSpecified
protected Long
packageId
The PackageId tied to this instance.protected boolean
packageIdSpecified
protected Long
sort
This is an integer used to show the order in which each item Category should be displayed.protected boolean
sortSpecified
protected Step
step
The step to which this instance belongs.protected Boolean
termFlag
Whether or not the item category is term-based.protected boolean
termFlagSpecified
-
Constructor Summary
Constructors Constructor Description Configuration()
-
Method Summary
-
Field Details
-
itemCategory
The item category for this configuration instance. -
configurationPackage
The package to which this instance belongs. -
step
The step to which this instance belongs. -
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
The error message displayed if the submitted order does not contain this item category, if it is required. -
errorMessageSpecified
protected boolean errorMessageSpecified -
id
The unique identifier for this object. -
idSpecified
protected boolean idSpecified -
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 -
itemCategoryId
The SoftLayer_Product_Item_Category. -
itemCategoryIdSpecified
protected boolean itemCategoryIdSpecified -
orderStepId
The order step ID for this particular option in the package. -
orderStepIdSpecified
protected boolean orderStepIdSpecified -
packageId
The PackageId tied to this instance. -
packageIdSpecified
protected boolean packageIdSpecified -
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 -
termFlag
Whether or not the item category is term-based. -
termFlagSpecified
protected boolean termFlagSpecified
-
-
Constructor Details
-
Configuration
public Configuration()
-
-
Method Details
-
getItemCategory
-
setItemCategory
-
getConfigurationPackage
-
setConfigurationPackage
-
getStep
-
setStep
-
getBundledFlag
-
setBundledFlag
-
isBundledFlagSpecified
public boolean isBundledFlagSpecified() -
unsetBundledFlag
public void unsetBundledFlag() -
getErrorMessage
-
setErrorMessage
-
isErrorMessageSpecified
public boolean isErrorMessageSpecified() -
unsetErrorMessage
public void unsetErrorMessage() -
getId
-
setId
-
isIdSpecified
public boolean isIdSpecified() -
unsetId
public void unsetId() -
getIsRequired
-
setIsRequired
-
isIsRequiredSpecified
public boolean isIsRequiredSpecified() -
unsetIsRequired
public void unsetIsRequired() -
getItemCategoryId
-
setItemCategoryId
-
isItemCategoryIdSpecified
public boolean isItemCategoryIdSpecified() -
unsetItemCategoryId
public void unsetItemCategoryId() -
getOrderStepId
-
setOrderStepId
-
isOrderStepIdSpecified
public boolean isOrderStepIdSpecified() -
unsetOrderStepId
public void unsetOrderStepId() -
getPackageId
-
setPackageId
-
isPackageIdSpecified
public boolean isPackageIdSpecified() -
unsetPackageId
public void unsetPackageId() -
getSort
-
setSort
-
isSortSpecified
public boolean isSortSpecified() -
unsetSort
public void unsetSort() -
getTermFlag
-
setTermFlag
-
isTermFlagSpecified
public boolean isTermFlagSpecified() -
unsetTermFlag
public void unsetTermFlag()
-