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