| IDiscountInfoProvider Interface |
Namespace: CMS.Ecommerce
public interface IDiscountInfoProvider : IInfoProvider<DiscountInfo>, IInfoByIdProvider<DiscountInfo>, IInfoBySiteAndNameProvider<DiscountInfo>
The IDiscountInfoProvider type exposes the following members.
| Name | Description | |
|---|---|---|
| Delete |
Deletes the info object from the underlying data store.
(Inherited from IInfoProviderTInfo.) | |
| Get |
Gets the object query for TInfo retrieval.
(Inherited from IInfoProviderTInfo.) | |
| Get(Int32) |
Gets an instance of info object based on its ID.
(Inherited from IInfoByIdProviderTInfo.) | |
| Get(String, Int32) |
Gets an instance of info object based on its code name and site ID.
(Inherited from IInfoBySiteAndNameProviderTInfo.) | |
| GetAsync(Int32, NullableCancellationToken) |
Asynchronously gets an instance of info object based on its ID.
(Inherited from IInfoByIdProviderTInfo.) | |
| GetAsync(String, Int32, NullableCancellationToken) |
Asynchronously gets an instance of info object based on its code name and site ID.
(Inherited from IInfoBySiteAndNameProviderTInfo.) | |
| Set |
Inserts or updates the info object in the underlying data store.
(Inherited from IInfoProviderTInfo.) |
| Name | Description | |
|---|---|---|
| GetBySite |
Returns dataset of all discounts for specified site.
(Defined by DiscountInfoProviderExtensions.) |