@Generated(value="io.sphere.sdk.annotations.processors.generators.ResourceDraftValueGenerator", comments="Generated from: io.sphere.sdk.stores.ProductSelectionSettingDraft") public final class ProductSelectionSettingDraftDsl extends Base implements ProductSelectionSettingDraft
ProductSelectionSettingDraft
.Modifier and Type | Method and Description |
---|---|
Boolean |
getActive() |
ResourceIdentifier<ProductSelection> |
getProductSelection() |
ProductSelectionSettingDraftBuilder |
newBuilder()
Creates a new builder with the values of this object.
|
static ProductSelectionSettingDraftDsl |
of(ProductSelectionSettingDraft template)
Creates a new object initialized with the fields of the template parameter.
|
static ProductSelectionSettingDraftDsl |
of(ResourceIdentifier<ProductSelection> productSelection,
Boolean active)
Creates a new object initialized with the given values.
|
ProductSelectionSettingDraftDsl |
withActive(Boolean active) |
ProductSelectionSettingDraftDsl |
withProductSelection(ResourceIdentifier<ProductSelection> productSelection) |
public Boolean getActive()
getActive
in interface ProductSelectionSettingDraft
public ResourceIdentifier<ProductSelection> getProductSelection()
getProductSelection
in interface ProductSelectionSettingDraft
public ProductSelectionSettingDraftBuilder newBuilder()
public ProductSelectionSettingDraftDsl withActive(Boolean active)
public ProductSelectionSettingDraftDsl withProductSelection(ResourceIdentifier<ProductSelection> productSelection)
public static ProductSelectionSettingDraftDsl of(ResourceIdentifier<ProductSelection> productSelection, Boolean active)
productSelection
- initial value for the ProductSelectionSettingDraft.getProductSelection()
propertyactive
- initial value for the ProductSelectionSettingDraft.getActive()
propertypublic static ProductSelectionSettingDraftDsl of(ProductSelectionSettingDraft template)
template
- the template