Package com.commercetools.api.models
Interface Customizable<T extends Customizable<T>>
- Type Parameters:
T- The type which is customizable.
- All Known Subinterfaces:
Address,Asset,Cart,CartDiscount,Category,Channel,Customer,CustomerGroup,CustomLineItem,CustomLineItemReturnItem,Delivery,DiscountCode,InventoryEntry,LineItem,LineItemReturnItem,MyPayment,Order,OrderEdit,Parcel,Payment,Price,ProductSelection,QueryPrice,Quote,ReturnItem,Review,ScopedPrice,ShippingMethod,ShoppingList,ShoppingListLineItem,StagedOrder,StandalonePrice,Store,TextLineItem,Transaction
public interface Customizable<T extends Customizable<T>>
Entity with a CustomField property
-
Method Summary
Modifier and TypeMethodDescriptionCustom Fields defined for the entityvoidsetCustom(CustomFields custom) Custom Fields defined for the entitydefault T
-
Method Details
-
getCustom
CustomFields getCustom()Custom Fields defined for the entity
- Returns:
- CustomFields
-
setCustom
Custom Fields defined for the entity
- Parameters:
custom- custom field
-
unwrapCustomizable
-