AccountsHelper Class |
Namespace: Atomia.Billing.Core.Sdk.BusinessLogic
The AccountsHelper type exposes the following members.
| Name | Description | |
|---|---|---|
| AccountsHelper | Initializes a new instance of the AccountsHelper class |
| Name | Description | |
|---|---|---|
| LastPeriodicInvoicingAttributeName |
Name of attribute marking when should the next periodoc invoice be issued.
| |
| NextPeriodicInvoiceAttributeName |
Name of attribute marking when should the next periodoc invoice be issued.
| |
| PeriodicInvoicingAttributeName |
Name of attribute marking whether periodic invoicing is turned on.
| |
| PeriodicInvoicingPeriodInMonthsAttributeName |
Name of attribute marking period in months when periodic invoicing is turned on.
|
| Name | Description | |
|---|---|---|
| AddAttributesToNewAccount |
Copies customer attributes and identity properties to the new account from the reseller.
| |
| AreCampaignsAllowedForReseller |
Checks whether campaigns are allowed for reseller or not.
| |
| CreateAccountReactivationRequest |
Creates new account reactivation request.
| |
| CreateAccountTerminationRequest |
Creates new account termination request.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| ExpireAccountDetailsFromCache |
Expires the account details from cache.
| |
| ExpireAccountFromCache |
Expires the account from cache.
| |
| ExpirePriceListOwners |
Expires the price list owners.
| |
| ExpirePriceListOwnersList |
Expires the price list owners list.
| |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetAccount(Guid) |
Gets account by its id.
| |
| GetAccount(String) |
Gets account by its name.
| |
| GetAccountAddress |
Gets account's address by its id.
| |
| GetAccountByName | Obsolete.
Get account by name.
| |
| GetAccountByNameFromCache |
Gets account by its name from cache.
| |
| GetAccountCountryByCode |
Gets country by country code.
| |
| GetAccountDefaultLanguageId |
Get an account default language id from the account.
| |
| GetAccountDetails(Guid) |
Gets the account details for an account from the cache.
| |
| GetAccountDetails(String) |
Gets the account details by hash.
| |
| GetAccountDetailsFromDatabase |
Gets the account details for account specified with id.
| |
| GetAccountForUser | Obsolete.
Gets account by username.
| |
| GetAccountFromCache |
Gets an account from the account cache.
| |
| GetAccounts(ListGuid) |
Gets the accounts with the given ids.
| |
| GetAccounts(ListGuid, Boolean) |
Gets the accounts with the given ids.
| |
| GetAccountTerminationRequests |
Gets account status change requests of given type for customer.
| |
| GetConfigurationForReseller |
Gets the configuration for the specific reseller
| |
| GetCountry(Guid, String, String) |
Gets country code and country tag for given account id.
| |
| GetCountry(Guid, String, String, String, Boolean) |
Gets country code and country tag for given account id.
| |
| GetCountryByCode |
Gets country by country code.
| |
| GetDefaultPaymentMethod |
Gets the default payment method.
| |
| GetEmailAddress |
Gets account's email address by its id.
| |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetLanguageByCode |
Gets the language by code.
| |
| GetLanguageByCultureInfo |
Gets the language by culture info.
| |
| GetMasterAccount |
Gets master account.
| |
| GetParentAccount |
Gets parent account of the account with the given id.
| |
| GetPaymentMethods |
Gets the available payment methods for given account.
| |
| GetPendingTerminationRequest |
Gets pending termination request for customer with given account id.
| |
| GetPriceListOwnerId | Obsolete.
Gets the price list owner's id.
| |
| GetPriceListOwners |
Gets the price list owners.
| |
| GetResellerConfiguration |
Gets the reseller configuration for the customer.
| |
| GetSubaccounts |
Gets the subaccounts for given account.
| |
| GetSubresellerAccounts |
Gets all subresellers accounts.
| |
| GetTemplate | Obsolete.
Gets the template by its name.
| |
| GetTerminationDate |
Gets termination date for account and given termination option.
| |
| GetThemeCustomization |
Gets the theme customization.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IsOverMaxDebt(Guid) |
Determines whether customer is over maximum debt.
| |
| IsOverMaxDebt(AccountDetails) |
Determines whether customer is over maximum debt.
| |
| IsPendingTermination | Checks if customer's account is pending termination. | |
| IsPossibleToReactivate |
Checks if reactivation is possible for customer with id accountId.
| |
| ListAccounts |
Lists the accounts.
| |
| ListAccountsForReminder |
Lists the accounts for reminder.
| |
| ListAccountsPendingTermination |
Lists accounts pending termination.
| |
| ListAccountsTerminatedByCustomers |
Lists the accounts terminated by customers.
| |
| ListCustomersForPeriodicInvoicing |
Lists the customers with next invoice dates for periodic invoicing.
| |
| ListPriceListOwners |
Lists the price list owners.
| |
| ListResellersGuidForPeriodicInvoicing |
Lists the resellers unique identifier for periodic invoicing.
| |
| ListResellersWithCustomPrices |
Lists the resellers with custom prices.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ReactivateAccount |
Checks if reactivation is possible for customer with id accountId.
| |
| ResellerGetAccountForUser |
Gets account by username.
| |
| ResellerGetAccountForUserWithDetails |
Calls the GetAccountForUserWithDetails in Account API.
| |
| SaveRequests |
Saves or updates requests.
| |
| SearchSubAccounts |
Saarches in sub accounts (only one level).
| |
| ShouldCreateInvoice(Guid) |
Shoulds the create invoice.
| |
| ShouldCreateInvoice(Subscription, NullableBoolean) |
Should invoice be created
| |
| ShouldCreateInvoice(Account, AccountDetails, AccountDetails) |
Shoulds the create invoice.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| UpdateAccount |
Updates the account.
| |
| UpdateAccountDetails |
Updates the account details.
|
| Name | Description | |
|---|---|---|
| AccountApiMock | ||
| AccountStateOk |
Account state OK
| |
| AccountStateSuspended |
Account state Suspended
| |
| AccountStateTerminated |
Account state Terminated
| |
| AccountStateUnsuspended |
Account state Unsuspended
| |
| AvailableInvoiceVias |
The possible strings ReceiveInvoiceVia can have
|