@Generated(value="io.sphere.sdk.annotations.processors.generators.ResourceDraftValueGenerator", comments="Generated from: io.sphere.sdk.shoppinglists.ShoppingListDraft") public final class ShoppingListDraftDsl extends Base implements ShoppingListDraft
ShoppingListDraft
.@Nullable public String getAnonymousId()
getAnonymousId
in interface ShoppingListDraft
@Nullable public CustomFieldsDraft getCustom()
getCustom
in interface ShoppingListDraft
getCustom
in interface CustomDraft
@Nullable public ResourceIdentifier<Customer> getCustomer()
getCustomer
in interface ShoppingListDraft
@Nullable public Integer getDeleteDaysAfterLastModification()
getDeleteDaysAfterLastModification
in interface ShoppingListDraft
@Nullable public LocalizedString getDescription()
getDescription
in interface ShoppingListDraft
@Nullable public String getKey()
getKey
in interface WithKey
getKey
in interface ShoppingListDraft
@Nullable public List<LineItemDraft> getLineItems()
getLineItems
in interface ShoppingListDraft
public LocalizedString getName()
getName
in interface ShoppingListDraft
@Nullable public LocalizedString getSlug()
getSlug
in interface ShoppingListDraft
@Nullable public ResourceIdentifier<Store> getStore()
getStore
in interface ShoppingListDraft
@Nullable public List<TextLineItemDraft> getTextLineItems()
getTextLineItems
in interface ShoppingListDraft
public ShoppingListDraftBuilder newBuilder()
public ShoppingListDraftDsl withAnonymousId(@Nullable String anonymousId)
public ShoppingListDraftDsl withCustom(@Nullable CustomFieldsDraft custom)
public ShoppingListDraftDsl withCustomer(@Nullable ResourceIdentifier<Customer> customer)
public ShoppingListDraftDsl withDeleteDaysAfterLastModification(@Nullable Integer deleteDaysAfterLastModification)
public ShoppingListDraftDsl withDescription(@Nullable LocalizedString description)
public ShoppingListDraftDsl withKey(@Nullable String key)
public ShoppingListDraftDsl withLineItems(@Nullable List<LineItemDraft> lineItems)
public ShoppingListDraftDsl withName(LocalizedString name)
public ShoppingListDraftDsl withSlug(@Nullable LocalizedString slug)
public ShoppingListDraftDsl withStore(@Nullable ResourceIdentifier<Store> store)
public ShoppingListDraftDsl withTextLineItems(@Nullable List<TextLineItemDraft> textLineItems)
public static ShoppingListDraftDsl of(LocalizedString name)
name
- initial value for the ShoppingListDraft.getName()
propertypublic static ShoppingListDraftDsl of(ShoppingListDraft template)
template
- the template