ItemHelper Class |
Namespace: Atomia.Billing.Core.Sdk.BusinessLogic
The ItemHelper type exposes the following members.
| Name | Description | |
|---|---|---|
| ItemHelper | Initializes a new instance of the ItemHelper class |
| Name | Description | |
|---|---|---|
| AutoFlushItemsCache |
Flushes items caches if auto flush is turned on.
| |
| CacheItems |
Caches items which are retreived from the database.
| |
| CalculateProrateCoeficient |
Calculates the prorate coeficient.
| |
| ClearCaches |
Clear all private item caches, supposed to be done whenever any item is modified.
| |
| CreateItem |
Creates the item.
| |
| CreatePriceListForReseller |
Creates the price list for reseller.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| FillItemsMultilanguageProperties |
Fills the items multilanguage properties.
| |
| FilterItemPrices(Item, Guid) |
Filters item prices.
| |
| FilterItemPrices(Item, Guid, Currency) |
Filters item prices.
| |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| FlushItemsCache |
Flushes the items cache.
| |
| GetAllButDefaultItem |
Gets all items except default.
| |
| GetAllItems |
Gets all items.
| |
| GetCheapestRecurringItemPrice |
Gets the cheapest recurring item price.
| |
| GetCounterPrice |
Gets the counter price.
| |
| GetDefaultItem |
Gets the default item for account.
| |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetItem(Guid) |
Gets the item by id where the language is not important (first selected language is taken).
| |
| GetItem(Guid, Boolean) |
Gets the item by id where the language is not important (first selected language is taken).
| |
| GetItem(Guid, Guid) |
Gets the item by id for specified language.
| |
| GetItemByArticleNumber(String) |
Gets the item by article number where the language is not important (first selected language is taken).
| |
| GetItemByArticleNumber(String, Guid) |
Gets the item by article number for specified language.
| |
| GetItemByIdWithInternationals |
Gets the item by id.
| |
| GetItemCategories |
Gets the item categories.
| |
| GetItemPrice |
Gets the item price.
| |
| GetItems |
Gets the items by ids for specified language.
| |
| GetItemsByArticleNumber |
Gets the items by article numbers for specified language.
| |
| GetItemsByCategory |
Gets the items by category.
| |
| GetItemsByProvisioningService |
Gets items by provisioning service.
| |
| GetItemsCacheFlushTime |
Gets the items cache flush time.
| |
| GetItemsForCurrency |
List items which have defined prices for given currency and disjunctions/conjunctions condition. If currency is not set then list items regards to disjunctions/conjunctions condition only.
| |
| GetItemsForLanguage |
Gets all items for specified language.
| |
| GetItemTaxes |
Gets the item taxes.
| |
| GetMonthsBetweenTwoDates |
Calculates number of months between two dates.
| |
| GetRenewalPeriod |
Returns timespan of renewal period correspondent to startDate.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| InheritPrices(Item) |
Inherits the prices.
| |
| InheritPrices(Item, Guid) |
Inherits the prices.
| |
| InheritPrices(IEnumerableItem, Guid) |
Inherits the prices.
| |
| ItemHasFullDowngradePeriod |
Checks the item for full DowngradePeriod
| |
| ItemHasFullUpgradePeriod |
Checks the item for full UpgradePeriod
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| RemoveInheritedPrices |
Removes the inherited prices.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| UpdateItem |
Updates the item.
|
| Name | Description | |
|---|---|---|
| DefaultItemDescription |
Description string constant for the Default Item.
|