Exemplo n.º 1
0
 public CreatePaymentCommandHandler(IPisheyarContext context,
                                    IZarinPalService zarinPal,
                                    ICurrentUserService currentUser)
 {
     _context     = context;
     _zarinPal    = zarinPal;
     _currentUser = currentUser;
 }
Exemplo n.º 2
0
 public PaymentManager(IResponseProvider responseProvider, ITimingService timingService,
                       INotificationManager notifManager, ITransactionManager transactionManager)
 {
     _responseProvider   = responseProvider;
     _timingService      = timingService;
     _notifManager       = notifManager;
     _transactionManager = transactionManager;
     _zarinPalService    = new ZarinPalService();
     _pasargadService    = new PasargadService();
 }
Exemplo n.º 3
0
 public CreatePaymentCommandHandler(IPisheyarContext context,
                                    IZarinPalService zarinPal)
 {
     _context  = context;
     _zarinPal = zarinPal;
 }