コード例 #1
0
 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));
 }
コード例 #2
0
 private AcEdiSegmentAbstract createLineCountCnt(AcUspsD1InvoiceClaimV2R1Claim model) {
   AcEdiUspsD1InvoiceClaimV2R1Cnt cnt = new AcEdiUspsD1InvoiceClaimV2R1Cnt();
   cnt.setLineCount(model.getLineItems().size());
   return cnt;
 }