VivaWalletPOS Class
Viva Wallet is the first European entirely cloud-based Neobank with presence in 24 European Countries.
Name | Description | |
---|---|---|
VivaWalletPOS(string, string, string, string, bool) | It creates a new instance of the VivaWalletPOS. |
Name | Description | |
---|---|---|
NewRefundTransaction() | It generates a new refund transaction, type of RefundTransaction | |
NewTransaction() | It generates a new transaction, type of Transaction | |
checkSession(string) |
This function can be used to determine whether the transaction has been finalised. |
|
getAvailablePOS() | All available POS Terminals can be obtained using this function. It returns a list of POSTerminals. | |
getTransactionDetails(string) |
Use this function to get the full details of a specified transaction. It returns a dictionary containing all the fields of the transaction. This function is not available in the Trial Version. |
|
getTransactionID(string) | This function can be used to get the Transaction ID of a sale/refund. | |
newRefund(RefundTransaction) |
A new sale refund is formed by means of this function. A success or failure message is returned after the transaction is transmitted to the POS Terminal. This function does not conclude the refund process. The process involves the refund being transmitted to the POS Terminal for the user's confirmation. To check if the refund is completed or not, use the checkSession method. This function is not available in the Trial Version. |
|
newSale(Transaction) |
A new sale is formed by means of this function. A success or failure message is returned after the transaction is transmitted to the POS Terminal. The transaction is not completed by this function. It merely transmits the transaction to the POS Terminal so that the consumer can use it to make a payment. To check if the transaction is completed or not, use the checkSession method. |
|
sendAbort(string, string) | This function can be used to abort a transaction before it is finished. |
Name | Description | |
---|---|---|
POSTerminals |
Struct POSTerminals It contains all the necessary Terminal Fields |
|
RefundTransaction |
Struct RefundTransaction It contains all the necessary fields require for a refund transaction |
|
Transaction |
Struct Transaction It contains all the necessary fields require for a transaction |
ArbitransMyData.POS.VivaWalletPOS