示例#1
0
 public AdditionalAmount(AccountTypeEnum accountType, AmountTypeEnum amountType, string currencyCode, double amount)
 {
     this.AccountType  = accountType;
     this.AmountType   = amountType;
     this.CurrencyCode = currencyCode;
     this.Amount       = amount;
 }
示例#2
0
 public AdditionalAmount GetAmount(AmountTypeEnum amountType)
 {
     foreach (AdditionalAmount current in this.Amounts)
     {
         if (current.AmountType == amountType)
         {
             return(current);
         }
     }
     return(null);
 }
示例#3
0
 public AdditionalAmount GetAmount(AmountTypeEnum amountType)
 {
     return(this.Amounts.GetAmount(amountType));
 }