Class InventoryEntryCustomTypeAdapter
- java.lang.Object
-
- com.commercetools.sync.inventories.models.InventoryEntryCustomTypeAdapter
-
- All Implemented Interfaces:
Custom
public final class InventoryEntryCustomTypeAdapter extends java.lang.Object implements Custom
Adapt InventoryEntry 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 theInventoryEntryjava.lang.StringgetId()Get Id of theInventoryEntryjava.lang.StringgetTypeId()Get typeId of theInventoryEntrysee: https://docs.commercetools.com/api/types#referencetypestatic InventoryEntryCustomTypeAdapterof(com.commercetools.api.models.inventory.InventoryEntry inventoryEntry)Build an adapter to be used for preparing custom type actions of with the givenInventoryEntry
-
-
-
Method Detail
-
getId
public java.lang.String getId()
Get Id of theInventoryEntry
-
getTypeId
public java.lang.String getTypeId()
Get typeId of theInventoryEntrysee: https://docs.commercetools.com/api/types#referencetype
-
getCustom
@Nullable public com.commercetools.api.models.type.CustomFields getCustom()
Get custom fields of theInventoryEntry
-
of
public static InventoryEntryCustomTypeAdapter of(com.commercetools.api.models.inventory.InventoryEntry inventoryEntry)
Build an adapter to be used for preparing custom type actions of with the givenInventoryEntry- Parameters:
inventoryEntry- theInventoryEntry- Returns:
- the
InventoryEntryCustomTypeAdapter
-
-