1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс Batch

Открытые члены

 setLeadItemsArray (array $items)
 setArray (array $data)
 getItems ()
 addItem (Item $item)
 getRequestId ()
 setRequestId ($requestId)
 getSource ()
 setSource ($source)
 getCode ()
 setCode ($code)
 getExternalId ()
 setExternalId ($externalId)

Защищенные данные

 $items = []
 $requestId
 $source
 $code
 $externalId

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

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

Методы

◆ addItem()

addItem ( Item $item)

Add item.

Аргументы
Item$itemItem instance.
Возвращает
$this

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

◆ getCode()

getCode ( )

Get code.

Возвращает
string

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

◆ getExternalId()

getExternalId ( )

Get external ID.

Возвращает
string

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

◆ getItems()

getItems ( )

Get item instances.

Возвращает
Item[]|LeadItem[]

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

◆ getRequestId()

getRequestId ( )

Get request ID.

Возвращает
string

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

◆ getSource()

getSource ( )

Get source.

Возвращает
string

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

◆ setArray()

setArray ( array $data)

Set array.

Аргументы
array$data
Возвращает
$this

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

◆ setCode()

setCode ( $code)

Set code.

Аргументы
string$codeCode.
Возвращает
$this

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

◆ setExternalId()

setExternalId ( $externalId)

Set external ID.

Аргументы
string$externalIdExternal ID.
Возвращает
$this

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

◆ setLeadItemsArray()

setLeadItemsArray ( array $items)

Set lead items array.

Аргументы
array$itemsItems.
Возвращает
$this

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

◆ setRequestId()

setRequestId ( $requestId)

Set request ID.

Аргументы
string$requestIdRequest ID.
Возвращает
$this

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

◆ setSource()

setSource ( $source)

Set request ID.

Аргументы
string$sourceSource.
Возвращает
$this

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

Поля

◆ $code

$code
protected

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

◆ $externalId

$externalId
protected

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

◆ $items

$items = []
protected

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

◆ $requestId

$requestId
protected

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

◆ $source

$source
protected

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


Объявления и описания членов класса находятся в файле:
  • C:/bitrix/modules/seo/lib/webhook/payload/batch.php