Exemple #1
0
        public void UpdateOrders(GrouponApi api)
        {
            var updater = new BaseOrderUpdater(api, _log, _time);

            using (var db = _dbFactory.GetRWDb())
            {
                updater.UpdateOrders(db);
            }
        }
Exemple #2
0
 public UpdateGrouponOrderCancellationThread(GrouponApi api,
                                             long companyId,
                                             ISystemMessageService messageService,
                                             TimeSpan?callbackInterval,
                                             TimeSpan betweenProcessingInverval)
     : base("Update" + api.Market + "OrderCancellation", companyId, messageService, callbackInterval)
 {
     _api = api;
     _betweenProcessingInverval = betweenProcessingInverval;
 }
 public GrouponOrderCancellation(GrouponApi api,
                                 ISystemActionService actionService,
                                 ILogService log,
                                 ITime time)
 {
     _api           = api;
     _log           = log;
     _time          = time;
     _actionService = actionService;
 }
 public GrouponOrderAcknowledgement(GrouponApi api, ILogService log, ITime time)
 {
     _api  = api;
     _log  = log;
     _time = time;
 }