Class InventoryEntryDraftCustomTypeAdapter
- java.lang.Object
-
- com.commercetools.sync.inventories.models.InventoryEntryDraftCustomTypeAdapter
-
- All Implemented Interfaces:
CustomDraft
public final class InventoryEntryDraftCustomTypeAdapter extends java.lang.Object implements CustomDraft
Adapt InventoryEntryDraft 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 theInventoryEntryDraft
static InventoryEntryDraftCustomTypeAdapter
of(com.commercetools.api.models.inventory.InventoryEntryDraft inventoryEntryDraft)
Build an adapter to be used for preparing custom type actions of with the givenInventoryEntryDraft
-
-
-
Method Detail
-
getCustom
@Nullable public com.commercetools.api.models.type.CustomFieldsDraft getCustom()
Get custom fields of theInventoryEntryDraft
- Specified by:
getCustom
in interfaceCustomDraft
- Returns:
- the
CustomFieldsDraft
-
of
public static InventoryEntryDraftCustomTypeAdapter of(com.commercetools.api.models.inventory.InventoryEntryDraft inventoryEntryDraft)
Build an adapter to be used for preparing custom type actions of with the givenInventoryEntryDraft
- Parameters:
inventoryEntryDraft
- theInventoryEntryDraft
- Returns:
- the
InventoryEntryDraftCustomTypeAdapter
-
-