public CurrencyTransaction ToCurrencyTransaction() { return(CurrencyTransaction.Create(Id, Amount, CurrencyCode, TransactionDateLocal.ToUniversalTime(), CsvStatus.ToCurrencyTransactionStatus())); }
public CurrencyTransaction ToCurrencyTransaction() { return (IsValid ? CurrencyTransaction.Create(Id, Amount, PaymentDetails.CurrencyCode, DateTime.Parse(TransactionDateLocalString).ToUniversalTime(), XmlStatus.ToCurrencyTransactionStatus()) : null); }