public final class ProductSelectionDraftDsl extends Base
ProductSelectionDraft
.Modifier and Type | Method and Description |
---|---|
CustomFieldsDraft |
getCustom() |
String |
getKey() |
LocalizedString |
getName() |
ProductSelectionDraftBuilder |
newBuilder()
Creates a new builder with the values of this object.
|
static ProductSelectionDraftDsl |
of(LocalizedString name)
Creates a new object initialized with the given values.
|
static ProductSelectionDraftDsl |
of(ProductSelectionDraft template)
Creates a new object initialized with the fields of the template parameter.
|
T |
withCustom(CustomFieldsDraft custom) |
T |
withKey(String key) |
ProductSelectionDraftDsl |
withName(LocalizedString name) |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
ofName
public ProductSelectionDraftDsl withName(LocalizedString name)
@Nullable public CustomFieldsDraft getCustom()
getCustom
in interface CustomDraft
@Nullable public String getKey()
getKey
in interface WithKey
getKey
in interface ProductSelectionDraft
public LocalizedString getName()
getName
in interface ProductSelectionDraft
public ProductSelectionDraftBuilder newBuilder()
public T withCustom(@Nullable CustomFieldsDraft custom)
public static ProductSelectionDraftDsl of(LocalizedString name)
name
- initial value for the ProductSelectionDraft.getName()
propertypublic static ProductSelectionDraftDsl of(ProductSelectionDraft template)
template
- the template