OrderPayment
Table of Contents
Methods
-
buildCheckHtml()
: string
-
createButtonAddPayment()
: string
-
getEdit()
: string
-
getPaySystemList()
: array<string|int, mixed>
-
getPaySystemParams()
: mixed
-
getScripts()
: string
-
getView()
: string
-
modifyData()
: mixed
-
updateData()
: Result
buildCheckHtml()
public
static buildCheckHtml(mixed $checkList) : string
Parameters
-
$checkList
: mixed
-
public
static createButtonAddPayment([mixed $params = [] ]) : string
Parameters
-
$params
: mixed
= []
-
getEdit()
public
static getEdit(Payment $payment[, int $index = 1 ][, mixed $dataForRecovery = array() ]) : string
Parameters
-
$payment
: Payment
-
-
$index
: int
= 1
-
-
$dataForRecovery
: mixed
= array()
-
getPaySystemList()
public
static getPaySystemList(Payment $payment) : array<string|int, mixed>
Parameters
-
$payment
: Payment
-
Return values
array<string|int, mixed>
getPaySystemParams()
public
static getPaySystemParams(mixed $paySystemId) : mixed
Parameters
-
$paySystemId
: mixed
-
-
throws
-
ArgumentException
getScripts()
public
static getScripts() : string
getView()
public
static getView(mixed $payment[, int $index = 1 ][, string $form = '' ]) : string
Parameters
-
$payment
: mixed
-
-
$index
: int
= 1
-
-
$form
: string
= ''
-
modifyData()
public
static modifyData(mixed $payment, mixed $data) : mixed
Parameters
-
$payment
: mixed
-
-
$data
: mixed
-
updateData()
public
static updateData(Order &$order, mixed $payments[, bool $canSetPaid = false ]) : Result
Parameters
-
$order
: Order
-
-
$payments
: mixed
-
-
$canSetPaid
: bool
= false
-
-
throws
-
ArgumentOutOfRangeException
-
throws
-
ObjectNotFoundException
-
throws
-
UserMessageException