Interface CommerceCartMetadataUpdateStrategy
- All Known Implementing Classes:
DefaultCommerceCartMetadataUpdateStrategy
public interface CommerceCartMetadataUpdateStrategy
Strategy to update cart metadata fields (i.e. name)
-
Method Summary
Modifier and TypeMethodDescriptionvoidupdateCartMetadata(CommerceCartMetadataParameter parameter) Updates cart metadata fields (i.e.
-
Method Details
-
updateCartMetadata
Updates cart metadata fields (i.e. name). Most of the attributes from the input bean are ofOptionaltype and they will only be used when a value is present for them. An empty string for anOptional<String>will trigger the field to be stored as null.- Parameters:
parameter- a bean holding any number of additional attributes a client may want to pass to the method
-