protected virtual void FillRecurringScheduleUrl(IRecurringOrderCartViewModel roCartVm, CultureInfo cultureInfo) { var url = RecurringScheduleUrlProvider.GetRecurringScheduleUrl(new GetRecurringScheduleUrlParam { CultureInfo = cultureInfo }); roCartVm.RecurringScheduleUrl = url; }
protected virtual void FillNextOcurrence(IRecurringOrderCartViewModel vm, Overture.ServiceModel.Orders.Cart cart, CultureInfo cultureInfo) { vm.NextOccurence = GetNextOccurenceDate(cart.Shipments.First()); vm.FormatedNextOccurence = GetFormattedNextOccurenceDate(vm.NextOccurence, cultureInfo); vm.NextOccurenceValue = GetNextOccurenceDateValue(vm.NextOccurence, cultureInfo); }