Beispiel #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;
 }
Beispiel #2
0
 public EditionSubscriptionAppService(IMultiTenancyConfig multiTenancyConfig,
                                      IPaymentGatewayProviderFactory paymentGatewayProviderFactory,
                                      ILocalizationContext localizationContext,
                                      ISubscribableEditionCache subscribableEditionCache,
                                      VappsTenantCache tenantCache,
                                      EditionManager editionManager)
 {
     this._multiTenancyConfig            = multiTenancyConfig;
     this._paymentGatewayProviderFactory = paymentGatewayProviderFactory;
     this._localizationContext           = localizationContext;
     this._editionManager           = editionManager;
     this._tenantCache              = tenantCache;
     this._subscribableEditionCache = subscribableEditionCache;
 }