Amadis
AgnosMW API - version 3.5.20.23791
Â
API _Version _Revision | Description |
---|---|
_AgnosMW _version 3.5.20 _revision 23791 |
Payment Middleware | ||
---|---|---|
See paymentmw.h | ||
| #include "datamngr.h"
#include "dataxchng.h"
//---- Agnos Framework Headers ----
#include "agnos.h"
//---- Global Headers ----
#include "gpi_agnos_framework_globals.h" | -- |
| #define CHIP_MODE 0x05
#define MAG_MODE 0x90
#define FALLBACK_MODE 0x80
#define MANUAL_MODE 0x01
#define EMV_CL_MODE 0x07
#define MAG_CL_MODE 0x91
#define PSE_DDF_NAME "1PAY.SYS.DDF01"
#define PSE_DDF_LENGTH 14
#define PPSE_DDF_NAME "2PAY.SYS.DDF01"
#define PPSE_DDF_LENGTH 14
#define ACCOUNT_TYPE_RANGE 10 | -- |
| typedef enum {
ttPURCHASE,
ttCASH,
ttWITH_CASHBACK,
ttREFUND,
ttMANUAL_CASH,
ttQUASI_CASH,
ttDEPOSIT,
ttINQUIRY,
ttPAYMENT,
ttTRANSFER,
ttADMINISTRATIVE,
ttHOUSE_KEEPING,
ttRETRIEVAL,
ttUPDATE,
ttAUTHENTICATION,
ttCASH_DISBURSEMENT,
ttPRE_AUTHORIZATION,
ttMONEY_ADD,
ttVOID,
ttCLEAN_ALL,
ttRESET,
ttUNDEFINED
} tTransactionType; | -- |
| -- | |
| -- | |
| -- | |
| -- | |
| -- | |
| -- | |
| -- | |
| -- | |
|
Â
Â
Â
Â
| |
| Get AgnosMW version. | |
| Get EMV core engine version. | |
| Reset the payment context. Shall be called before any new transaction. | |
| Reset the outcome context. Shall be called before any new transaction. | |
| Proceed to standard final selection following EMVCo specs. This mechanism can be overloaded:
| |
pmwSetEMVResult | Â | Set EMV parameters after a transaction within tPaymentContext based on Agnos status. In contact, this shall be systematically called by payment application. In contactless, AgnosEP encapsulated that call. |
pmwCloseSession | Â | Close Agnos session |
Â
Data Manager | ||
---|---|---|
See datamngr.h | ||
dtmInitializeFromFile | Â | Agnos uses three files to persist its data model:
Use this primitive ahead of any transaction flow in order to initialize the transient data model. |
dtmSetTransactionalContext | Â | Set this context to open an Agnos session (contact only. See emvco.c) |
dtmSetData | Â Â |
|
dtmGetData | Â |
|
Â
Data Exchange | ||
---|---|---|
See agnosmw.h. dataxchng.h | ||
| -- | |
 |  |  |
 |  |  |
 |  |   |
Â
Exit Condition | ||
---|---|---|
See agnosmw.h. exitcondition.h | ||
| -- | |
| Â | Â |