Country
public class Country : CountryReadOnly
Inheritance
- class CountryReadOnly
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)