Bitrix Site Manager

CSaleTax::Update

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

The method Update replaces parameters of the specified tax with the new ones.

Parameters

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

The following values are possible:
  • LID - the site ID;
  • NAME - tax name;
  • DESCRIPTION - tax description;
  • CODE - mnemonic code.

Return Values

Returns the ID of updated tax or false otherwise.