Click or drag to resize

ItemHelper Class

Item business logic class.
Inheritance Hierarchy
SystemObject
  Atomia.Billing.Core.Sdk.BusinessLogicItemHelper

Namespace:  Atomia.Billing.Core.Sdk.BusinessLogic
Assembly:  Atomia.Billing.Core.Sdk (in Atomia.Billing.Core.Sdk.dll) Version: 18.10.7096.28998
Syntax
public class ItemHelper : IAdministratorBehavior

The ItemHelper type exposes the following members.

Constructors
  NameDescription
Public methodItemHelper
Initializes a new instance of the ItemHelper class
Top
Methods
  NameDescription
Public methodStatic memberAutoFlushItemsCache
Flushes items caches if auto flush is turned on.
Public methodStatic memberCacheItems
Caches items which are retreived from the database.
Public methodStatic memberCalculateProrateCoeficient
Calculates the prorate coeficient.
Public methodStatic memberClearCaches
Clear all private item caches, supposed to be done whenever any item is modified.
Public methodStatic memberCreateItem
Creates the item.
Public methodStatic memberCreatePriceListForReseller
Creates the price list for reseller.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodStatic memberFillItemsMultilanguageProperties
Fills the items multilanguage properties.
Public methodStatic memberFilterItemPrices(Item, Guid)
Filters item prices.
Public methodStatic memberFilterItemPrices(Item, Guid, Currency)
Filters item prices.
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 memberFlushItemsCache
Flushes the items cache.
Public methodStatic memberGetAllButDefaultItem
Gets all items except default.
Public methodStatic memberGetAllItems
Gets all items.
Public methodStatic memberGetCheapestRecurringItemPrice
Gets the cheapest recurring item price.
Public methodStatic memberGetCounterPrice
Gets the counter price.
Public methodStatic memberGetDefaultItem
Gets the default item for account.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodStatic memberGetItem(Guid)
Gets the item by id where the language is not important (first selected language is taken).
Public methodStatic memberGetItem(Guid, Boolean)
Gets the item by id where the language is not important (first selected language is taken).
Public methodStatic memberGetItem(Guid, Guid)
Gets the item by id for specified language.
Public methodStatic memberGetItemByArticleNumber(String)
Gets the item by article number where the language is not important (first selected language is taken).
Public methodStatic memberGetItemByArticleNumber(String, Guid)
Gets the item by article number for specified language.
Public methodStatic memberGetItemByIdWithInternationals
Gets the item by id.
Public methodStatic memberGetItemCategories
Gets the item categories.
Public methodStatic memberGetItemPrice
Gets the item price.
Public methodStatic memberGetItems
Gets the items by ids for specified language.
Public methodStatic memberGetItemsByArticleNumber
Gets the items by article numbers for specified language.
Public methodStatic memberGetItemsByCategory
Gets the items by category.
Public methodStatic memberGetItemsByProvisioningService
Gets items by provisioning service.
Public methodStatic memberGetItemsCacheFlushTime
Gets the items cache flush time.
Public methodStatic memberGetItemsForCurrency
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.
Public methodStatic memberGetItemsForLanguage
Gets all items for specified language.
Public methodStatic memberGetItemTaxes
Gets the item taxes.
Public methodStatic memberGetMonthsBetweenTwoDates
Calculates number of months between two dates.
Public methodStatic memberGetRenewalPeriod
Returns timespan of renewal period correspondent to startDate.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberInheritPrices(Item)
Inherits the prices.
Public methodStatic memberInheritPrices(Item, Guid)
Inherits the prices.
Public methodStatic memberInheritPrices(IEnumerableItem, Guid)
Inherits the prices.
Public methodStatic memberItemHasFullDowngradePeriod
Checks the item for full DowngradePeriod
Public methodStatic memberItemHasFullUpgradePeriod
Checks the item for full UpgradePeriod
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberRemoveInheritedPrices
Removes the inherited prices.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodStatic memberUpdateItem
Updates the item.
Top
Fields
  NameDescription
Public fieldStatic memberDefaultItemDescription
Description string constant for the Default Item.
Top
See Also