コード例 #1
0
            public static PaymentNotification paymentNotification(T_PaymentNotification item)
            {
                if (item == null)
                {
                    return(null);
                }
                var data = new PaymentNotification()
                {
                    id          = item.id,
                    fileId      = item.fileId,
                    firstName   = item.firstName,
                    lastName    = item.lastName,
                    orderCode   = item.orderCode,
                    paymentDate = item.paymentDate,
                    paymentType = item.paymentType,
                    isActive    = item.isActive,
                    isMapping   = item.isMapping,
                    money       = item.money
                };

                if (item.L_FileUpload != null)
                {
                    data.file = Logs.fileUpload(item.L_FileUpload);
                }

                return(data);
            }
コード例 #2
0
        private PaymentNotification convertToScreenModel(T_PaymentNotification data)
        {
            if (data == null)
            {
                return(null);
            }

            return(ConvertToScreenModel.Transactions.paymentNotification(data));
        }
コード例 #3
0
 public T_PaymentNotification updatePaymentNotifications(T_PaymentNotification item)
 {
     return(dao.updatePaymentNotifications(item));
 }
コード例 #4
0
 public T_PaymentNotification addPaymentNotifications(T_PaymentNotification item)
 {
     return(dao.addPaymentNotifications(item));
 }