CWS Wrapper Library  5.1.0
List of all members
CWSWrapper.QuickSelection Class Reference

QuickSelection - object to hold three gratuity amounts for use with gratuity flow. These gratuity amounts are expressed in a Dictionary<String,String> with the following required three keys More...

Detailed Description

QuickSelection - object to hold three gratuity amounts for use with gratuity flow. These gratuity amounts are expressed in a Dictionary<String,String> with the following required three keys

"type" is PERCENTAGE or MONETARY_AMOUNT

"currencyCode" is the currency code, for example USD

"value" is either percentage or the actual amount in minor units

Example:

QuickSelection qs = new QuickSelection();
qs.selection1 = new Dictionary<String, String>();
qs.selection1.Add("type", "PERCENTAGE");
qs.selection1.Add("currencyCode", "USD");
qs.selection1.Add("value", "13");
qs.selection2 = new Dictionary<String, String>();
qs.selection2.Add("type", "PERCENTAGE");
qs.selection2.Add("currencyCode", "USD");
qs.selection2.Add("value", "18");
qs.selection3 = new Dictionary<String, String>();
qs.selection3.Add("type", "PERCENTAGE");
qs.selection3.Add("currencyCode", "USD");
qs.selection3.Add("value", "23");

The documentation for this class was generated from the following file: