public void FromWrapper(SPSStatePaymentInfoWrapper wrapper) { this.Id = wrapper.Id; this.MobileNumber = wrapper.MobileNumber; this.ChannelID = wrapper.ChannelID; this.ClientID = wrapper.ClientID; this.Message = wrapper.Message; this.IsIntercept = wrapper.IsIntercept; this.CreateDate = wrapper.CreateDate; this.Cpid = wrapper.Cpid; this.Mid = wrapper.Mid; this.Port = wrapper.Port; this.Ywid = wrapper.Ywid; this.Linkid = wrapper.Linkid; this.Dest = wrapper.Dest; this.Price = wrapper.Price; this.Ip = wrapper.Ip; this.SucesssToSend = wrapper.SucesssToSend; this.ExtendField1 = wrapper.ExtendField1; this.ExtendField2 = wrapper.ExtendField2; this.ExtendField3 = wrapper.ExtendField3; this.ExtendField4 = wrapper.ExtendField4; this.ExtendField5 = wrapper.ExtendField5; this.ExtendField6 = wrapper.ExtendField6; this.ExtendField7 = wrapper.ExtendField7; this.ExtendField8 = wrapper.ExtendField8; //this.RequestContent = wrapper.RequestContent; this.City = wrapper.City; this.Province = wrapper.Province; this.IsTestData = wrapper.IsTestData; this.ChannleClientID = wrapper.ChannleClientID; this.IsSycnData = wrapper.IsSycnData; this.SSycnDataUrl = wrapper.SSycnDataUrl; this.SycnRetryTimes = wrapper.SycnRetryTimes; }
public SPSStatePaymentInfoWrapper ToWrapper() { SPSStatePaymentInfoWrapper wrapper = new SPSStatePaymentInfoWrapper(); wrapper.Id = this.Id; wrapper.MobileNumber = this.MobileNumber; wrapper.ChannelID = this.ChannelID; wrapper.ClientID = this.ClientID; wrapper.Message = this.Message; wrapper.IsIntercept = this.IsIntercept; wrapper.CreateDate = this.CreateDate; wrapper.Cpid = this.Cpid; wrapper.Mid = this.Mid; wrapper.Port = this.Port; wrapper.Ywid = this.Ywid; wrapper.Linkid = this.Linkid; wrapper.Dest = this.Dest; wrapper.Price = this.Price; wrapper.Ip = this.Ip; wrapper.SucesssToSend = this.SucesssToSend; wrapper.ExtendField1 = this.ExtendField1; wrapper.ExtendField2 = this.ExtendField2; wrapper.ExtendField3 = this.ExtendField3; wrapper.ExtendField4 = this.ExtendField4; wrapper.ExtendField5 = this.ExtendField5; wrapper.ExtendField6 = this.ExtendField6; wrapper.ExtendField7 = this.ExtendField7; wrapper.ExtendField8 = this.ExtendField8; wrapper.IsReport = this.IsReport; wrapper.RequestContent = this.RequestContent; wrapper.City = this.City; wrapper.Province = this.Province; wrapper.IsTestData = this.IsTestData; wrapper.ChannleClientID = this.ChannleClientID; wrapper.IsSycnData = this.IsSycnData; wrapper.SSycnDataUrl = this.SSycnDataUrl; wrapper.SycnRetryTimes = this.SycnRetryTimes; return(wrapper); }