Class ShoppingListLineItemDraftCustomTypeAdapter
- java.lang.Object
-
- com.commercetools.sync.shoppinglists.models.ShoppingListLineItemDraftCustomTypeAdapter
-
- All Implemented Interfaces:
CustomDraft
public final class ShoppingListLineItemDraftCustomTypeAdapter extends java.lang.Object implements CustomDraft
Adapt ShoppingListLineItemDraft withCustomDraft
interface to be used onCustomUpdateActionUtils
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.commercetools.api.models.type.CustomFieldsDraft
getCustom()
Get custom fields of theShoppingListLineItemDraft
static ShoppingListLineItemDraftCustomTypeAdapter
of(com.commercetools.api.models.shopping_list.ShoppingListLineItemDraft shoppingListLineItemDraft)
Build an adapter to be used for preparing custom type actions of with the givenShoppingListLineItemDraft
-
-
-
Method Detail
-
getCustom
@Nullable public com.commercetools.api.models.type.CustomFieldsDraft getCustom()
Get custom fields of theShoppingListLineItemDraft
- Specified by:
getCustom
in interfaceCustomDraft
- Returns:
- the
CustomFieldsDraft
-
of
public static ShoppingListLineItemDraftCustomTypeAdapter of(com.commercetools.api.models.shopping_list.ShoppingListLineItemDraft shoppingListLineItemDraft)
Build an adapter to be used for preparing custom type actions of with the givenShoppingListLineItemDraft
- Parameters:
shoppingListLineItemDraft
- theShoppingListLineItemDraft
- Returns:
- the
ShoppingListLineItemDraftCustomTypeAdapter
-
-