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.

ShippingMethod

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

ShippingMethod

public class ShippingMethod : ShippingMethodReadOnly, IHasWritableServicePrices<ShippingMethod>, 
    IHasWrtiableAllowedCountryRegions<ShippingMethod>

Inheritance

Namespace

Methods

Create (1 of 2)

public static ShippingMethod Create(IUnitOfWork uow, Guid storeId, string alias, string name)

Create (2 of 2)

public static ShippingMethod Create(IUnitOfWork uow, Guid id, Guid storeId, string alias, 
    string name)

AllowInCountry (1 of 2)

public ShippingMethod AllowInCountry(CountryReadOnly country)

AllowInCountry (2 of 2)

public ShippingMethod AllowInCountry(Guid countryId)

AllowInRegion (1 of 2)

public ShippingMethod AllowInRegion(RegionReadOnly region)

AllowInRegion (2 of 2)

public ShippingMethod AllowInRegion(Guid countryId, Guid regionId)

ClearCountryPriceForCurrency (1 of 2)

public ShippingMethod ClearCountryPriceForCurrency(CountryReadOnly country, 
    CurrencyReadOnly currency)

ClearCountryPriceForCurrency (2 of 2)

public ShippingMethod ClearCountryPriceForCurrency(Guid countryId, Guid currencyId)

ClearDefaultPriceForCurrency (1 of 2)

public ShippingMethod ClearDefaultPriceForCurrency(CurrencyReadOnly currency)

ClearDefaultPriceForCurrency (2 of 2)

public ShippingMethod ClearDefaultPriceForCurrency(Guid currencyId)

ClearPricesForCountry (1 of 2)

public ShippingMethod ClearPricesForCountry(CountryReadOnly country, 
    CurrencyReadOnly currency = null)

ClearPricesForCountry (2 of 2)

public ShippingMethod ClearPricesForCountry(Guid countryId, Guid? currencyId = default(Guid?))

ClearPricesForCurrency (1 of 2)

public ShippingMethod ClearPricesForCurrency(CurrencyReadOnly currency)

ClearPricesForCurrency (2 of 2)

public ShippingMethod ClearPricesForCurrency(Guid currencyId)

ClearPricesForRegion (1 of 2)

public ShippingMethod ClearPricesForRegion(RegionReadOnly region, CurrencyReadOnly currency = null)

ClearPricesForRegion (2 of 2)

public ShippingMethod ClearPricesForRegion(Guid countryId, Guid regionId, 
    Guid? currencyId = default(Guid?))

ClearRegionPriceForCurrency (1 of 2)

public ShippingMethod ClearRegionPriceForCurrency(RegionReadOnly region, CurrencyReadOnly currency)

ClearRegionPriceForCurrency (2 of 2)

public ShippingMethod ClearRegionPriceForCurrency(Guid countryId, Guid regionId, Guid currencyId)

ClearTaxClass

public ShippingMethod ClearTaxClass()

DisallowInCountry (1 of 2)

public ShippingMethod DisallowInCountry(CountryReadOnly country)

DisallowInCountry (2 of 2)

public ShippingMethod DisallowInCountry(Guid countryId)

DisallowInRegion (1 of 2)

public ShippingMethod DisallowInRegion(RegionReadOnly region)

DisallowInRegion (2 of 2)

public ShippingMethod DisallowInRegion(Guid countryId, Guid regionId)

SetAlias

public ShippingMethod SetAlias(string alias)

SetCountryPriceForCurrency (1 of 2)

public ShippingMethod SetCountryPriceForCurrency(CountryReadOnly country, 
    CurrencyReadOnly currency, decimal value)

SetCountryPriceForCurrency (2 of 2)

public ShippingMethod SetCountryPriceForCurrency(Guid countryId, Guid currencyId, decimal value)

SetDefaultPriceForCurrency (1 of 2)

public ShippingMethod SetDefaultPriceForCurrency(CurrencyReadOnly currency, decimal value)

SetDefaultPriceForCurrency (2 of 2)

public ShippingMethod SetDefaultPriceForCurrency(Guid currencyId, decimal value)

SetImage

public ShippingMethod SetImage(string id)

SetName (1 of 2)

public ShippingMethod SetName(string name)

SetName (2 of 2)

public ShippingMethod SetName(string name, string alias)

SetRegionPriceForCurrency (1 of 2)

public ShippingMethod SetRegionPriceForCurrency(RegionReadOnly region, CurrencyReadOnly currency, 
    decimal value)

SetRegionPriceForCurrency (2 of 2)

public ShippingMethod SetRegionPriceForCurrency(Guid countryId, Guid regionId, Guid currencyId, 
    decimal value)

SetSku

public ShippingMethod SetSku(string sku)

SetSortOrder

public ShippingMethod SetSortOrder(int sortOrder)

SetTaxClass (1 of 2)

public ShippingMethod SetTaxClass(TaxClass taxClass)

SetTaxClass (2 of 2)

public ShippingMethod SetTaxClass(Guid? taxClassId)

Edit this page on GitHub

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