BaseCouponCodeInfoProviderTInfo, TProviderGetCouponCodeUseCount Method |
Gets info about how many coupons are available in specific discount and how many of them were already used.
Returns dataset with one table containing CouponCodeDiscountID, Uses, UnlimitedCodeCount and Limit.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
Syntax protected static DataSet GetCouponCodeUseCount(
IEnumerable<int> discountIDs,
string queryName,
string discountIDColumnName
)
Parameters
- discountIDs
- Type: System.Collections.GenericIEnumerableInt32
IDs of discounts to get coupon counts for. Use null for all relevant discounts. - queryName
- Type: SystemString
Name of the query to run. - discountIDColumnName
- Type: SystemString
Name of the discount ID column.
Return Value
Type:
DataSetSee Also