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, waitofNamepublic ProductSelectionDraftDsl withName(LocalizedString name)
@Nullable public CustomFieldsDraft getCustom()
getCustom in interface CustomDraft@Nullable public String getKey()
getKey in interface WithKeygetKey in interface ProductSelectionDraftpublic LocalizedString getName()
getName in interface ProductSelectionDraftpublic 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