1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс OrderCouponsTable
Граф наследования:OrderCouponsTable:

Открытые статические члены

static getTableName ()
static getMap ()
static validateCoupon ()
static validateType ()
static checkType ($value, $primary, array $row, Main\Entity\Field $field)
static clearByOrder ($order)
static clearList ($coupon)
static applyOrder ($coupons, $order)

Подробное описание

См. определение в файле orderdiscount.php строка 390

Методы

◆ applyOrder()

applyOrder ( $coupons,
$order )
static

Save order in order coupons.

Аргументы
array$couponsCoupons id list.
int$orderOrder id.
Возвращает
void

См. определение в файле orderdiscount.php строка 541

◆ checkType()

checkType ( $value,
$primary,
array $row,
Main\Entity\Field $field )
static

Check coupon type.

Аргументы
int$valueCoupon type.
array | int$primaryPrimary key.
array$rowCurrent data.
Main\Entity\Field$fieldField object.
Возвращает
bool|string

См. определение в файле orderdiscount.php строка 484

◆ clearByOrder()

clearByOrder ( $order)
static

Remove order coupons.

Аргументы
int$orderOrder id.
Возвращает
void

См. определение в файле orderdiscount.php строка 498

◆ clearList()

clearList ( $coupon)
static

Remove coupon list.

Аргументы
array | int$couponOrder coupon list.
Возвращает
void

См. определение в файле orderdiscount.php строка 516

◆ getMap()

getMap ( )
static

Returns entity map definition.

Возвращает
array

См. определение в файле orderdiscount.php строка 407

◆ getTableName()

getTableName ( )
static

Returns DB table name for entity.

Возвращает
string

См. определение в файле orderdiscount.php строка 397

◆ validateCoupon()

validateCoupon ( )
static

Returns validators for COUPON field.

Возвращает
array

См. определение в файле orderdiscount.php строка 456

◆ validateType()

validateType ( )
static

Returns validators for TYPE field.

Возвращает
array

См. определение в файле orderdiscount.php строка 468


Объявления и описания членов класса находятся в файле: