Ejemplo n.º 1
0
 public BillingService(
     IBillingGateway billingGateway,
     SubscriptionPlanChanger subscriptionPlanChanger,
     FreePlanSelector freePlanSelector,
     PaidSubscriptionSignUpHandler paidSubscriptionSignUpHandler,
     RawBillingEventProcessor rawBillingEventProcessor,
     AccountCanceller accountCanceller,
     HostedPaymentDetailsUrlProvider hostedPaymentDetailsUrlProvider,
     BillingPlanLookup billingPlanLookup)
 {
     this.billingGateway = billingGateway;
     this.subscriptionPlanChanger = subscriptionPlanChanger;
     this.freePlanSelector = freePlanSelector;
     this.paidSubscriptionSignUpHandler = paidSubscriptionSignUpHandler;
     this.rawBillingEventProcessor = rawBillingEventProcessor;
     this.accountCanceller = accountCanceller;
     this.hostedPaymentDetailsUrlProvider = hostedPaymentDetailsUrlProvider;
     this.billingPlanLookup = billingPlanLookup;
 }
Ejemplo n.º 2
0
 public BillPayingService(
     IBillingGateway billingGateway
     )
 {
     _billingGateway = billingGateway;
 }