Bitrix API

ClientType

AbstractYes

Client type for pay system

Table of Contents

Constants

B2B  = 'b2b'
The buyer is a legal entity
B2C  = 'b2c'
The buyer is a individual
DEFAULT  = self::B2C
Default value

Methods

getAvailableValues()  : array<string|int, mixed>
Available client type values
isValid()  : bool
Validation client type value

Constants

B2B

The buyer is a legal entity

public mixed B2B = 'b2b'

B2C

The buyer is a individual

public mixed B2C = 'b2c'

DEFAULT

Default value

public mixed DEFAULT = self::B2C

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

Methods

getAvailableValues()

Available client type values

public static getAvailableValues() : array<string|int, mixed>
Return values
array<string|int, mixed>

isValid()

Validation client type value

public static isValid(string $value) : bool
Parameters
$value : string
Return values
bool

true - if the $value matches the available case-sensitive values


        
On this page

Search results