public void translateToMap() {
   if (UnbilledUsagefindIn != null) {
     Integer index = UnbilledUsagefindIn.getIndex();
     if (index != null) addInput("Index", index);
     addInput(
         "UnbilledUsage",
         UnbilledUsageObjectHelper.toMap(UnbilledUsagefindIn, new HashMap(), "UnbilledUsage")
             .get("UnbilledUsage"));
   }
 }
 public void translateToMap() {
   if (noOpIn != null) {
     Map mapList = new HashMap();
     Map[] mapArray = null;
     mapList.put("Count", noOpIn.getLength());
     mapList.put("TotalCount", noOpIn.getTotalCount());
     mapList.put("Index", noOpIn.getIndex());
     mapArray = new HashMap[noOpIn.getLength()];
     for (int i = 0; i < noOpIn.getLength(); i++) {
       noOpIn.getArray()[i].resetFlags(true, true);
       mapArray[i] = UnbilledUsageObjectHelper.toMap(noOpIn.getArray()[i], null);
       addInput("UnbilledUsage", noOpIn);
     }
     addInput("UnbilledUsage", mapList);
   }
 }
 public void translateToMap() {
   if (UnbilledUsageAdjustIn != null) {
     UnbilledUsageAdjustIn.resetFlags(true, true);
     addInput(
         "UnbilledUsage",
         UnbilledUsageObjectHelper.toMap(UnbilledUsageAdjustIn, new HashMap(), "Adjustment")
             .get("Adjustment"));
   }
   if (TransCode != null) {
     addInput("TransCode", TransCode);
   }
   if (AdjReasonCode != null) {
     addInput("AdjReasonCode", AdjReasonCode);
   }
   if (RequestStatus != null) {
     addInput("RequestStatus", RequestStatus);
   }
   if (FraudIndicator != null) {
     addInput("FraudIndicator", FraudIndicator);
   }
   if (Annotation != null) {
     addInput("Annotation", Annotation);
   }
   if (PrimaryUnitsType != null) {
     addInput("PrimaryUnitsType", PrimaryUnitsType);
   }
   if (PrimaryUnits != null) {
     addInput("PrimaryUnits", PrimaryUnits);
   }
   if (Amount != null) {
     addInput("Amount", Amount);
   }
   if (BillOrderNumber != null) {
     addInput("BillOrderNumber", BillOrderNumber);
   }
 }