using Newtonsoft.Json; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ApiTools.Core { /// /// 账户止付和解止付_银企直联 对公账户层的止付、解除止付 /// public class StopPaymentAndSettlementAccountsRequest : PingAnPayBaseRequest { /// /// 客户流水号 唯一标志该笔交易的流水号,不可重复,长度必须大于10位 /// [MaxLength(30)] [Required] [JsonProperty("seqNo")] public string SeqNo { get; set; } /// /// 止付账户 /// [MaxLength(30)] [Required] [JsonProperty("accountNo")] public string AccountNo { get; set; } /// /// 操作类型 A-止付 D-解除止付 /// [MaxLength(1)] [Required] [JsonProperty("opType")] public string OpType { get; set; } /// /// 止付编号 解除止付必须上送 /// [MaxLength(30)] [JsonProperty("stopPayFlw")] public string StopPayFlw { get; set; } /// /// 备注 /// [MaxLength(100)] [JsonProperty("remark")] public string Remark { get; set; } /// /// 币种 /// [MaxLength(3)] [JsonProperty("ccyCode")] public string CcyCode { get; set; } } public class StopPaymentAndSettlementAccountsResponse : PingAnPayBaseResponse { /// /// 客户流水号 /// public string SeqNo { get; set; } /// /// 银行业务流水 /// public string BizSeqNo { get; set; } /// /// 冻结止付编号 /// public string StopPayFlw { get; set; } /// /// 状态码 /// public string Stt { get; set; } /// /// 状态描述 /// public string SttDesc { get; set; } } }