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