VendrServiceContext
A central service context for easy access to all of Vendr's services
public class VendrServiceContext
Namespace
Constructors
VendrServiceContext
Instantiates a new VendrServiceContext instance
public VendrServiceContext(Lazy<ICountryService> countryService,
Lazy<ICurrencyService> currencyService, Lazy<IEmailTemplateService> emailTemplateService,
Lazy<IOrderService> orderService, Lazy<IOrderStatusService> orderStatusService,
Lazy<IPaymentMethodService> paymentMethodService,
Lazy<IShippingMethodService> shippingMethodService, Lazy<IStoreService> storeService,
Lazy<ITaxService> taxService, Lazy<IProductService> productService,
Lazy<IDiscountService> discountService, Lazy<IGiftCardService> giftCardService,
Lazy<ITranslationService> translationService)
Parameters
Parameter | Description |
---|---|
countryService | |
currencyService | |
emailTemplateService | |
orderService | |
orderStatusService | |
paymentMethodService | |
shippingMethodService | |
storeService | |
taxService | |
productService | |
discountService | |
giftCardService | |
translationService |
Properties
CountryService
Gets the ICountryService
public ICountryService CountryService { get; }
CurrencyService
Gets the ICurrencyService
public ICurrencyService CurrencyService { get; }
DiscountService
Gets the IDiscountService
public IDiscountService DiscountService { get; }
EmailTemplateService
Gets the IEmailTemplateService
public IEmailTemplateService EmailTemplateService { get; }
GiftCardService
Gets the IGiftCardService
public IGiftCardService GiftCardService { get; }
OrderService
Gets the IOrderService
public IOrderService OrderService { get; }
OrderStatusService
Gets the IOrderStatusService
public IOrderStatusService OrderStatusService { get; }
PaymentMethodService
Gets the IPaymentMethodService
public IPaymentMethodService PaymentMethodService { get; }
ProductService
Gets the IProductService
public IProductService ProductService { get; }
ShippingMethodService
Gets the IShippingMethodService
public IShippingMethodService ShippingMethodService { get; }
StoreService
Gets the IStoreService
public IStoreService StoreService { get; }
TaxService
Gets the ITaxService
public ITaxService TaxService { get; }
TranslationService
Gets the ITranslationService
public ITranslationService TranslationService { get; }