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 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 theInventoryEntry
java.lang.String
getId()
Get Id of theInventoryEntry
java.lang.String
getTypeId()
Get typeId of theInventoryEntry
see: https://docs.commercetools.com/api/types#referencetypestatic InventoryEntryCustomTypeAdapter
of(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 theInventoryEntry
see: 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
-
-