You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
73 lines
2.5 KiB
73 lines
2.5 KiB
using Common.Model.KFTCRegistration;
|
|
using System;
|
|
|
|
namespace Common.Model.AutoRefund
|
|
{
|
|
public class AutoDebitRefund
|
|
{
|
|
public string rowId;
|
|
public string CustomerId { get; set; }
|
|
public string Username { get; set; }
|
|
public string RowId { get; set; }
|
|
public string ErrorCode { get; set; }
|
|
public string ErrorMsg { get; set; }
|
|
}
|
|
|
|
public class AccountTransferToBank
|
|
{
|
|
public string obpId { get; set; }
|
|
public string accountNo { get; set; }
|
|
public string accountPassword { get; set; }
|
|
public string receiveInstitution { get; set; }
|
|
public string receiveAccountNo { get; set; }
|
|
public string amount { get; set; }
|
|
public string bankBookSummary { get; set; }
|
|
public string transactionSummary { get; set; }
|
|
}
|
|
|
|
public class KJAutoRefundModel
|
|
{
|
|
public string flag { get; set; }
|
|
public string customerId { get; set; }
|
|
public string customerSummary { get; set; }
|
|
public string amount { get; set; }
|
|
public string action { get; set; }
|
|
public string actionDate { get; set; }
|
|
public string actionBy { get; set; }
|
|
public string rowId { get; set; }
|
|
public string bankCode { get; set; }
|
|
public string bankAccountNo { get; set; }
|
|
|
|
public KJAutoRefundModel()
|
|
{
|
|
}
|
|
|
|
public void SetDepositData(string flag, string action, DomesticRemitModel model)
|
|
{
|
|
this.flag = flag;
|
|
this.customerId = model.CustomerId;
|
|
this.customerSummary = model.processId;
|
|
this.amount = model.SentAmount;
|
|
this.action = action;
|
|
this.actionDate = "";
|
|
this.actionBy = model.UserId;
|
|
this.bankCode = model.RecipientBankCode;
|
|
this.bankAccountNo = model.RecipientAccountNo;
|
|
//this.rowId = model.processId;
|
|
}
|
|
|
|
public void SetRefundData(string flag, string action, DomesticRemitModel model)
|
|
{
|
|
this.flag = flag;
|
|
this.customerId = model.CustomerId;
|
|
this.customerSummary = model.processId;
|
|
this.amount = (Convert.ToDecimal(model.SentAmount) + Convert.ToDecimal(model.ServiceFee)).ToString();
|
|
this.action = action;
|
|
this.actionDate = "";
|
|
this.actionBy = model.UserId;
|
|
this.bankCode = model.senderBankCode;
|
|
this.bankAccountNo = model.senderAccountNo;
|
|
//this.rowId = model.processId;
|
|
}
|
|
}
|
|
}
|