Class RequirementGroup
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.container.product.promotion.RequirementGroup
@ApiType("SoftLayer_Container_Product_Promotion_RequirementGroup") public class RequirementGroup extends Entity
The SoftLayer_Container_Product_Promotion_RequirementGroup data type contains the required options that must be present on an order for the promotion to be applied. At least one of the categories, presets, or prices must be on the order.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RequirementGroup.Mask
-
Field Summary
Fields Modifier and Type Field Description protected List<Category>
categories
The category options to choose from for this requirement groupprotected boolean
categoriesSpecified
protected List<Preset>
presets
The preset options to choose from for this requirement groupprotected boolean
presetsSpecified
protected List<Price>
prices
The price options to choose from for this requirement groupprotected boolean
pricesSpecified
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
Constructor Summary
Constructors Constructor Description RequirementGroup()
-
Method Summary
Modifier and Type Method Description List<Category>
getCategories()
List<Preset>
getPresets()
List<Price>
getPrices()
boolean
isCategoriesSpecified()
boolean
isPresetsSpecified()
boolean
isPricesSpecified()
void
unsetCategories()
void
unsetPresets()
void
unsetPrices()
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
Field Details
-
categories
The category options to choose from for this requirement group -
categoriesSpecified
protected boolean categoriesSpecified -
presets
The preset options to choose from for this requirement group -
presetsSpecified
protected boolean presetsSpecified -
prices
The price options to choose from for this requirement group -
pricesSpecified
protected boolean pricesSpecified
-
-
Constructor Details
-
RequirementGroup
public RequirementGroup()
-
-
Method Details
-
getCategories
-
isCategoriesSpecified
public boolean isCategoriesSpecified() -
unsetCategories
public void unsetCategories() -
getPresets
-
isPresetsSpecified
public boolean isPresetsSpecified() -
unsetPresets
public void unsetPresets() -
getPrices
-
isPricesSpecified
public boolean isPricesSpecified() -
unsetPrices
public void unsetPrices()
-