VivaWalletPOS Constructor

It creates a new instance of the VivaWalletPOS.
Public Sub New( _ 
ByVal ArbitransUser As String, _ 
ByVal ArbitransKey As String, _ 
ByVal ClientID As String, _ 
ByVal ClientSecret As String, _ 
ByVal Test_env As Boolean
)
This language is not supported or no code example is available.
public VivaWalletPOS( 
string ArbitransUser
string ArbitransKey
string ClientID
string ClientSecret
bool Test_env 
)
This language is not supported or no code example is available.

Parameters

ArbitransUser
string

User Name provided by Arbitrans

ArbitransKey
string

Key provided by Arbitrans

ClientID
string

The Client ID that is generated by VivaWallet. You can locate it right under your Viva Wallet account: Settings->POS API's Credentials

ClientSecret
string

The Client Secret that is generated by VivaWallet. You can locate it right under your Viva Wallet account: Settings->POS API's Credentials

Test_env
bool

Work in the Test environment true/false. This value is ignored by the dll if the license is TRIAL. 
In Trial Version, you will always work in the Test Environment of myDATA.

Example
 
 VivaWalletPOS vw = new VivaWalletPOS("Arbitrans User", "Arbitrans Key", "ClientID", "ClientSecret", false);
 					
This language is not supported or no code example is available.
 Dim vw As VivaWalletPOS = New VivaWalletPOS("Arbitrans User", "Arbitrans Key", "ClientID", "ClientSecret", False)
 					
This language is not supported or no code example is available.

.NET Framework

Supported in: 3.5 or newer

In this article

Definition