saveApplied
array|boolean public static \Bitrix\Catalog\DiscountCouponTable::saveApplied( array $coupons, integer $userId, \Bitrix\Main\Type\DateTime $currentTime );
Method saves applied coupons. Static method. No need to use the method independently.
Parameters
Parameter | Description | Version |
---|---|---|
$coupons | Array of coupons. | |
$userId | User ID. | |
$currentTime | Current date and time. |
Example
© «Bitrix24», 2001-2024