|
|
|
|
using System;
|
|
|
|
|
using System.Xml.Serialization;
|
|
|
|
|
|
|
|
|
|
namespace Aop.Api.Response
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// AlipayMobileCodeCreateResponse.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class AlipayMobileCodeCreateResponse : AopResponse
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 业务关联的id,如订单号,userId
|
|
|
|
|
/// </summary>
|
|
|
|
|
[XmlElement("biz_linked_id")]
|
|
|
|
|
public string BizLinkedId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 业务类型,类型产品名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[XmlElement("biz_type")]
|
|
|
|
|
public string BizType { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 码值状态, init:初始 normal:正常 pause:暂停 stop:停止
|
|
|
|
|
/// </summary>
|
|
|
|
|
[XmlElement("code_status")]
|
|
|
|
|
public string CodeStatus { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 发码接口传入的扩展参数,业务自定义,码平台不用理解。
|
|
|
|
|
/// </summary>
|
|
|
|
|
[XmlElement("context_str")]
|
|
|
|
|
public string ContextStr { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 动态生成图片地址
|
|
|
|
|
/// </summary>
|
|
|
|
|
[XmlElement("dynamic_img_url")]
|
|
|
|
|
public string DynamicImgUrl { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 编码失效时间(yyyy-MM-dd hh:mm:ss)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[XmlElement("expire_date")]
|
|
|
|
|
public string ExpireDate { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 如果是true,则扫一扫下发跳转地址直接取自BizLinkedId 否则,从路由信息里取跳转地址
|
|
|
|
|
/// </summary>
|
|
|
|
|
[XmlElement("is_direct")]
|
|
|
|
|
public string IsDirect { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 备注信息字段
|
|
|
|
|
/// </summary>
|
|
|
|
|
[XmlElement("memo")]
|
|
|
|
|
public string Memo { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 业务用到的码值
|
|
|
|
|
/// </summary>
|
|
|
|
|
[XmlElement("qr_code")]
|
|
|
|
|
public string QrCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 原始码值
|
|
|
|
|
/// </summary>
|
|
|
|
|
[XmlElement("qr_token")]
|
|
|
|
|
public string QrToken { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 发码来源,业务自定义
|
|
|
|
|
/// </summary>
|
|
|
|
|
[XmlElement("source_id")]
|
|
|
|
|
public string SourceId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 编码启动时间(yyy-MM-dd hh:mm:ss),为空表示立即启用
|
|
|
|
|
/// </summary>
|
|
|
|
|
[XmlElement("start_date")]
|
|
|
|
|
public string StartDate { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 发码请求中带的支付宝用户id
|
|
|
|
|
/// </summary>
|
|
|
|
|
[XmlElement("user_id")]
|
|
|
|
|
public string UserId { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|