Class PriceCustomTypeAdapter
- java.lang.Object
-
- com.commercetools.sync.products.models.PriceCustomTypeAdapter
-
- All Implemented Interfaces:
Custom
public final class PriceCustomTypeAdapter extends java.lang.Object implements Custom
Adapt Customer 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 thePricejava.lang.StringgetId()Get Id of thePricejava.lang.StringgetKey()Get Key of thePricejava.lang.StringgetTypeId()Get typeId of thePricesee: https://docs.commercetools.com/api/types#referencetypestatic PriceCustomTypeAdapterof(com.commercetools.api.models.common.Price price)Build an adapter to be used for preparing custom type actions of with the givenPrice
-
-
-
Method Detail
-
getId
public java.lang.String getId()
Get Id of thePrice
-
getTypeId
public java.lang.String getTypeId()
Get typeId of thePricesee: https://docs.commercetools.com/api/types#referencetype
-
getCustom
@Nullable public com.commercetools.api.models.type.CustomFields getCustom()
Get custom fields of thePrice
-
getKey
public java.lang.String getKey()
Get Key of thePrice- Returns:
- the
Price.getKey()
-
of
public static PriceCustomTypeAdapter of(com.commercetools.api.models.common.Price price)
Build an adapter to be used for preparing custom type actions of with the givenPrice- Parameters:
price- thePrice- Returns:
- the
PriceCustomTypeAdapter
-
-