Bitrix API

Payment

FinalYes

Table of Contents

Constants

ERROR_CODE_API_NOT_AVAILABLE  = 'CRM_BARCODE_PAYMENT_API_NOT_AVAILABLE'

Methods

__construct()  : mixed
isSavedTemporary()  : bool
render()  : string|false
saveToTemporaryFile()  : string|null
Renders and saves the barcode to a temporary file
validate()  : Result

Constants

ERROR_CODE_API_NOT_AVAILABLE

public mixed ERROR_CODE_API_NOT_AVAILABLE = 'CRM_BARCODE_PAYMENT_API_NOT_AVAILABLE'

Methods

isSavedTemporary()

public isSavedTemporary() : bool
Return values
bool

render()

public render() : string|false
Return values
string|false

saveToTemporaryFile()

Renders and saves the barcode to a temporary file

public saveToTemporaryFile([int $hoursToKeep = 1 ]) : string|null
Parameters
$hoursToKeep : int = 1
Tags
throws
InvalidOperationException
Return values
string|null
  • path to temporary file or null on failure

validate()

public validate() : Result
Return values
Result

        
On this page

Search results