Bitrix API

ReserveCondition

Reservation condition in the sale.

This class is similar to enum with constants, so you don't need to create instances for it.

Table of Contents

Constants

ON_ALLOW_DELIVERY  = 'D'
ON_CREATE  = 'O'
ON_FULL_PAY  = 'P'
ON_PAY  = 'R'
ON_SHIP  = 'S'

Methods

getAvailableValues()  : array<string|int, mixed>
Available values of reserve condition.
isValid()  : bool
Validating value of reserve condition.
validate()  : void
Validating value of reserve condition.

Constants

Methods

getAvailableValues()

Available values of reserve condition.

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

isValid()

Validating value of reserve condition.

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

validate()

Validating value of reserve condition.

public static validate(string $value) : void
Parameters
$value : string
Tags
see

ReserveCondition::isValid if you need only checking, without throwed exception.

throws
Exception

if value is invalid.


        
On this page

Search results