StoreProductRepositoryGetAllDiscountsT Method
Retrieves all discounts that include a public (eWeb) discount code and whose products and prices are active.
Namespace: Ignition.Commerce.ProductsAssembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.3454
public IReadOnlyCollection<T> GetAllDiscounts<T>()
where T : Discount
Public Function GetAllDiscounts(Of T As Discount) As IReadOnlyCollection(Of T)
public:
generic<typename T>
where T : Discount
virtual IReadOnlyCollection<T>^ GetAllDiscounts() sealed
abstract GetAllDiscounts : unit -> IReadOnlyCollection<'T> when 'T : Discount
override GetAllDiscounts : unit -> IReadOnlyCollection<'T> when 'T : Discount
- T
- An overridden entity type, as registered with the CustomEntityRegistrar
IReadOnlyCollectionTThe requested discounts