public void addBody(AcEdiMessage message, AcUspsD1InvoiceClaimV2R1Claim model) {
   message.add(createMessageCreationDtm(model));
   addLineItems(message, model.getLineItems());
   message.add(createControlUns());
   message.add(createLineCountCnt(model));
   message.add(createAdjustmentAmountMoa(model));
 }
 public AcEdiSegmentAbstract createMessageCreationDtm(AcUspsD1InvoiceClaimV2R1Claim model) {
   AcEdiUspsD1InvoiceClaimV2R1Dtm x = new AcEdiUspsD1InvoiceClaimV2R1Dtm();
   x.setMessageCreation();
   x.setPeriodTimestampCCYYMMDDHHMM(model.getMessageCreationTs());
   return x;
 }
 private AcEdiSegmentAbstract createLineCountCnt(AcUspsD1InvoiceClaimV2R1Claim model) {
   AcEdiUspsD1InvoiceClaimV2R1Cnt cnt = new AcEdiUspsD1InvoiceClaimV2R1Cnt();
   cnt.setLineCount(model.getLineItems().size());
   return cnt;
 }