Bitrix API

RestHandler extends ServiceHandler

Class RestHandler

Table of Contents

Constants

ACTIVE_URL  = 'active'
STREAM  = 1
STRING  = 2
TEST_URL  = 'test'

Methods

__construct()  : mixed
BaseServiceHandler constructor.
canCheckout()  : bool
createClone()  : BaseServiceHandler
creditNoDemand()  : ServiceResult
debitNoDemand()  : ServiceResult
findMyDataRefundablePage()  : array<string|int, mixed>
getClientType()  : string
The type of client that the handler can work with
getCurrencyList()  : array<string|int, mixed>
getDemoParams()  : array<string|int, mixed>
getDescription()  : array<string|int, mixed>
getHandlerModeList()  : array<string|int, mixed>
getHandlerType()  : string
getIndicativeFields()  : array<string|int, mixed>
getParamsBusValue()  : array<string|int, mixed>
getPaymentIdFromRequest()  : mixed
getRestrictionList()  : RestrictionInfoCollection
Returns list of restrictions that installed on service add
initiatePay()  : ServiceResult
isClone()  : bool
isMyResponse()  : bool
isTuned()  : bool
OnEndBufferContent()  : mixed
processRequest()  : ServiceResult
sendResponse()  : mixed
setExtraParams()  : mixed
setInitiateMode()  : mixed
showTemplate()  : ServiceResult

Constants

Methods

canCheckout()

public canCheckout(Payment $payment[, Request $request = null ]) : bool
Parameters
$payment : Payment
$request : Request = null
Return values
bool

findMyDataRefundablePage()

public static findMyDataRefundablePage(array<string|int, mixed> $paySystemList) : array<string|int, mixed>
Parameters
$paySystemList : array<string|int, mixed>
Return values
array<string|int, mixed>

getClientType()

The type of client that the handler can work with

public getClientType(mixed $psMode) : string
Parameters
$psMode : mixed

pay system type

Tags
inheritDoc
Return values
string

getCurrencyList()

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

getDemoParams()

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

getDescription()

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

getHandlerModeList()

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

getIndicativeFields()

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

getParamsBusValue()

public getParamsBusValue([Payment $payment = null ]) : array<string|int, mixed>
Parameters
$payment : Payment = null
Return values
array<string|int, mixed>

getPaymentIdFromRequest()

public getPaymentIdFromRequest(Request $request) : mixed
Parameters
$request : Request

initiatePay()

public initiatePay(Payment $payment[, Request|null $request = null ]) : ServiceResult
Parameters
$payment : Payment
$request : Request|null = null
Tags
throws
SystemException
Return values
ServiceResult

isMyResponse()

public static isMyResponse(Request $request, int $paySystemId) : bool
Parameters
$request : Request
$paySystemId : int
Return values
bool

OnEndBufferContent()

public OnEndBufferContent(mixed &$content) : mixed
Parameters
$content : mixed

setExtraParams()

public setExtraParams(array<string|int, mixed> $values) : mixed
Parameters
$values : array<string|int, mixed>

setInitiateMode()

public setInitiateMode(int $mode) : mixed
Parameters
$mode : int

        
On this page

Search results