finish off payment helper

This commit is contained in:
CWX
2025-01-23 13:39:22 +00:00
parent e89c15efda
commit 753cb42b8c
+8 -1
View File
@@ -36,6 +36,13 @@ public class PaymentHelper(ConfigServer _configServer)
/// <returns></returns>
public string GetCurrency(string currency)
{
throw new NotImplementedException();
return currency switch
{
"EUR" => Money.EUROS,
"USD" => Money.DOLLARS,
"RUB" => Money.ROUBLES,
"GP" => Money.GP,
_ => ""
};
}
}