139 lines
6.9 KiB
C#
139 lines
6.9 KiB
C#
using System;
|
||
using System.Xml.Serialization;
|
||
|
||
namespace Aop.Api.Domain
|
||
{
|
||
/// <summary>
|
||
/// AlipayUserAgreementPageSignModel Data Structure.
|
||
/// </summary>
|
||
[Serializable]
|
||
public class AlipayUserAgreementPageSignModel : AopObject
|
||
{
|
||
/// <summary>
|
||
/// 请按当前接入的方式进行填充,且输入值必须为文档中的参数取值范围。 扫码或者短信页面签约需要拼装http的请求地址访问中间页面,钱包h5页面签约可直接拼接schema的请求地址
|
||
/// </summary>
|
||
[XmlElement("access_params")]
|
||
public AccessParams AccessParams { get; set; }
|
||
|
||
/// <summary>
|
||
/// 协议生效类型, 用于指定协议是立即生效还是等待商户通知再生效. 可空, 不填默认为立即生效. DIRECT: 立即生效. NOTICE: 商户通知生效, 需要再次调用alipay.user.agreement.sign.effect (支付宝个人协议签约生效接口)接口推进协议生效. 默认为DIRECT
|
||
/// </summary>
|
||
[XmlElement("agreement_effect_type")]
|
||
public string AgreementEffectType { get; set; }
|
||
|
||
/// <summary>
|
||
/// 是否允许花芝GO降级成原代扣(即销售方案指定的代扣产品),在花芝GO场景下才会使用该值。取值:true-允许降级,false-不允许降级。默认为true。
|
||
/// </summary>
|
||
[XmlElement("allow_huazhi_degrade")]
|
||
public string AllowHuazhiDegrade { get; set; }
|
||
|
||
/// <summary>
|
||
/// 设备信息参数,在使用设备维度签约代扣协议时,可以传这些信息
|
||
/// </summary>
|
||
[XmlElement("device_params")]
|
||
public DeviceParams DeviceParams { get; set; }
|
||
|
||
/// <summary>
|
||
/// 商户签约号,代扣协议中标示用户的唯一签约号(确保在商户系统中唯一)。 格式规则:支持大写小写字母和数字,最长32位。 商户系统按需传入,如果同一用户在同一产品码、同一签约场景下,签订了多份代扣协议,那么需要指定并传入该值。
|
||
/// </summary>
|
||
[XmlElement("external_agreement_no")]
|
||
public string ExternalAgreementNo { get; set; }
|
||
|
||
/// <summary>
|
||
/// 用户在商户网站的登录账号,用于在签约页面展示,如果为空,则不展示
|
||
/// </summary>
|
||
[XmlElement("external_logon_id")]
|
||
public string ExternalLogonId { get; set; }
|
||
|
||
/// <summary>
|
||
/// 用户实名信息参数,包含:姓名、身份证号、签约指定uid。商户传入用户实名信息参数,支付宝会对比用户在支付宝端的实名信息。
|
||
/// </summary>
|
||
[XmlElement("identity_params")]
|
||
public IdentityParams IdentityParams { get; set; }
|
||
|
||
/// <summary>
|
||
/// 参数名:跳转商户处理url 应用场景:商户需要在签约流程中跳转到商户自己的页面做处理的场景,如获得用户授权获取实名信息等 如何获取:商户自己提供的页面地址 特殊说明:商户如果传递此参数,则会在签约流程中跳转所传递的地址,不传则不会跳转
|
||
/// </summary>
|
||
[XmlElement("merchant_process_url")]
|
||
public string MerchantProcessUrl { get; set; }
|
||
|
||
/// <summary>
|
||
/// 业务透传参数
|
||
/// </summary>
|
||
[XmlElement("pass_params")]
|
||
public string PassParams { get; set; }
|
||
|
||
/// <summary>
|
||
/// 周期管控规则参数period_rule_params,在签约周期扣款产品(如CYCLE_PAY_AUTH_P)时必传,在签约其他产品时无需传入。 周期扣款产品,会按照这里传入的参数提示用户,并对发起扣款的时间、金额、次数等做相应限制。
|
||
/// </summary>
|
||
[XmlElement("period_rule_params")]
|
||
public PeriodRuleParams PeriodRuleParams { get; set; }
|
||
|
||
/// <summary>
|
||
/// 个人签约产品码,商户和支付宝签约时确定,商户可咨询技术支持。
|
||
/// </summary>
|
||
[XmlElement("personal_product_code")]
|
||
public string PersonalProductCode { get; set; }
|
||
|
||
/// <summary>
|
||
/// 签约产品属性,json格式
|
||
/// </summary>
|
||
[XmlElement("prod_params")]
|
||
public ProdParams ProdParams { get; set; }
|
||
|
||
/// <summary>
|
||
/// 销售产品码,商户签约的支付宝合同所对应的产品码。
|
||
/// </summary>
|
||
[XmlElement("product_code")]
|
||
public string ProductCode { get; set; }
|
||
|
||
/// <summary>
|
||
/// 签约营销参数,此值为json格式;具体的key需与营销约定
|
||
/// </summary>
|
||
[XmlElement("promo_params")]
|
||
public string PromoParams { get; set; }
|
||
|
||
/// <summary>
|
||
/// 协议签约场景,商户和支付宝签约时确定,商户可咨询技术支持。 当传入商户签约号external_agreement_no时,场景不能为默认值DEFAULT|DEFAULT。
|
||
/// </summary>
|
||
[XmlElement("sign_scene")]
|
||
public string SignScene { get; set; }
|
||
|
||
/// <summary>
|
||
/// 当前用户签约请求的协议有效周期。 整形数字加上时间单位的协议有效期,从发起签约请求的时间开始算起。 目前支持的时间单位: 1. d:天 2. m:月 如果未传入,默认为长期有效。
|
||
/// </summary>
|
||
[XmlElement("sign_validity_period")]
|
||
public string SignValidityPeriod { get; set; }
|
||
|
||
/// <summary>
|
||
/// 商户指定优先扣款渠道
|
||
/// </summary>
|
||
[XmlElement("specified_sort_channel_params")]
|
||
public SpecifiedChannelParam SpecifiedSortChannelParams { get; set; }
|
||
|
||
/// <summary>
|
||
/// 此参数用于传递子商户信息,无特殊需求时不用关注。目前商户代扣、海外代扣、淘旅行信用住产品支持传入该参数(在销售方案中“是否允许自定义子商户信息”需要选是)。
|
||
/// </summary>
|
||
[XmlElement("sub_merchant")]
|
||
public SubMerchantParams SubMerchant { get; set; }
|
||
|
||
/// <summary>
|
||
/// 签约第三方主体类型。对于三方协议,表示当前用户和哪一类的第三方主体进行签约。 取值范围: 1. PARTNER(平台商户) 2. MERCHANT(集团商户),集团下子商户可共享用户签约内容 默认为PARTNER。
|
||
/// </summary>
|
||
[XmlElement("third_party_type")]
|
||
public string ThirdPartyType { get; set; }
|
||
|
||
/// <summary>
|
||
/// 商户希望限制的签约用户的年龄范围,min表示可签该协议的用户年龄下限,max表示年龄上限。如{"min": "18","max": "30"}表示18=<年龄<=30的用户可以签约该协议。
|
||
/// </summary>
|
||
[XmlElement("user_age_range")]
|
||
public string UserAgeRange { get; set; }
|
||
|
||
/// <summary>
|
||
/// 芝麻授权信息,针对于信用代扣签约。json格式。
|
||
/// </summary>
|
||
[XmlElement("zm_auth_params")]
|
||
public ZmAuthParams ZmAuthParams { get; set; }
|
||
}
|
||
}
|