Skip to Content.
Sympa Menu

notify-dpml - svn commit: r2118 - development/planet/users/niclas/iso8583/api/src/main/net/dpml/iso8583/authorization

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: niclas AT hedhman.org
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: svn commit: r2118 - development/planet/users/niclas/iso8583/api/src/main/net/dpml/iso8583/authorization
  • Date: Tue, 22 Mar 2005 18:22:46 -0500

Author: niclas AT hedhman.org
Date: Tue Mar 22 18:22:46 2005
New Revision: 2118

Added:

development/planet/users/niclas/iso8583/api/src/main/net/dpml/iso8583/authorization/AuthorizationAdvice.java
(contents, props changed)
Modified:

development/planet/users/niclas/iso8583/api/src/main/net/dpml/iso8583/authorization/AuthorizationRequest.java

development/planet/users/niclas/iso8583/api/src/main/net/dpml/iso8583/authorization/AuthorizationService.java
Log:
Intermediary step to figure out some of the details.

Added:
development/planet/users/niclas/iso8583/api/src/main/net/dpml/iso8583/authorization/AuthorizationAdvice.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/api/src/main/net/dpml/iso8583/authorization/AuthorizationAdvice.java
Tue Mar 22 18:22:46 2005
@@ -0,0 +1,103 @@
+/*
+ * Copyright 2004-2005 Niclas Hedhman.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ * implied.
+ *
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package net.dpml.iso8583.authorization;
+
+public interface AuthorizationAdvice
+{
+// Mandatory if the Primary account number conforms to International
Standard ISO 7812.
+ String getPrimaryAccountNumber();
+
+// Mandatory
+ String getProcessingCode();
+
+// 26 Mandatory for all processing codes except for inquiry services, i.e.
processing code 3xxx.
+ Amount getAmountTransaction();
+
+// 30 Mandatory in real time transactions.
+ Date getDateAndTimeTransmission();
+
+// Mandatory
+ String getSystemsTraceAuditNumber();
+
+// Mandatory
+ Date getDateAndTimeLocalTransaction();
+
+// 02 Mandatory if information is available and not read electronically from
the card, e.g. manual card entry.
+ Date getDateEffective();
+
+// 02 Mandatory if information is available and not read electronically from
the card, e.g. manual card entry.
+ Date getDateExpiration();
+
+// 33 Mandatory once assigned, in all subsequent messages in this
transaction (e.g. responses, acknowledgements, advices, notifications and
instructions) and all messages in related transactions (e.g. financial
presentments, chargebacks, reversals and retrievals). Shall contain the same
value as original assigned.
+ String getTransactionLifeCycleIdentificationData();
+
+// Mandatory
+ String getPointOfServiceDataCode();
+
+// 02 Mandatory if information is available and not read electronically from
the card, e.g. manual card entry.
+ String getCardSequenceNumber();
+
+// Mandatory
+ String getFunctionCode();
+
+// Mandatory
+ String getMerchantCategoryCode();
+
+// 08 Mandatory in a replacement, previously authorised, retrieval,
representment, partial reversal or partial chargeback. Mandatory in a
supplementary authorization, if available.
+ Amount[] getAmountsOriginal();
+
+// Mandatory
+ String getAcquiringInstitutionIdentificationCode();
+
+// 10 Mandatory when the forwarding institution is not the same as the
institution originating the message.
+ String getForwardingInstitutionIdentificationCode();
+
+// 06 Mandatory if track data is captured at the point of service.
+ String getTrack1Data();
+
+// 06 Mandatory if track data is captured at the point of service.
+ String getTrack2Data();
+
+// 06 Mandatory if track data is captured at the point of service.
+ String getTrack3Data();
+
+// 02 Mandatory if information is available and not read electronically from
the card, e.g. manual card entry.
+ String getServiceCode();
+
+// 15 Mandatory if available.
+ String getCardAcceptorTerminalIdentification();
+
+// 15 Mandatory if available.
+ String getCardAcceptorIdentificationCode();
+
+// 01 Mandatory if fees affect reconciliation.
+ Amount[] getAmountsFees();
+
+// 19 Mandatory when the receiving institution is not the same as the final
destination of the message.
+ String getReceivingInstitutionIdentificationCode();
+
+// Mandatory
+ String getMessageReasonCode();
+
+// Mandatory
+ String getActionCode();
+
+// 20 Mandatory when the institution that processed (approved or denied) an
authorization or financial presentment is not the same institution identified
in the primary account number.
+ String getAuthorizingAgentInstitutionIdentificationCode();
+}

Modified:
development/planet/users/niclas/iso8583/api/src/main/net/dpml/iso8583/authorization/AuthorizationRequest.java
==============================================================================
---
development/planet/users/niclas/iso8583/api/src/main/net/dpml/iso8583/authorization/AuthorizationRequest.java
(original)
+++
development/planet/users/niclas/iso8583/api/src/main/net/dpml/iso8583/authorization/AuthorizationRequest.java
Tue Mar 22 18:22:46 2005
@@ -21,61 +21,79 @@
public interface AuthorizationRequest
{
// For 100/101 message types
+
+// Mandatory if the Primary account number conforms to International
Standard ISO 7812.
String getPrimaryAccountNumber();

+// Mandatory
String getProcessingCode();

+// 26
Amount getAmountTransaction();

+// 30
Date getDateAndTimeTransmission();

+// Mandatory
String getSystemsTraceAuditNumber();

+// Mandatory
Date getDateAndTimeLocalTransaction();

+// 02
Date getDateEffective();

+// 02
Date getDateExpiration();

+// 33
String getTransactionLifeCycleIdentificationData();

+// Mandatory
String getPointOfServiceDataCode();

+// 02
String getCardSequenceNumber();

+// Mandatory
String getFunctionCode();

+// Mandatory
String getMerchantCategoryCode();

+// 18
String getPointOfServiceCapability();

+// 08
Amount[] getAmountsOriginal();

+// Mandatory
String getAcquiringInstitutionIdentificationCode();

+// 10
String getForwardingInstitutionIdentificationCode();

+// 06
String getTrack1Data();

+// 06
String getTrack2Data();

+// 06
String getTrack3Data();

+// 02
String getServiceCode();

+// 15
String getCardAcceptorTerminalIdentification();

+// 15
String getCardAcceptorIdentificationCode();

+// 01
Amount[] getAmountsFees();

+// 19
String getReceivingInstitutionIdentificationCode();
-
-// for 120/121 message types (additional)
-
- String getMessageReasonCode();
-
- String getActionCode();
-
- String getAuthorizingAgentInstitutionIdentificationCode();
}

Modified:
development/planet/users/niclas/iso8583/api/src/main/net/dpml/iso8583/authorization/AuthorizationService.java
==============================================================================
---
development/planet/users/niclas/iso8583/api/src/main/net/dpml/iso8583/authorization/AuthorizationService.java
(original)
+++
development/planet/users/niclas/iso8583/api/src/main/net/dpml/iso8583/authorization/AuthorizationService.java
Tue Mar 22 18:22:46 2005
@@ -25,4 +25,8 @@
{
AuthorizationResponse authorize( AuthorizationRequest request )
throws ISOException;
+
+ AuthorizationRequest createDefaultAuthorizationRequest();
+
+ AuthorizationRequest createEmptyAuthorizationRequest();
}



  • svn commit: r2118 - development/planet/users/niclas/iso8583/api/src/main/net/dpml/iso8583/authorization, niclas, 03/22/2005

Archive powered by MHonArc 2.6.24.

Top of Page