public static CardTransactionHistoryWM Parse(UserPaymentAccountHistoryLog source)
 {
     return(new CardTransactionHistoryWM
     {
         ActionType = source.ActionType,
         LogHistory = source.LogHistory,
         LogDetail = source.LogDetail
     });
 }
 public void MergeWith(UserPaymentAccountHistoryLog upahl)
 {
     if (LogHistory != upahl.LogHistory)
     {
         throw new InvalidOperationException("Cannot merge if LogHistory dates don't match");
     }
     ActionType = upahl.ActionType;
     LogDetail  = string.Concat(LogDetail, upahl.LogDetail);
 }