public CheckoutIntegrationCommand(IAvalaraCommand avalara, IExchangeRatesCommand exchangeRates, IOrderCloudClient orderCloud, IEasyPostShippingService shippingService, AppSettings settings) { _avalara = avalara; _exchangeRates = exchangeRates; _oc = orderCloud; _shippingService = shippingService; _settings = settings; _profiles = new HSShippingProfiles(_settings); }
public CheckoutIntegrationCommand(IDiscountDistributionService discountDistribution, ITaxCalculator taxCalculator, IExchangeRatesCommand exchangeRates, IOrderCloudClient orderCloud, IEasyPostShippingService shippingService, AppSettings settings) { _taxCalculator = taxCalculator; _exchangeRates = exchangeRates; _oc = orderCloud; _shippingService = shippingService; _settings = settings; _discountDistribution = discountDistribution; _profiles = new HSShippingProfiles(_settings); }