#region Apache License Version 2.0
/*----------------------------------------------------------------
Copyright 2023 Jeffrey Su & Suzhou Senparc Network Technology Co.,Ltd.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the
License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
either express or implied. See the License for the specific language governing permissions
and limitations under the License.
Detail: https://github.com/JeffreySu/WeiXinMPSDK/blob/master/license.md
----------------------------------------------------------------*/
#endregion Apache License Version 2.0
/*----------------------------------------------------------------
Copyright (C) 2023 Senparc
文件名:ResponseRequestData.cs
文件功能描述:提交回复接口请求数据
创建标识:Senparc - 20210925
----------------------------------------------------------------*/
using Senparc.Weixin.TenPayV3.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
namespace Senparc.Weixin.TenPayV3.Apis.Complaint
{
///
/// 提交回复接口请求数据
/// 详细请参考微信支付官方文档 https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter10_2_14.shtml
///
public class ResponseRequestData
{
///
/// 含参构造函数
///
/// 投诉单号 path投诉单对应的投诉单号示例值:200201820200101080076610000
/// 被诉商户号 body投诉单对应的被诉商户号示例值:1900012181
/// 回复内容 body具体的投诉处理方案,限制200个字符以内。示例值:已与用户沟通解决
/// 回复图片 body传入调用商户上传反馈图片接口返回的media_id,最多上传4张图片凭证示例值:file23578_21798531.jpg可为null
public ResponseRequestData(string complaint_id, string complainted_mchid, string response_content, string[] response_images)
{
this.complaint_id = complaint_id;
this.complainted_mchid = complainted_mchid;
this.response_content = response_content;
this.response_images = response_images;
}
///
/// 无参构造函数
///
public ResponseRequestData()
{
}
///
/// 投诉单号
/// path投诉单对应的投诉单号
/// 示例值:200201820200101080076610000
///
[JsonIgnore]
public string complaint_id { get; set; }
///
/// 被诉商户号
/// body投诉单对应的被诉商户号
/// 示例值:1900012181
///
public string complainted_mchid { get; set; }
///
/// 回复内容
/// body具体的投诉处理方案,限制200个字符以内。
/// 示例值:已与用户沟通解决
///
public string response_content { get; set; }
///
/// 回复图片
/// body传入调用商户上传反馈图片接口返回的media_id,最多上传4张图片凭证
/// 示例值:file23578_21798531.jpg
/// 可为null
///
public string[] response_images { get; set; }
}
}