Class ShoppingListLineItemCustomTypeAdapter
- java.lang.Object
-
- com.commercetools.sync.shoppinglists.models.ShoppingListLineItemCustomTypeAdapter
-
- All Implemented Interfaces:
Custom
public final class ShoppingListLineItemCustomTypeAdapter extends java.lang.Object implements Custom
Adapt ShoppingListLineItem withCustom
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.CustomFields
getCustom()
Get custom fields of theShoppingListLineItem
java.lang.String
getId()
Get Id of theShoppingListLineItem
java.lang.String
getTypeId()
Get typeId of theShoppingListLineItem
see: https://docs.commercetools.com/api/types#referencetypestatic ShoppingListLineItemCustomTypeAdapter
of(com.commercetools.api.models.shopping_list.ShoppingListLineItem shoppingList)
Build an adapter to be used for preparing custom type actions of with the givenShoppingListLineItem
-
-
-
Method Detail
-
getId
public java.lang.String getId()
Get Id of theShoppingListLineItem
-
getTypeId
public java.lang.String getTypeId()
Get typeId of theShoppingListLineItem
see: https://docs.commercetools.com/api/types#referencetype
-
getCustom
@Nullable public com.commercetools.api.models.type.CustomFields getCustom()
Get custom fields of theShoppingListLineItem
-
of
public static ShoppingListLineItemCustomTypeAdapter of(com.commercetools.api.models.shopping_list.ShoppingListLineItem shoppingList)
Build an adapter to be used for preparing custom type actions of with the givenShoppingListLineItem
- Parameters:
shoppingList
- theShoppingListLineItem
- Returns:
- the
ShoppingListLineItemCustomTypeAdapter
-
-