Click or drag to resize
IDiscountInfoProvider Interface
Declares members for DiscountInfo management.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax
C#
public interface IDiscountInfoProvider : IInfoProvider<DiscountInfo>, 
	IInfoByIdProvider<DiscountInfo>, IInfoBySiteAndNameProvider<DiscountInfo>

The IDiscountInfoProvider type exposes the following members.

Methods
  NameDescription
Public methodDelete
Deletes the info object from the underlying data store.
(Inherited from IInfoProviderTInfo.)
Public methodGet
Gets the object query for TInfo retrieval.
(Inherited from IInfoProviderTInfo.)
Public methodGet(Int32)
Gets an instance of info object based on its ID.
(Inherited from IInfoByIdProviderTInfo.)
Public methodGet(String, Int32)
Gets an instance of info object based on its code name and site ID.
(Inherited from IInfoBySiteAndNameProviderTInfo.)
Public methodGetAsync(Int32, NullableCancellationToken)
Asynchronously gets an instance of info object based on its ID.
(Inherited from IInfoByIdProviderTInfo.)
Public methodGetAsync(String, Int32, NullableCancellationToken)
Asynchronously gets an instance of info object based on its code name and site ID.
(Inherited from IInfoBySiteAndNameProviderTInfo.)
Public methodSet
Inserts or updates the info object in the underlying data store.
(Inherited from IInfoProviderTInfo.)
Top
Extension Methods
  NameDescription
Public Extension MethodGetBySite
Returns dataset of all discounts for specified site.
(Defined by DiscountInfoProviderExtensions.)
Top
See Also