Click or drag to resize

AccountsHelper Methods

The AccountsHelper type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAddAttributesToNewAccount
Copies customer attributes and identity properties to the new account from the reseller.
Public methodStatic memberAreCampaignsAllowedForReseller
Checks whether campaigns are allowed for reseller or not.
Public methodStatic memberCreateAccountReactivationRequest
Creates new account reactivation request.
Public methodStatic memberCreateAccountTerminationRequest
Creates new account termination request.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodStatic memberExpireAccountDetailsFromCache
Expires the account details from cache.
Public methodStatic memberExpireAccountFromCache
Expires the account from cache.
Public methodStatic memberExpirePriceListOwners
Expires the price list owners.
Public methodStatic memberExpirePriceListOwnersList
Expires the price list owners list.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberGetAccount(Guid)
Gets account by its id.
Public methodStatic memberGetAccount(String)
Gets account by its name.
Public methodStatic memberGetAccountAddress
Gets account's address by its id.
Public methodStatic memberGetAccountByName Obsolete.
Get account by name.
Public methodStatic memberGetAccountByNameFromCache
Gets account by its name from cache.
Public methodStatic memberGetAccountCountryByCode
Gets country by country code.
Public methodStatic memberGetAccountDefaultLanguageId
Get an account default language id from the account.
Public methodStatic memberGetAccountDetails(Guid)
Gets the account details for an account from the cache.
Public methodStatic memberGetAccountDetails(String)
Gets the account details by hash.
Public methodStatic memberGetAccountDetailsFromDatabase
Gets the account details for account specified with id.
Public methodStatic memberGetAccountForUser Obsolete.
Gets account by username.
Public methodStatic memberGetAccountFromCache
Gets an account from the account cache.
Public methodStatic memberGetAccounts(ListGuid)
Gets the accounts with the given ids.
Public methodStatic memberGetAccounts(ListGuid, Boolean)
Gets the accounts with the given ids.
Public methodStatic memberGetAccountTerminationRequests
Gets account status change requests of given type for customer.
Public methodStatic memberGetConfigurationForReseller
Gets the configuration for the specific reseller
Public methodStatic memberGetCountry(Guid, String, String)
Gets country code and country tag for given account id.
Public methodStatic memberGetCountry(Guid, String, String, String, Boolean)
Gets country code and country tag for given account id.
Public methodStatic memberGetCountryByCode
Gets country by country code.
Public methodStatic memberGetDefaultPaymentMethod
Gets the default payment method.
Public methodStatic memberGetEmailAddress
Gets account's email address by its id.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodStatic memberGetLanguageByCode
Gets the language by code.
Public methodStatic memberGetLanguageByCultureInfo
Gets the language by culture info.
Public methodStatic memberGetMasterAccount
Gets master account.
Public methodStatic memberGetParentAccount
Gets parent account of the account with the given id.
Public methodStatic memberGetPaymentMethods
Gets the available payment methods for given account.
Public methodStatic memberGetPendingTerminationRequest
Gets pending termination request for customer with given account id.
Public methodStatic memberGetPriceListOwnerId Obsolete.
Gets the price list owner's id.
Public methodStatic memberGetPriceListOwners
Gets the price list owners.
Public methodStatic memberGetResellerConfiguration
Gets the reseller configuration for the customer.
Public methodStatic memberGetSubaccounts
Gets the subaccounts for given account.
Public methodStatic memberGetSubresellerAccounts
Gets all subresellers accounts.
Public methodStatic memberGetTemplate Obsolete.
Gets the template by its name.
Public methodStatic memberGetTerminationDate
Gets termination date for account and given termination option.
Public methodStatic memberGetThemeCustomization
Gets the theme customization.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberIsOverMaxDebt(Guid)
Determines whether customer is over maximum debt.
Public methodStatic memberIsOverMaxDebt(AccountDetails)
Determines whether customer is over maximum debt.
Public methodStatic memberIsPendingTermination
Checks if customer's account is pending termination.
Public methodStatic memberIsPossibleToReactivate
Checks if reactivation is possible for customer with id accountId.
Public methodStatic memberListAccounts
Lists the accounts.
Public methodStatic memberListAccountsForReminder
Lists the accounts for reminder.
Public methodStatic memberListAccountsPendingTermination
Lists accounts pending termination.
Public methodStatic memberListAccountsTerminatedByCustomers
Lists the accounts terminated by customers.
Public methodStatic memberListCustomersForPeriodicInvoicing
Lists the customers with next invoice dates for periodic invoicing.
Public methodStatic memberListPriceListOwners
Lists the price list owners.
Public methodStatic memberListResellersGuidForPeriodicInvoicing
Lists the resellers unique identifier for periodic invoicing.
Public methodStatic memberListResellersWithCustomPrices
Lists the resellers with custom prices.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberReactivateAccount
Checks if reactivation is possible for customer with id accountId.
Public methodStatic memberResellerGetAccountForUser
Gets account by username.
Public methodStatic memberResellerGetAccountForUserWithDetails
Calls the GetAccountForUserWithDetails in Account API.
Public methodStatic memberSaveRequests
Saves or updates requests.
Public methodStatic memberSearchSubAccounts
Saarches in sub accounts (only one level).
Public methodStatic memberShouldCreateInvoice(Guid)
Shoulds the create invoice.
Public methodStatic memberShouldCreateInvoice(Subscription, NullableBoolean)
Should invoice be created
Public methodStatic memberShouldCreateInvoice(Account, AccountDetails, AccountDetails)
Shoulds the create invoice.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodStatic memberUpdateAccount
Updates the account.
Public methodStatic memberUpdateAccountDetails
Updates the account details.
Top
See Also