Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Source/ConfigurationWithMLE.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ class ConfigurationWithMLE
{
// initialize dictionary object
private readonly Dictionary<string, string> _configurationDictionary = new Dictionary<string, string>();
private readonly Dictionary<string, bool> _configurationDictionaryforMLE = new Dictionary<string, bool>();
private readonly Dictionary<string, string> _configurationDictionaryforMLE = new Dictionary<string, string>();

public Dictionary<string, bool> GetMapToControlMLE()
public Dictionary<string, string> 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;
}
Expand Down