/// <summary>
        /// Initializes a new instance of the <see cref="ShoppingCartUpdateMessage"/> class.
        /// </summary>
        public ShoppingCartUpdateMessage(MosaicMessage message)
        {
            Interfaces.Messages.Sales.ShoppingCartUpdateMessage msg = (Interfaces.Messages.Sales.ShoppingCartUpdateMessage)message;

            this.Id          = msg.ID;
            this.Source      = msg.Source;
            this.Destination = msg.Destination;

            this.ShoppingCart = msg.ShoppingCart;
        }
        /// <summary>
        /// Translates this object instance into a Mosaic message.
        /// </summary>
        /// <param name="converterStream">The converter stream instance which request the message conversion.</param>
        /// <returns>
        /// The Mosaic message representation of this object.
        /// </returns>
        public MosaicMessage ToMosaicMessage(IConverterStream converterStream)
        {
            var msg = new Interfaces.Messages.Sales.ShoppingCartUpdateMessage(converterStream);

            msg.ID          = this.Id;
            msg.Source      = this.Source;
            msg.Destination = this.Destination;

            msg.ShoppingCart = this.ShoppingCart;

            return(msg);
        }