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

Helper class.
Afficher le fichier Open project: atomia/OrderPage

Méthodes publiques

Méthode 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 méthode

public static FetchPluginParameterFromConfig ( string pluginParameterName ) : string
pluginParameterName string /// The plugin parameter name. ///
Résultat string

FetchSetting() public static méthode

public static FetchSetting ( string settingName, string codeBase, bool returnValueOnly ) : object
settingName string
codeBase string
returnValueOnly bool
Résultat object

FilterPackages() public static méthode

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.
Résultat List

GetProductProvider() public static méthode

Gets the product provider.
public static GetProductProvider ( ) : IProductsProvider
Résultat IProductsProvider

GetPublicOrderService() public static méthode

public static GetPublicOrderService ( HttpContext context ) : AtomiaBillingPublicService
context System.Web.HttpContext
Résultat AtomiaBillingPublicService

GetUnavailableDomainsHelper() public static méthode

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

PrepareForSubmit() public static méthode

Prepares for submit.
public static PrepareForSubmit ( string str ) : string
str string The string.
Résultat string

TaxAreShownForReseller() public static méthode

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