Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
paymentpaysystemavailabletable.php
1<?php
9
15
16Loc::loadMessages(__FILE__);
17
35{
36 public static function getTableName()
37 {
38 return 'b_sale_order_payment_ps_available';
39 }
40
44 public static function getMap()
45 {
46 return [
47 'ID' => new IntegerField('ID', [
48 'primary' => true,
49 'autocomplete' => true,
50 ]),
51 'PAYMENT_ID' => new IntegerField('PAYMENT_ID', [
52 'required' => true,
53 ]),
54 'PAY_SYSTEM_ID' => new IntegerField('PAY_SYSTEM_ID', [
55 'required' => true,
56 ]),
57 //
58 new Reference('PAYMENT', PaymentTable::class, Join::on('this.PAYMENT_ID', 'ref.ID')),
59 new Reference('PAY_SYSTEM', PaySystemActionTable::class, Join::on('this.PAY_SYSTEM_ID', 'ref.ID')),
60 ];
61 }
62}
static loadMessages($file)
Definition loc.php:64