docs: private Travel getTravel(BudgetPeriodDto periodInfo) {
  
          Travel travel = Travel.Factory.newInstance();
          if (periodInfo != null) {
              TotalDataType total = TotalDataType.Factory.newInstance();
              if (periodInfo.getDomesticTravelCost() != null) {
                  total.setFederal(periodInfo.getDomesticTravelCost().bigDecimalValue());
              }
              if (periodInfo.getDomesticTravelCostSharing() != null) {
                  total.setNonFederal(periodInfo.getDomesticTravelCostSharing().bigDecimalValue());
                  if (periodInfo.getDomesticTravelCost() != null) {
                      total.setTotalFedNonFed(periodInfo.getDomesticTravelCost().add(periodInfo.getDomesticTravelCostSharing())
                              .bigDecimalValue());
                  }
                  else {
                      total.setTotalFedNonFed(periodInfo.getDomesticTravelCostSharing().bigDecimalValue());
                  }
              }
              travel.setDomesticTravelCost(total);
              TotalDataType totalForeign = TotalDataType.Factory.newInstance();
              if (periodInfo.getForeignTravelCost() != null) {
                  totalForeign.setFederal(periodInfo.getForeignTravelCost().bigDecimalValue());
              }
              if (periodInfo.getForeignTravelCostSharing() != null) {
                  totalForeign.setNonFederal(periodInfo.getForeignTravelCostSharing().bigDecimalValue());
                  if (periodInfo.getForeignTravelCost() != null) {
                      totalForeign.setTotalFedNonFed(periodInfo.getForeignTravelCost().add(periodInfo.getForeignTravelCostSharing())
                              .bigDecimalValue());
                  }
                  else {
                      totalForeign.setTotalFedNonFed(periodInfo.getForeignTravelCostSharing().bigDecimalValue());
                  }
              }
              travel.setForeignTravelCost(totalForeign);
              SummaryDataType summary = SummaryDataType.Factory.newInstance();
              if (periodInfo.getTotalTravelCost() != null) {
                  summary.setFederalSummary(periodInfo.getTotalTravelCost().bigDecimalValue());
              }
              if (periodInfo.getTotalTravelCostSharing() != null) {
                  summary.setNonFederalSummary(periodInfo.getTotalTravelCostSharing().bigDecimalValue());
                  if (periodInfo.getTotalTravelCost() != null) {
                      summary.setTotalFedNonFedSummary(periodInfo.getTotalTravelCost().add(periodInfo.getTotalTravelCostSharing())
                              .bigDecimalValue());
                  }
                  else {
                      summary.setTotalFedNonFedSummary(periodInfo.getTotalTravelCostSharing().bigDecimalValue());
                  }
              }
              travel.setTotalTravelCost(summary);
          }
          return travel;
      }