public void ChangeDeliveryDetail(DeliveryDetailSnapshot snapshot)
 {
     _order.SetCurrentDeliveryDetails(
         snapshot.City,
         snapshot.StreetAddress,
         snapshot.ExpectedDeliveryDate,
         snapshot.DeliveryInstructions);
 }
        private void InitializeDeliveryDetail(DeliveryDetailSnapshot snapshot)
        {
            DeliveryDetail deliveryDetail = _order.CurrentDeliveryDetails.FirstOrDefault();

            if (deliveryDetail != null)
            {
                snapshot.City = deliveryDetail.City.Name;
                snapshot.StreetAddress = deliveryDetail.StreetAddress;
                snapshot.ExpectedDeliveryDate = deliveryDetail.ExpectedDeliveryDate;
                snapshot.DeliveryInstructions = deliveryDetail.DeliveryInstructions;
            }
        }