Bitrix Site Manager

CSalePaySystemAction::GetList

CDBResult
CSalePaySystemAction::GetList(
 string by = "NAME",
 string order = "ASC",
 array arFilter = Array()
);

The method GetList retrieves an optionally sorted and filtered list of pay system handlers.

Parameters

ParameterDescription
by Specifies the name of a parameter by which the sorting is to be performed. 

The following values are possible:
  • NAME - handler name (default);
  • PAY_SYSTEM_ID - the pay system ID;
  • PERSON_TYPE_ID - the payer type ID;
  • ID - the pay system handler ID.
order Sort order. Can be one of the following:
  • ASC - ascending;
  • DESC - descending.
arFilter The filter is an associated array whose keys are the parameter names, and values are the conditions.

The following keys are possible:
  • ID - the pay system handler ID;
  • PAY_SYSTEM_ID - the pay system ID;
  • PERSON_TYPE_ID - the payer type ID;
  • NEW_WINDOW - specifies whether a new window should be opened for this pay system (Y/N).

Return Values

Returns an instance of CDBResult containing a set of associated arrays with the following keys.

Key Description
ID The pay system handler ID.
PAY_SYSTEM_ID The pay system ID.
PERSON_TYPE_ID The payer type ID.
NAME The pay system name.
ACTION_FILE Name of the file containing the pay system script.
RESULT_FILE Name of the file containing a script used to retrieve the pay system result.
NEW_WINDOW Specifies whether a new window should be opened for this pay system (Y/N).