...
Code Block | ||||
---|---|---|---|---|
| ||||
typedef struct { tOutCome mOutCome; tStartingPoint mStartingPoint; tOnlineResponseData mOnlineResponseData; tCVM mCVM; tBoolean mUIReqOnOutcomePresent; // If bTRUE, found in DataExchange tBoolean mUIReqOnRestartPresent; // If bTRUE, found in DataExchange tBoolean mReceipt; tBoolean mDRPresent; // Data record. If present, found in DataExchange tBoolean mDDPresent; // Discretionary Data. If present, found in DataExchange tAlternateInterfacePreference mAlternateInterfacePreference; tWord mFieldOffReq; tWord mRemovalTimeout; } tOutComeParameter; |
Primitives
Names | Comments |
---|---|
Initialization | |
pmwGetPaymentMiddlewareVersionNumber | Get AgnosMW version |
pmwGetKernelVersion | Get EMV core engine version |
pmwInitializePaymentContext | Shall be called before any new transaction |
pmwIntializeOutComeParameter | Shall be called before any new transaction |
dtmInitializeFromFile | Agnos uses three files to persit the data model:
Use this primitive ahead any transaction flow in order to initialize the transient data model. |
Data Model | |
dtmSetTransactionalContext | |
dtmSetData |
|
dtmGetData |
|
EMV Selection | |
pmwProceedToUniversalFinalSelection | Proceed to standard final selection following EMVCo specs. This function call can be overloaded in CT and hooked in contactless in order to implement specific selection logic (US, Canada, France) |
Others | |
dtmSelectCTKernel | |
pmwSetEMVResult | Set EMV parameters after a transaction (see tPaymentContext)within tPaymentContext based on Agnos status |
pmwCloseSession | Close Agnos session |