Files
juipnet/Infrastructure/ServiceClient/Alipay.AopSdk.Core/Domain/SignTask.cs
wanyongkang d318014316 初始提交
2020-10-07 20:25:03 +08:00

70 lines
2.3 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Alipay.AopSdk.Core.Domain
{
/// <summary>
/// SignTask Data Structure.
/// </summary>
[Serializable]
public class SignTask : AopObject
{
/// <summary>
/// 业务扩展参数 {"key1":"value2"}
/// </summary>
[JsonProperty("biz_data")]
public string BizData { get; set; }
/// <summary>
/// 业务流水号,保证唯一性
/// </summary>
[JsonProperty("biz_id")]
public string BizId { get; set; }
/// <summary>
/// 定义签约流程结束后回调方式,必传,枚举值,由签约平台定义。 1. call_back_url。支付宝签约流程结束后通过http协议回调业务系统页面或外部应用。 2. close。 支付宝签约流程结束后,关闭流程,不做跳转。
/// </summary>
[JsonProperty("cb_type")]
public string CbType { get; set; }
/// <summary>
/// 回调外部业务系统的地址
/// </summary>
[JsonProperty("cb_url")]
public string CbUrl { get; set; }
/// <summary>
/// 1 - 云签 2 - 移动签
/// </summary>
[JsonProperty("cert_sign_type")]
public long CertSignType { get; set; }
/// <summary>
/// 签约跳转方式格式说明业务入口形态_2_支付宝签约方式。 'NONEED' // 无需支付宝认证 'h5_2_alipay' // 支付宝内部H5页面通过Url跳转支付宝钱包H5签约流程 'app_2_alipay'
/// // 支付宝外部APP通过schema协议跳转支付宝钱包H5签约流程 'qrcode_2_alipay' // 请求一个签约二维码入口通过支付宝钱包二维码扫一扫跳转H5签约流程 'pc_2_pc' //
/// PC签约流程通过Url跳转支付宝PC签约流程
/// </summary>
[JsonProperty("enter_type")]
public string EnterType { get; set; }
/// <summary>
/// 签约操作者列表
/// </summary>
[JsonProperty("principal_list")]
public List<Principal> PrincipalList { get; set; }
/// <summary>
/// 签约主体类型。 individual //个人认证 entreprise //企业认证
/// </summary>
[JsonProperty("signer_type")]
public string SignerType { get; set; }
/// <summary>
/// 签约任务有效时长,单位秒。可有外部系统控制时长,如果不传系统会赋予默认值。
/// </summary>
[JsonProperty("task_expire")]
public string TaskExpire { get; set; }
}
}