Documentation

Update

int
CSalePaySystem::Update(
 int ID,
 array arFields
);

The method Update replaces the pay system parameters with the new ones from the supplied array.

Parameters

ParameterDescription
ID The ID of the pay system to be updated.
arFields Associated array containing new parameters of the pay system whose keys are the order parameter names, and values are the parameter values.

The following values are possible:
  • LID - the pay system site ID;
  • CURRENCY - the pay system currency;
  • NAME - the pay system name;
  • ACTIVE - flag (Y/N) indicating the pay system is active;
  • SORT - sort weight;
  • DESCRIPTION - the pay system description.

Returned values

Returns the ID of the updated pay system or false otherwise.

© «Bitrix24», 2001-2024
Up