public BillingProcessConfigurationDTO(
     BillingProcessConfigurationWS ws, CompanyDTO entity, PeriodUnitDTO unit) {
   this.id = ws.getId();
   this.periodUnitDTO = unit;
   this.entity = entity;
   this.nextRunDate = ws.getNextRunDate();
   this.generateReport = ws.getGenerateReport();
   this.retries = ws.getRetries();
   this.daysForRetry = ws.getDaysForRetry();
   this.daysForReport = ws.getDaysForReport();
   this.reviewStatus = ws.getReviewStatus();
   this.periodValue = ws.getPeriodValue();
   this.dueDateUnitId = ws.getDueDateUnitId();
   this.dueDateValue = ws.getDueDateValue();
   this.dfFm = ws.getDfFm();
   this.onlyRecurring = ws.getOnlyRecurring();
   this.invoiceDateProcess = ws.getInvoiceDateProcess();
   this.autoPayment = ws.getAutoPayment();
   this.maximumPeriods = ws.getMaximumPeriods();
   this.autoPaymentApplication = ws.getAutoPaymentApplication();
 }