Example #1
0
 public override Task CheckInstructionNotificationAsync(GatewayInstructionNotificationMessage message)
 {
     return(this.RespondToInstructionNotificationAsync(message, _navData, () =>
     {
         _mobileData = _navData.Data;
         RaiseAllPropertiesChanged();
     }));
 }
Example #2
0
        public override Task CheckInstructionNotificationAsync(GatewayInstructionNotificationMessage message)
        {
            var currentMobileNavData = _navigationService.CurrentNavData as NavData <MobileData>;

            if (currentMobileNavData != null)
            {
                return(this.RespondToInstructionNotificationAsync(message, currentMobileNavData, null));
            }

            return(Task.FromResult(0));
        }
Example #3
0
        public override Task CheckInstructionNotificationAsync(GatewayInstructionNotificationMessage message)
        {
            var orderID = _order.ID;

            return(this.RespondToInstructionNotificationAsync(message, _navData, () =>
            {
                _mobileData = _navData.Data;
                _order = _mobileData.Order.Items.FirstOrDefault(i => i.ID == orderID);
                _navData.OtherData["Order"] = _order;
                RaiseAllPropertiesChanged();
            }));
        }