Transaction Structure

Struct Transaction 
It contains all the necessary fields require for a transaction
Public Structure Transaction
This language is not supported or no code example is available.
public struct Transaction
This language is not supported or no code example is available.
Fields
 
Name Description
Public field aadeProviderId Unique Number to identify specific Provider (ΥΠΑΗΕΣ).
Public field aadeProviderSignature The fields of providerSignatureFields encrypted using a public key and the Elliptic Curve Digital 
These data are returned by the invoicing provider, and you can obtain them using getPOSSignature (for example, ProvIlyda.getPOSSignature).
Public field aadeProviderSignatureData The unencrypted signature that includes the fields with semicolon as a delimiter ;. 
These data are returned by the invoicing provider, and you can obtain them using getPOSSignature (for example, ProvIlyda.getPOSSignature).
Public field amount mandatory field 
Amount to be authorized
Public field cashRegisterID mandatory field 
The identification number for the cash register. The cash register identification number should be entered if the invoice is issued by said cash register. 
In the absence of a Cash Register ID, enter "no Cash Register" as the text.
Public field currencyCode ISO 4217 numeric currency code
Public field customerTrns Free text value that can be used by the customer as a reference
Public field maxInstalments Max instalments allowed during card presentment - available only for merchants in Greece
Public field merchantReference Free text value that can be used by the merchant as a reference
Public field preauth Boolean flag indicating whether the payment is or is not a pre-authorization. In order to use preauth functionality please contact your Viva Wallet sales representative. 
Alternatively, you can contact us directly via our live chat facility, by simply clicking on the live chat icon in the bottom right-hand corner of VW account page. 
Please note: preauth is not compatible with tipAmount. If making a pre-authorization with the preauth parameter, the tipAmount parameter should have a value of '0'.
Public field sessionID mandatory field 
Each transaction should have its own unique value entered into this free text field. This may be a distinct date that varies with each new transaction that is generated.
Public field terminalID mandatory field 
The POS Terminal ID. Use the VivaWalletPOS.getAvailablePOS method to get this value
Public field tipAmount The desired Tip Amount. Please note: tipAmount Is Not compatible with preauth. If making a pre-authorization with the preauth parameter, the tipAmount parameter should have a value of '0'.
Top

.NET Framework

Supported in: 3.5 or newer

In this article

Definition