Previous Docs Version

The documentation you are viewing is for a previous version of the Vendr product. Click here to jump to the current stable version.

ISessionManager

API reference for ISessionManager in Vendr, the eCommerce solution for Umbraco v8+

ISessionManager

public interface ISessionManager

Namespace

Methods

ClearCurrentOrder

public void ClearCurrentOrder(Guid storeId)

ClearDefaultCurrency

public void ClearDefaultCurrency(Guid storeId)

ClearDefaultPaymentCountry

public void ClearDefaultPaymentCountry(Guid storeId)

ClearDefaultPaymentMethod

public void ClearDefaultPaymentMethod(Guid storeId)

ClearDefaultPaymentRegion

public void ClearDefaultPaymentRegion(Guid storeId)

ClearDefaultShippingCountry

public void ClearDefaultShippingCountry(Guid storeId)

ClearDefaultShippingMethod

public void ClearDefaultShippingMethod(Guid storeId)

ClearDefaultShippingRegion

public void ClearDefaultShippingRegion(Guid storeId)

ClearDefaultTaxClass

public void ClearDefaultTaxClass(Guid storeId)

GetCurrentFinalizedOrder

public OrderReadOnly GetCurrentFinalizedOrder(Guid storeId)

GetCurrentOrder

public OrderReadOnly GetCurrentOrder(Guid storeId)

GetDefaultCurrency

public CurrencyReadOnly GetDefaultCurrency(Guid storeId)

GetDefaultPaymentCountry

public CountryReadOnly GetDefaultPaymentCountry(Guid storeId)

GetDefaultPaymentMethod

public PaymentMethodReadOnly GetDefaultPaymentMethod(Guid storeId)

GetDefaultPaymentRegion

public RegionReadOnly GetDefaultPaymentRegion(Guid storeId)

GetDefaultShippingCountry

public CountryReadOnly GetDefaultShippingCountry(Guid storeId)

GetDefaultShippingMethod

public ShippingMethodReadOnly GetDefaultShippingMethod(Guid storeId)

GetDefaultShippingRegion

public RegionReadOnly GetDefaultShippingRegion(Guid storeId)

GetDefaultTaxClass

public TaxClassReadOnly GetDefaultTaxClass(Guid storeId)

GetOrCreateCurrentOrder (1 of 2)

public OrderReadOnly GetOrCreateCurrentOrder(Guid storeId)

GetOrCreateCurrentOrder (2 of 2)

public OrderReadOnly GetOrCreateCurrentOrder(Guid storeId, string customerReference)

SetCurrentOrder (1 of 2)

public void SetCurrentOrder(Guid storeId, Guid id)

SetCurrentOrder (2 of 2)

public void SetCurrentOrder(Guid storeId, OrderReadOnly entity)

SetDefaultCurrency (1 of 2)

public void SetDefaultCurrency(Guid storeId, Guid id, bool applyToCurrentOrder = false)

SetDefaultCurrency (2 of 2)

public void SetDefaultCurrency(Guid storeId, CurrencyReadOnly entity, 
    bool applyToCurrentOrder = false)

SetDefaultPaymentCountry (1 of 2)

public void SetDefaultPaymentCountry(Guid storeId, Guid id, bool applyToCurrentOrder = false)

SetDefaultPaymentCountry (2 of 2)

public void SetDefaultPaymentCountry(Guid storeId, CountryReadOnly entity, 
    bool applyToCurrentOrder = false)

SetDefaultPaymentMethod (1 of 2)

public void SetDefaultPaymentMethod(Guid storeId, Guid id, bool applyToCurrentOrder = false)

SetDefaultPaymentMethod (2 of 2)

public void SetDefaultPaymentMethod(Guid storeId, PaymentMethodReadOnly entity, 
    bool applyToCurrentOrder = false)

SetDefaultPaymentRegion (1 of 2)

public void SetDefaultPaymentRegion(Guid storeId, Guid countryId, Guid id, 
    bool applyToCurrentOrder = false)

SetDefaultPaymentRegion (2 of 2)

public void SetDefaultPaymentRegion(Guid storeId, RegionReadOnly entity, 
    bool applyToCurrentOrder = false)

SetDefaultShippingCountry (1 of 2)

public void SetDefaultShippingCountry(Guid storeId, Guid id, bool applyToCurrentOrder = false)

SetDefaultShippingCountry (2 of 2)

public void SetDefaultShippingCountry(Guid storeId, CountryReadOnly entity, 
    bool applyToCurrentOrder = false)

SetDefaultShippingMethod (1 of 2)

public void SetDefaultShippingMethod(Guid storeId, Guid id, bool applyToCurrentOrder = false)

SetDefaultShippingMethod (2 of 2)

public void SetDefaultShippingMethod(Guid storeId, ShippingMethodReadOnly entity, 
    bool applyToCurrentOrder = false)

SetDefaultShippingRegion (1 of 2)

public void SetDefaultShippingRegion(Guid storeId, Guid countryId, Guid id, 
    bool applyToCurrentOrder = false)

SetDefaultShippingRegion (2 of 2)

public void SetDefaultShippingRegion(Guid storeId, RegionReadOnly entity, 
    bool applyToCurrentOrder = false)

SetDefaultTaxClass (1 of 2)

public void SetDefaultTaxClass(Guid storeId, Guid id, bool applyToCurrentOrder = false)

SetDefaultTaxClass (2 of 2)

public void SetDefaultTaxClass(Guid storeId, TaxClassReadOnly entity, 
    bool applyToCurrentOrder = false)

Edit this page on GitHub

Site + logo design © 2022 Outfield Digital Ltd. Content contributions licensed under MIT.
Vendr® is a Registered Trademark of Outfield Digital Ltd.