Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс ClientType

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

static getAvailableValues ()
 
static isValid (string $value)
 

Открытые атрибуты

const DEFAULT = self::B2C
 
const B2C = 'b2c'
 
const B2B = 'b2b'
 

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

Client type for pay system

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

Методы

◆ getAvailableValues()

static getAvailableValues ( )
static

Available client type values

Возвращает
array

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

◆ isValid()

static isValid ( string $value)
static

Validation client type value

Аргументы
string$value
Возвращает
bool true - if the $value matches the available case-sensitive values

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

Данные класса

◆ B2B

const B2B = 'b2b'

The buyer is a legal entity

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

◆ B2C

const B2C = 'b2c'

The buyer is a individual

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

◆ DEFAULT

const DEFAULT = self::B2C

Default value

For example, if the value is not filled in the payment system

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