Interface MyShoppingListDraft

All Superinterfaces:
CustomizableDraft<MyShoppingListDraft>, io.vrap.rmf.base.client.Draft<MyShoppingListDraft>
All Known Implementing Classes:
MyShoppingListDraftImpl

public interface MyShoppingListDraft extends CustomizableDraft<MyShoppingListDraft>, io.vrap.rmf.base.client.Draft<MyShoppingListDraft>

A MyShoppingListDraft is the object submitted as payload to the Create MyShoppingList request. The customer field of ShoppingList is automatically set with a password flow token. The anonymousId is automatically set with a token for an anonymous session. The key and slug fields can not be set.


Example to create an instance using the builder pattern

     MyShoppingListDraft myShoppingListDraft = MyShoppingListDraft.builder()
             .name(nameBuilder -> nameBuilder)
             .build()