From 47e0a3d2b444d4818a270c34da9435f062bbfc83 Mon Sep 17 00:00:00 2001 From: "Goel, Aastvik" Date: Fri, 10 Oct 2025 11:11:49 +0530 Subject: [PATCH] changed mapToControlMLE type to --- Source/ConfigurationWithMLE.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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; }