posTransaction Structure

To manually get the provider's POS signature, the POS transaction structure is required. The structure is applied to getPOSSignature(posTransaction)
Public Structure posTransaction
This language is not supported or no code example is available.
public struct posTransaction
This language is not supported or no code example is available.
Fields
 
Name Description
Public field amount mandatory Field 
The amount that it will send to the POS.
Public field grossValue mandatory Field 
The gross value of the invoice
Public field invoiceType mandatory Field 
The invoice type. (field elements.invoiceType
This field refers to the myDATATools.getInvoiceTypeProvider data and it should be exactly the same as elements.invoiceType
Public field issuerBranch mandatory Field 
The issuerBranch (field issuer.branch). 
This field should be exactly the same as elements.series
Public field issuerVatNumber mandatory Field 
The Greek vat number of the issuer. 
This field should be exactly the same as issuer.vatNumber
Public field netValue mandatory Field 
The total net amount of the invoice
Public field series mandatory Field 
The series of the invoice (field elements.series)
Public field terminalId mandatory Field 
The POS terminal's ID number. 
You can get the available POS terminals using the VivaWalletPOS.getAvailablePOS
Public field vatAmount mandatory Field 
The total vat amount of the invoice
Top
Remarks
 
To get the provider's POS signature, ensuring that the values of the structure will be the same as the invoice, use the function getPOSSignature(invoice, String)

.NET Framework

Supported in: 3.5 or newer

In this article

Definition