public PayViewModel(IEventAggregator eventAggregator, IHudService hudService, ISadmApiService sadmApiService, INavigationService navigationService, ISettingsService settingsService, ISadmApiService apiService) : base(navigationService, settingsService, hudService, apiService)
 {
     _navigationService  = navigationService;
     _event              = eventAggregator;
     _hudService         = hudService;
     this.sadmApiService = sadmApiService;
     _event.GetEvent <UrlChangeEvent>().Subscribe(ResponseUrlPayment);
 }
Esempio n. 2
0
 public ReportListViewModel(INavigationService navigationService,
                            ISettingsService settingsService,
                            IHudService hudService,
                            ISadmApiService apiService) :
     base(navigationService, settingsService, hudService, apiService)
 {
     ReportList = new ObservableCollectionExt <Report>();
 }
 public NotificationsViewModel(INavigationService navigationService,
                               ISettingsService settingsService,
                               IHudService hudService,
                               ISadmApiService apiService) :
     base(navigationService, settingsService, hudService, apiService)
 {
     ShowNotificationCommand = new AsyncCommand(GoToPageAsync <Views.NotificationPage>);
     NotificationList        = new ObservableCollection <Notification> {
         new Notification {
             Title   = "Tu pago se ha realizado",
             Message = "",
             Type    = Enums.NotificationType.Success
         },
         new Notification {
             Title   = "Se ha reportado una fuga en el...",
             Message = "",
             Type    = Enums.NotificationType.Error
         },
         new Notification {
             Title   = "Tu reporte se ha generado",
             Message = "",
             Type    = Enums.NotificationType.Success
         },
         new Notification {
             Title   = "La fecha de vencimiento de tu...",
             Message = "",
             Type    = Enums.NotificationType.Success
         },
         new Notification {
             Title   = "La fecha de vencimiento de tu...",
             Message = "",
             Type    = Enums.NotificationType.Error
         },
         new Notification {
             Title   = "La fecha de vencimiento de tu...",
             Message = "",
             Type    = Enums.NotificationType.Success
         }
     };
 }
 public ServicesViewModel(INavigationService navigationService,
                          ISettingsService settingsService,
                          IHudService hudService,
                          ISadmApiService apiService) :
     base(navigationService, settingsService, hudService, apiService)
 {
     ShowServiceCommand = new AsyncCommand(ShowServiceAsync);
     ServiceList        = new ObservableCollection <SadmService>
     {
         new SadmService
         {
             Icon        = "document.png",
             Name        = AppResources.GenerateReport.ToUpper(),
             Description = AppResources.GenerateReportDesciption
         },
         new SadmService
         {
             Icon        = "bigclock.png",
             Name        = AppResources.RequestStatus.ToUpper(),
             Description = AppResources.RequestStatusDescription
         }
     };
 }
Esempio n. 5
0
 public AuthenticationHelper(ISadmApiService sadmApiService, ISettingsService settingsService)
 {
     this.sadmApiService  = sadmApiService;
     this.settingsService = settingsService;
 }
Esempio n. 6
0
 public PaymentBanamexViewModel(ISadmApiService sadmApiService, INavigationService navigationService, ISettingsService settingsService, IHudService hudService, ISadmApiService apiService) : base(navigationService, settingsService, hudService, apiService)
 {
     this.sadmApiService = sadmApiService;
 }