예제 #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);
 }