saveApplied
array|boolean public static \Bitrix\Sale\Internals\DiscountCouponTable::saveApplied( array $coupons, integer $userId, \Bitrix\Main\Type\DateTime $currentTime );
Method saves information about applied coupons. Static method.
Parameters
Parameter | Description | Version |
---|---|---|
$coupons | Array with coupons. | |
$userId | User ID. | |
$currentTime | Current date and time. |
Example
© «Bitrix24», 2001-2024