Ejemplo n.º 1
0
 public PaymentAppService(ISubscriptionPaymentManager subscriptionPaymentManager,
                          IPaymentGatewayProviderFactory paymentGatewayProviderFactory,
                          ISubscriptionPaymentCache subscriptionPaymentCache,
                          IPaymentIdCache paymentIdCache,
                          ISubscribableEditionCache editionCache,
                          EditionManager editionManager)
 {
     _subscriptionPaymentManager    = subscriptionPaymentManager;
     _editionManager                = editionManager;
     _paymentGatewayProviderFactory = paymentGatewayProviderFactory;
     _subscriptionPaymentCache      = subscriptionPaymentCache;
     _editionCache   = editionCache;
     _paymentIdCache = paymentIdCache;
 }
Ejemplo n.º 2
0
 public ProcessAlipayPaymentJob(ILogger logger,
                                IPaymentIdCache paymentIdCache,
                                ISubscriptionPaymentCache subscriptionPaymentCache,
                                ISubscriptionPaymentManager subscriptionPaymentManager,
                                IObjectMapper objectMapper,
                                IHttpContextAccessor httpContext,
                                IUnitOfWorkManager unitOfWorkManager,
                                TenantManager tenantManager,
                                AlipayConfiguration configuration)
 {
     this._logger                     = logger;
     this._paymentIdCache             = paymentIdCache;
     this._subscriptionPaymentCache   = subscriptionPaymentCache;
     this._subscriptionPaymentManager = subscriptionPaymentManager;
     this._objectMapper               = objectMapper;
     this._httpContext                = httpContext;
     this._tenantManager              = tenantManager;
     this._configuration              = configuration;
     this._unitOfWorkManager          = unitOfWorkManager;
     this.LocalizationSourceName      = VappsConsts.ServerSideLocalizationSourceName;
 }