Пример #1
0
 public void PurchaseCertificateOfDeposit(PurchaseCertidicateOfDepositRequest request)
 {
     try
     {
         new GlobalBankDataServices().PurchaseCertificateOfDeposit(
             request.Customer.CustomerId,
             request.SourceAccount.accountNumber,
             (decimal)request.Amount,
             request.DurationInDays,
             (decimal)request.InterestRate);
     }
     catch (Exception ex)
     {
         throw SoapExceptionFactory.CreateSoapClientException(ex);
     }
 }
Пример #2
0
 public void AddToQueue(QueueEntry queueEntry)
 {
     try
     {
         if (queueEntry.CustomerReference != null)
         {
             new GlobalBankDataServices().QueueCustomer(queueEntry.CustomerReference, queueEntry.ReasonCode, queueEntry.Description);
         }
         else if (queueEntry.WalkinReference != null)
         {
             new GlobalBankDataServices().QueueWalkin(queueEntry.WalkinReference, queueEntry.ReasonCode, queueEntry.Description);
         }
     }
     catch (Exception ex)
     {
         throw SoapExceptionFactory.CreateSoapClientException(ex);
     }
 }