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.

Country

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

Country

public class Country : CountryReadOnly

Inheritance

Namespace

Methods

Create (1 of 2)

public static Country Create(IUnitOfWork uow, Guid storeId, string code, string name, 
    bool autoCreateRegions = false)

Create (2 of 2)

public static Country Create(IUnitOfWork uow, Guid id, Guid storeId, string code, string name, 
    bool autoCreateRegions = false)

ClearDefaultCurrency

public Country ClearDefaultCurrency()

ClearDefaultPaymentMethod

public Country ClearDefaultPaymentMethod()

ClearDefaultShippingMethod

public Country ClearDefaultShippingMethod()

SetCode

public Country SetCode(string code)

SetDefaultCurrency (1 of 2)

public Country SetDefaultCurrency(CurrencyReadOnly currency)

SetDefaultCurrency (2 of 2)

public Country SetDefaultCurrency(Guid? currencyId)

SetDefaultPaymentMethod (1 of 2)

public Country SetDefaultPaymentMethod(PaymentMethodReadOnly paymentMethod)

SetDefaultPaymentMethod (2 of 2)

public Country SetDefaultPaymentMethod(Guid? paymentMethodId)

SetDefaultShippingMethod (1 of 2)

public Country SetDefaultShippingMethod(ShippingMethodReadOnly shippingMethod)

SetDefaultShippingMethod (2 of 2)

public Country SetDefaultShippingMethod(Guid? shippingMethodId)

SetName

public Country SetName(string name)

SetSortOrder

public Country SetSortOrder(int sortOrder)

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.