StoreProductRepositoryGetAllDiscountsT Method

Retrieves all discounts that include a public (eWeb) discount code and whose products and prices are active.

Definition

Namespace: Ignition.Commerce.Products
Assembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.3454
C#
public IReadOnlyCollection<T> GetAllDiscounts<T>()
where T : Discount

Type Parameters

T
An overridden entity type, as registered with the CustomEntityRegistrar

Return Value

IReadOnlyCollectionT
The requested discounts

See Also