Пример #1
0
 public CurrencyTransaction ToCurrencyTransaction()
 {
     return(CurrencyTransaction.Create(Id,
                                       Amount,
                                       CurrencyCode,
                                       TransactionDateLocal.ToUniversalTime(),
                                       CsvStatus.ToCurrencyTransactionStatus()));
 }
Пример #2
0
 public CurrencyTransaction ToCurrencyTransaction()
 {
     return
         (IsValid
             ? CurrencyTransaction.Create(Id,
                                          Amount,
                                          PaymentDetails.CurrencyCode,
                                          DateTime.Parse(TransactionDateLocalString).ToUniversalTime(),
                                          XmlStatus.ToCurrencyTransactionStatus())
             : null);
 }