123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Reflection;
- using System.Text;
- using System.Threading.Tasks;
- namespace SinochemCloudClient.Models
- {
- public class PaymentResponse : ResponseBase
- {
- public const string QRCodeResponse = "777";
- public const string PlainUserResponse = "888";
- public Data result { get; set; }
- public class Data
- {
- public double amount { get; set; }
- public double real_Pay_Amount { get; set; }
- public string display_Msg { get; set; }
- public string bill_ID { get; set; }
- public string shift_ID { get; set; }
- public string business_Date { get; set; }
- public string card_No { get; set; }
- public string cardNo_Hide { get; set; }
- public string pay_url { get; set; }
- public string invoiceUrl { get; set; }
- public string payMethod { get; set; }
- public string openId { get; set; }
- public override string ToString()
- {
- PropertyInfo[] _PropertyInfos = this.GetType().GetProperties();
- var sb = new StringBuilder();
- sb.Append(Environment.NewLine + "{" + Environment.NewLine);
- foreach (var info in _PropertyInfos)
- {
- var value = info.GetValue(this, null) ?? "(null)";
- sb.AppendLine(info.Name + ": " + value.ToString());
- }
- sb.Append("}");
- return sb.ToString();
- }
- }
- }
- }
|