Interface CommerceCartMetadataUpdateStrategy

All Known Implementing Classes:
DefaultCommerceCartMetadataUpdateStrategy

public interface CommerceCartMetadataUpdateStrategy
Strategy to update cart metadata fields (i.e. name)
  • Method Details

    • updateCartMetadata

      void updateCartMetadata(CommerceCartMetadataParameter parameter)
      Updates cart metadata fields (i.e. name). Most of the attributes from the input bean are of Optional type and they will only be used when a value is present for them. An empty string for an Optional<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