Bitrix Site Manager

CSalePersonType::Add

Int
CSalePersonType::Add(
 array arFields
);

The method Add adds anew payer type given the specified parameters.

Parameters

ParameterDescription
arFields Associated array containing parameters of the new payer type whose keys are the order parameter names, and values are the parameter values.

The following values are possible:
  • LID - the ID of the site owning the new payer type;
  • NAME - the payer type name;
  • SORT - the payer type sort weight.

Return Values

Returns the ID of the new payer type on success or false otherwise.

 

>