Documentation

OrderCouponsTable

OrderCouponsTable class for handling table with order coupons.

Class methods

MethodDescription Available from version
checkTypeChecks coupon type.
clearByOrderDeletes entries from table related to order with code $order.
clearListDeletes entry from table according to the array $coupon.
getMapReturns list of fields for table with order coupons.
getTableNameReturns name of table with order coupons in database.
validateCouponReturns validator for the field COUPON (coupon type).
validateTypeReturns validator for the field TYPE coupon type).


© «Bitrix24», 2001-2024
Up