diff --git a/Source/ConfigurationWithMLE.cs b/Source/ConfigurationWithMLE.cs index d17055b..afc84d7 100644 --- a/Source/ConfigurationWithMLE.cs +++ b/Source/ConfigurationWithMLE.cs @@ -10,12 +10,12 @@ class ConfigurationWithMLE { // initialize dictionary object private readonly Dictionary _configurationDictionary = new Dictionary(); - private readonly Dictionary _configurationDictionaryforMLE = new Dictionary(); + private readonly Dictionary _configurationDictionaryforMLE = new Dictionary(); - public Dictionary GetMapToControlMLE() + public Dictionary GetMapToControlMLE() { - _configurationDictionaryforMLE.Add("CreatePayment", true); //CreatePayment function will have MLE=true i.e. (/pts/v2/payments POST API) - _configurationDictionaryforMLE.Add("CapturePayment", false); //capturePayment function will have MLE=false i.e. (/pts/v2/payments/{id}/captures POST API) + _configurationDictionaryforMLE.Add("CreatePayment", "true"); //CreatePayment function will have MLE=true i.e. (/pts/v2/payments POST API) + _configurationDictionaryforMLE.Add("CapturePayment", "false"); //capturePayment function will have MLE=false i.e. (/pts/v2/payments/{id}/captures POST API) return _configurationDictionaryforMLE; }