Documentation

GetByID

array
CSaleUserCards::GetByID(
 int ID
);

Method returns parameters for bank card with ID. Non-static method.

Call parameters

ParameterDescription
ID Bank card code.

Returned values

Method returns an associative array with parameters for bank card with keys:

  • ID - bank card code;
  • USER_ID - user code;
  • SORT - sort index;
  • PAY_SYSTEM_ACTION_ID - payment system handler code;
  • CURRENCY - currency, available for deduction from bank card
  • CARD_CODE - CVC2;
  • CARD_TYPE - card type;
  • CARD_NUM - card number;
  • CARD_EXP_MONTH - end month for card validity;
  • CARD_EXP_YEAR - end year for card validity;
  • DESCRIPTION - brief description;
  • SUM_MIN - minimum amount to be deducted from bank card at once;
  • SUM_MAX - maximum amount to be deducted from bank card at once;
  • SUM_CURRENCY - currency for minimum and maximum amount;
  • LAST_STATUS - status for last card use;
  • LAST_STATUS_CODE - status code for the last card use;
  • LAST_STATUS_DESCRIPTION - status description for the last card use;
  • LAST_STATUS_MESSAGE - payment system message;
  • LAST_SUM - last amount deducted from the card;
  • LAST_CURRENCY - currency for the last amount deducted from bank card;
  • ACTIVE - activity flag;
  • TIMESTAMP_X - timestamp;
  • LAST_DATE - date of the last card use.


© «Bitrix24», 2001-2024
Up