1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- using System.ComponentModel.DataAnnotations;
- namespace WebApplicationSample.Models
- {
- public class WeChatPayAppPayV3ViewModel
- {
- [Required]
- [Display(Name = "out_trade_no")]
- public string OutTradeNo { get; set; }
- [Required]
- [Display(Name = "description")]
- public string Description { get; set; }
- [Required]
- [Display(Name = "total")]
- public int Total { get; set; }
- [Required]
- [Display(Name = "notify_url")]
- public string NotifyUrl { get; set; }
- }
- public class WeChatPayPubPayV3ViewModel
- {
- [Required]
- [Display(Name = "out_trade_no")]
- public string OutTradeNo { get; set; }
- [Required]
- [Display(Name = "description")]
- public string Description { get; set; }
- [Required]
- [Display(Name = "total")]
- public int Total { get; set; }
- [Required]
- [Display(Name = "notify_url")]
- public string NotifyUrl { get; set; }
- [Required]
- [Display(Name = "openid")]
- public string OpenId { get; set; }
- }
- public class WeChatPayQrCodePayV3ViewModel
- {
- [Required]
- [Display(Name = "out_trade_no")]
- public string OutTradeNo { get; set; }
- [Required]
- [Display(Name = "description")]
- public string Description { get; set; }
- [Required]
- [Display(Name = "total")]
- public int Total { get; set; }
- [Required]
- [Display(Name = "notify_url")]
- public string NotifyUrl { get; set; }
- }
- public class WeChatPayH5PayV3ViewModel
- {
- [Required]
- [Display(Name = "out_trade_no")]
- public string OutTradeNo { get; set; }
- [Required]
- [Display(Name = "description")]
- public string Description { get; set; }
- [Required]
- [Display(Name = "total")]
- public int Total { get; set; }
- [Required]
- [Display(Name = "notify_url")]
- public string NotifyUrl { get; set; }
- }
- public class WeChatPayQueryByTransactionIdViewModel
- {
- [Required]
- [Display(Name = "transaction_id")]
- public string TransactionId { get; set; }
- }
- public class WeChatPayQueryByOutTradeNoViewModel
- {
- [Required]
- [Display(Name = "out_trade_no")]
- public string OutTradeNo { get; set; }
- }
- }
|