Documentation

getData

array|false public static
\Bitrix\Sale\DiscountCouponsManager::getData(
 string $coupon,
 boolean $checkCoupon = true
);

Method returns coupon information. Static method.

Parameters

ParameterDescriptionVersion
$couponCoupon code.
$checkCouponWhen parameters is true, additionally checks data.

Example



© «Bitrix24», 2001-2024
Up