code: public void cancelFaxJob(FaxJob faxJob)
      {
          //validate fax job ID
          this.invokeFaxJobIDValidation(faxJob);
          
          //invoke action
          this.cancelFaxJobImpl(faxJob);
          
          //fire event
          this.fireFaxEvent(FaxClientActionEventID.CANCEL_FAX_JOB,faxJob);
      }
docs: This function will cancel an existing fax job.
  
  @param   faxJob
  The fax job object containing the needed information