public static PaymentSystemTransfer DecoratePaymentSystemTransfer(PAYMENT_SYSTEM_TRANSFER paySysTransfer)
 {
     if (paySysTransfer == null)
     {
         return(null);
     }
     return(new PaymentSystemTransfer
     {
         Id = paySysTransfer.Id,
         UserPaymentSys = paySysTransfer.UserPaymentSys,
         Ammount = paySysTransfer.Ammount,
         Currency = paySysTransfer.Currency,
         DateProcessed = paySysTransfer.DateProcessed,
         DateValue = paySysTransfer.DateValue,
         Comment = paySysTransfer.Comment,
         Transfer = paySysTransfer.Transfer,
         SourcePaySysAccount = paySysTransfer.SourcePaySysAccount,
         SourcePaySysPurse = paySysTransfer.SourcePaySysPurse,
         SourseFirstName = paySysTransfer.SourseFirstName,
         SourseLastName = paySysTransfer.SourseLastName,
         SourseEmail = paySysTransfer.SourseEmail,
     });
 }
Beispiel #2
0
 public static PaymentSystemTransfer DecoratePaymentSystemTransfer(PAYMENT_SYSTEM_TRANSFER paySysTransfer)
 {
     if (paySysTransfer == null) return null;
     return new PaymentSystemTransfer
         {
             Id = paySysTransfer.Id,
             UserPaymentSys = paySysTransfer.UserPaymentSys,
             Ammount = paySysTransfer.Ammount,
             Currency = paySysTransfer.Currency,
             DateProcessed = paySysTransfer.DateProcessed,
             DateValue = paySysTransfer.DateValue,
             Comment = paySysTransfer.Comment,
             Transfer = paySysTransfer.Transfer,
             SourcePaySysAccount = paySysTransfer.SourcePaySysAccount,
             SourcePaySysPurse = paySysTransfer.SourcePaySysPurse,
             SourseFirstName = paySysTransfer.SourseFirstName,
             SourseLastName = paySysTransfer.SourseLastName,
             SourseEmail = paySysTransfer.SourseEmail,
         };
 }