C# Class Atomia.Web.Plugin.PublicOrder.Helpers.GeneralHelper

Helper class.
Datei anzeigen Open project: atomia/OrderPage

Public Methods

Method Description
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

Method Details

FetchPluginParameterFromConfig() public static method

public static FetchPluginParameterFromConfig ( string pluginParameterName ) : string
pluginParameterName string /// The plugin parameter name. ///
return string

FetchSetting() public static method

public static FetchSetting ( string settingName, string codeBase, bool returnValueOnly ) : object
settingName string
codeBase string
returnValueOnly bool
return object

FilterPackages() public static method

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.
return List

GetProductProvider() public static method

Gets the product provider.
public static GetProductProvider ( ) : IProductsProvider
return IProductsProvider

GetPublicOrderService() public static method

public static GetPublicOrderService ( HttpContext context ) : AtomiaBillingPublicService
context System.Web.HttpContext
return AtomiaBillingPublicService

GetUnavailableDomainsHelper() public static method

Gets the unavailable domains.
public static GetUnavailableDomainsHelper ( Controller controller, string domains ) : string
controller Controller The controller.
domains string The domains.
return string

PrepareForSubmit() public static method

Prepares for submit.
public static PrepareForSubmit ( string str ) : string
str string The string.
return string

TaxAreShownForReseller() public static method

For currently logged account, get parent - that is resseller and returns property ShowTax
public static TaxAreShownForReseller ( Controller controller ) : bool
controller Controller
return bool