Class ShoppingListCustomTypeAdapter
- java.lang.Object
-
- com.commercetools.sync.shoppinglists.models.ShoppingListCustomTypeAdapter
-
- All Implemented Interfaces:
Custom
public final class ShoppingListCustomTypeAdapter extends java.lang.Object implements Custom
Adapt ShoppingList withCustominterface to be used onCustomUpdateActionUtils
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.commercetools.api.models.type.CustomFieldsgetCustom()Get custom fields of theShoppingListjava.lang.StringgetId()Get Id of theShoppingListjava.lang.StringgetTypeId()Get typeId of theShoppingListsee: https://docs.commercetools.com/api/types#referencetypestatic ShoppingListCustomTypeAdapterof(com.commercetools.api.models.shopping_list.ShoppingList shoppingList)Build an adapter to be used for preparing custom type actions of with the givenShoppingList
-
-
-
Method Detail
-
getId
public java.lang.String getId()
Get Id of theShoppingList
-
getTypeId
public java.lang.String getTypeId()
Get typeId of theShoppingListsee: https://docs.commercetools.com/api/types#referencetype
-
getCustom
@Nullable public com.commercetools.api.models.type.CustomFields getCustom()
Get custom fields of theShoppingList
-
of
public static ShoppingListCustomTypeAdapter of(com.commercetools.api.models.shopping_list.ShoppingList shoppingList)
Build an adapter to be used for preparing custom type actions of with the givenShoppingList- Parameters:
shoppingList- theShoppingList- Returns:
- the
ShoppingListCustomTypeAdapter
-
-