Exemple #1
0
 public ChangeSubscriptionUserStory(IBraintreeConfiguration braintreeConfiguration,
                                    IPaymentMethodRepository paymentMethod,
                                    IAccountRepository account,
                                    IAccountDiscountRepository accountDiscountRepository,
                                    IDiscountRepository discountRepository)
 {
     _braintreeConfiguration = braintreeConfiguration;
     _paymentMethod          = paymentMethod;
     _account = account;
     _accountDiscountRepository = accountDiscountRepository;
     _discountRepository        = discountRepository;
 }
 public RedeemCouponUserStory(IAccountRepository accountRepository, IAccountDiscountRepository accountDiscount, IDiscountRepository discount)
 {
     _accountRepository = accountRepository;
     _accountDiscount   = accountDiscount;
     _discount          = discount;
 }