/// <summary> /// Sends a command on authorization to a Pump for a currently taken up nozzle and opens a transaction. /// </summary> /// <remarks> /// Before calling this method the Pump should be locked. /// </remarks> public void Authorize() { if (_pts.UseExtendedCommands == false) { _pts.AuthorizeRequest(ID, CommandNozzle, AuthorizationType, CommandDose, Nozzles[CommandNozzle - 1].PricePerLiter); } else { _pts.ExtendedAuthorizeRequest(ID, CommandNozzle, AuthorizationType, CommandDose, Nozzles[CommandNozzle - 1].PricePerLiter); } }