コード例 #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
 public void addLineItemSegments(
     AcEdiMessage message, AcUspsD1InvoiceClaimV2R1Item model, int number) {
   message.add(createLin(number));
   message.add(createPia(model));
   message.add(createScheduledDeliveryDtm(model));
   message.add(createRouteDepartureDtm(model));
   message.add(createMailClassCodeFtx(model));
   message.add(createClaimReasonCodeFtx(model));
   message.add(createClaimStatusFtx(model));
   message.add(createPac(model));
   message.add(createWeightMea(model));
   message.add(createPci(model));
   // todo_pta: add line item claims amounts to total?
 }
コード例 #3
0
 public void addHeader(
     AcEdiMessage message, AcUspsD1InvoiceClaimV2R1Claim model, int referenceNumber) {
   message.setUnh(createUnh(model, referenceNumber));
   message.add(createBgm(model));
 }
コード例 #4
0
 private void addThirdXferSegments(
     AcEdiMessage message, AcUspsD1InvoiceClaimV2R1Transport transport) {
   message.add(createThirdXferTdt(transport));
   message.add(createXferLoc(transport));
   message.add(createXferDtm(transport));
 }
コード例 #5
0
 private void addLoadSegments(AcEdiMessage message, AcUspsD1InvoiceClaimV2R1Transport transport) {
   message.add(createLoadTdt(transport));
   message.add(createLoadLoc(transport));
   message.add(createLoadDtm(transport));
 }
コード例 #6
0
 private void addPossessionSegments(
     AcEdiMessage message, AcUspsD1InvoiceClaimV2R1Transport transport) {
   message.add(createPossessionTdt(transport));
   message.add(createPossessionLoc(transport));
   message.add(createPossessionDtm(transport));
 }
コード例 #7
0
 private void addDeliverSegments(
     AcEdiMessage message, AcUspsD1InvoiceClaimV2R1Transport transport) {
   message.add(createDeliveryTdt(transport));
   message.add(createDeliveryLoc(transport));
   message.add(createDeliveryDtm(transport));
 }
コード例 #8
0
 public void addLineItem(AcEdiMessage message, AcUspsD1InvoiceClaimV2R1Item model, int number) {
   addLineItemSegments(message, model, number);
   addTransports(message, model.getTransports());
   message.add(createExpectedDeliveryLoc(model));
 }