Interface CartVersionedRequest

    • Method Detail

      • getCartVersion

        Integer getCartVersion()
        Gets the cart version that the client is aware of. This should be populated by the client when making a request that modifies an existing cart.
        Returns:
        the cart version
      • setCartVersion

        void setCartVersion​(Integer version)
        Sets the cart version. Typically only used for setting the version on the request body if the version came from an alternative source (e.g. cookie or header).
        Parameters:
        version - the version to set for this request