C# Класс Atomia.Web.Plugin.PublicOrder.Helpers.GeneralHelper

Helper class.
Показать файл Открыть проект

Открытые методы

Метод Описание
FetchPluginParameterFromConfig ( string pluginParameterName ) : string

FetchSetting ( string settingName, string codeBase, bool returnValueOnly ) : object
FilterPackages ( Controller controller, AtomiaBillingPublicService atomiaBillingPublicService, System.Guid accountId, System.Guid resellerId, string currencyCode, string countryCode, string filterValue ) : List

Filters the packages.

GetProductProvider ( ) : IProductsProvider

Gets the product provider.

GetPublicOrderService ( HttpContext context ) : AtomiaBillingPublicService
GetUnavailableDomainsHelper ( Controller controller, string domains ) : string

Gets the unavailable domains.

PrepareForSubmit ( string str ) : string

Prepares for submit.

TaxAreShownForReseller ( Controller controller ) : bool

For currently logged account, get parent - that is resseller and returns property ShowTax

Описание методов

FetchPluginParameterFromConfig() публичный статический Метод

public static FetchPluginParameterFromConfig ( string pluginParameterName ) : string
pluginParameterName string /// The plugin parameter name. ///
Результат string

FetchSetting() публичный статический Метод

public static FetchSetting ( string settingName, string codeBase, bool returnValueOnly ) : object
settingName string
codeBase string
returnValueOnly bool
Результат object

FilterPackages() публичный статический Метод

Filters the packages.
public static FilterPackages ( Controller controller, AtomiaBillingPublicService atomiaBillingPublicService, System.Guid accountId, System.Guid resellerId, string currencyCode, string countryCode, string filterValue ) : List
controller Controller The controller.
atomiaBillingPublicService AtomiaBillingPublicService The atomia billing public service.
accountId System.Guid The account id.
resellerId System.Guid The reseller id.
currencyCode string The currency code.
countryCode string The country code.
filterValue string The filter value.
Результат List

GetProductProvider() публичный статический Метод

Gets the product provider.
public static GetProductProvider ( ) : IProductsProvider
Результат IProductsProvider

GetPublicOrderService() публичный статический Метод

public static GetPublicOrderService ( HttpContext context ) : AtomiaBillingPublicService
context System.Web.HttpContext
Результат AtomiaBillingPublicService

GetUnavailableDomainsHelper() публичный статический Метод

Gets the unavailable domains.
public static GetUnavailableDomainsHelper ( Controller controller, string domains ) : string
controller Controller The controller.
domains string The domains.
Результат string

PrepareForSubmit() публичный статический Метод

Prepares for submit.
public static PrepareForSubmit ( string str ) : string
str string The string.
Результат string

TaxAreShownForReseller() публичный статический Метод

For currently logged account, get parent - that is resseller and returns property ShowTax
public static TaxAreShownForReseller ( Controller controller ) : bool
controller Controller
Результат bool