/// <summary>
 /// Instatiates a type fo currency
 /// </summary>
 /// <param name="name">The name of the currency</param>
 /// <param name="currencyType">A value from the <see cref="CurrencyType"/>enum</param>
 public Currency(string name, CurrencyType currencyType)
 {
     Name = name;
     Code = CurrencyUtil.GetCurrencyString(currencyType);
 }
Пример #2
0
 public GetFeesParams(string pbfPubKey, decimal amount, CurrencyType currency)
 {
     PbfPubKey = pbfPubKey;
     Amount    = amount;
     Currency  = CurrencyUtil.GetCurrencyString(currency);
 }