C# 클래스 Atomia.Web.Plugin.PublicOrder.Helpers.CountriesHelper

Helper Class.
파일 보기 프로젝트 열기: atomia/OrderPage

공개 메소드들

메소드 설명
GetAllCountries ( System httpContextBase, OrderServiceReferences service ) : List

Get all countries from Billing API, wrapping with a process cache.

GetDefaultCountryCodeFromConfig ( ) : string

Gets the default country code from config.

GetDefaultCurrencyCodeFromConfig ( string countryCode ) : string

Gets the default currency code from config.

If no code is set to default, currency code is determined by country code.

GetEUCountryCodes ( List countries ) : List

Gets the EU country codes.

GetSupportedCountriesSelectList ( List countries ) : List

Gets the supported countries select list.

메소드 상세

GetAllCountries() 공개 정적인 메소드

Get all countries from Billing API, wrapping with a process cache.
public static GetAllCountries ( System httpContextBase, OrderServiceReferences service ) : List
httpContextBase System HttpContext to cache in
service OrderServiceReferences Billing API endpoint
리턴 List

GetDefaultCountryCodeFromConfig() 공개 정적인 메소드

Gets the default country code from config.
public static GetDefaultCountryCodeFromConfig ( ) : string
리턴 string

GetDefaultCurrencyCodeFromConfig() 공개 정적인 메소드

Gets the default currency code from config.
If no code is set to default, currency code is determined by country code.
public static GetDefaultCurrencyCodeFromConfig ( string countryCode ) : string
countryCode string The country code.
리턴 string

GetEUCountryCodes() 공개 정적인 메소드

Gets the EU country codes.
public static GetEUCountryCodes ( List countries ) : List
countries List The countries.
리턴 List

GetSupportedCountriesSelectList() 공개 정적인 메소드

Gets the supported countries select list.
public static GetSupportedCountriesSelectList ( List countries ) : List
countries List The countries.
리턴 List