NewGaoKaoApi/PaymentSDK/AliPay/Domain/AgreementSignParams.cs

67 lines
2.8 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using System;
using System.Xml.Serialization;
namespace Aop.Api.Domain
{
/// <summary>
/// AgreementSignParams Data Structure.
/// </summary>
[Serializable]
public class AgreementSignParams : AopObject
{
/// <summary>
/// 商户在芝麻端申请的appId
/// </summary>
[XmlElement("buckle_app_id")]
public string BuckleAppId { get; set; }
/// <summary>
/// 商户在芝麻端申请的merchantId
/// </summary>
[XmlElement("buckle_merchant_id")]
public string BuckleMerchantId { 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>
/// 个人签约产品码,商户和支付宝签约时确定。
/// </summary>
[XmlElement("personal_product_code")]
public string PersonalProductCode { 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>
/// 签约第三方主体类型。对于三方协议,表示当前用户和哪一类的第三方主体进行签约。 取值范围: 1. PARTNER平台商户; 2. MERCHANT集团商户集团下子商户可共享用户签约内容; 默认为PARTNER。
/// </summary>
[XmlElement("third_party_type")]
public string ThirdPartyType { get; set; }
}
}