| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- using System.Text.Json.Serialization;
- namespace Essensoft.AspNetCore.Payment.WeChatPay.Domain
- {
- /// <summary>
- /// 订单金额信息
- /// </summary>
- public class QueryAmount : WeChatPayObject
- {
- /// <summary>
- /// 订单金额
- /// 订单总金额,单位为分。
- /// 示例值:100
- /// </summary>
- [JsonPropertyName("total")]
- public int Total { get; set; }
- /// <summary>
- /// 用户支付金额
- /// 用户支付金额,单位为分。
- /// 示例值:100
- /// </summary>
- [JsonPropertyName("payer_total")]
- public int PayerTotal { get; set; }
- /// <summary>
- /// 货币类型
- /// CNY:人民币,境内商户号仅支持人民币。
- /// 示例值:CNY
- /// </summary>
- [JsonPropertyName("currency")]
- public string Currency { get; set; }
- /// <summary>
- /// 用户支付币种
- /// 用户支付币种
- /// 示例值:CNY
- /// </summary>
- [JsonPropertyName("payer_currency")]
- public string PayerCurrency { get; set; }
- }
- }
|