using System.Text.Json.Serialization;

namespace Essensoft.Paylink.Alipay.Response
{
    /// <summary>
    /// AlipayMerchantStoreShopcodeCreateResponse.
    /// </summary>
    public class AlipayMerchantStoreShopcodeCreateResponse : AlipayResponse
    {
        /// <summary>
        /// 申请流水ID
        /// </summary>
        [JsonPropertyName("apply_id")]
        public string ApplyId { get; set; }

        /// <summary>
        /// 商户确认地址
        /// </summary>
        [JsonPropertyName("confirm_url")]
        public string ConfirmUrl { get; set; }

        /// <summary>
        /// 门店码开通结果码，详细可参考文档下方统一对外错误码
        /// </summary>
        [JsonPropertyName("result_code")]
        public string ResultCode { get; set; }

        /// <summary>
        /// 门店码开通结果提示，详细可参考文档下方统一对外错误码
        /// </summary>
        [JsonPropertyName("result_desc")]
        public string ResultDesc { get; set; }

        /// <summary>
        /// 开通门店码请求状态码，提交后一般为“等待商户确认”状态(WAIT_MERCHANT_CONFIRM)。
        /// </summary>
        [JsonPropertyName("status")]
        public string Status { get; set; }
    }
}
