/// <summary>
 /// Clones this FinancialTransactionScannedCheck object to a new FinancialTransactionScannedCheck object
 /// </summary>
 /// <param name="source">The source.</param>
 /// <param name="deepCopy">if set to <c>true</c> a deep copy is made. If false, only the basic entity properties are copied.</param>
 /// <returns></returns>
 public static FinancialTransactionScannedCheck Clone(this FinancialTransactionScannedCheck source, bool deepCopy)
 {
     if (deepCopy)
     {
         return(source.Clone() as FinancialTransactionScannedCheck);
     }
     else
     {
         var target = new FinancialTransactionScannedCheck();
         target.CopyPropertiesFrom(source);
         return(target);
     }
 }
 /// <summary>
 /// Copies the properties from another FinancialTransactionScannedCheck object to this FinancialTransactionScannedCheck object
 /// </summary>
 /// <param name="target">The target.</param>
 /// <param name="source">The source.</param>
 public static void CopyPropertiesFrom(this FinancialTransactionScannedCheck target, FinancialTransactionScannedCheck source)
 {
     target.ScannedCheckMicr    = source.ScannedCheckMicr;
     target.AuthorizedPersonId  = source.AuthorizedPersonId;
     target.BatchId             = source.BatchId;
     target.GatewayEntityTypeId = source.GatewayEntityTypeId;
     target.TransactionDateTime = source.TransactionDateTime;
     target.Amount                 = source.Amount;
     target.TransactionCode        = source.TransactionCode;
     target.Summary                = source.Summary;
     target.TransactionTypeValueId = source.TransactionTypeValueId;
     target.CurrencyTypeValueId    = source.CurrencyTypeValueId;
     target.CreditCardTypeValueId  = source.CreditCardTypeValueId;
     target.SourceTypeValueId      = source.SourceTypeValueId;
     target.CheckMicrEncrypted     = source.CheckMicrEncrypted;
     target.ScheduledTransactionId = source.ScheduledTransactionId;
     target.Id   = source.Id;
     target.Guid = source.Guid;
 }