NewGaoKaoApi/PaymentSDK/AliPay/Domain/AlipayMarketingCardOpenMode...

55 lines
2.3 KiB
C#
Raw 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>
/// AlipayMarketingCardOpenModel Data Structure.
/// </summary>
[Serializable]
public class AlipayMarketingCardOpenModel : AopObject
{
/// <summary>
/// 外部卡信息(biz_card_no无需填写)
/// </summary>
[XmlElement("card_ext_info")]
public MerchantCard CardExtInfo { get; set; }
/// <summary>
/// 支付宝分配的卡模板Id卡模板创建接口返回的模板ID
/// </summary>
[XmlElement("card_template_id")]
public string CardTemplateId { get; set; }
/// <summary>
/// 发卡用户信息
/// </summary>
[XmlElement("card_user_info")]
public CardUserInfo CardUserInfo { get; set; }
/// <summary>
/// 商户会员信息
/// </summary>
[XmlElement("member_ext_info")]
public MerchantMenber MemberExtInfo { get; set; }
/// <summary>
/// 领卡渠道,用于记录外部商户端领卡来源的渠道信息,渠道值可自行定义(仅限数字、字母、下划线) 可直接标识领卡渠道也可配合open_card_channel_id标识领卡渠道类型 例如: 线下门店领取:20161534000000000008863直接标识领卡渠道门店shopId 线下扫二维码领取:QR标识领卡类型; 线下活动领取:20170522000000000003609直接标识领卡渠道商户活动ID
/// </summary>
[XmlElement("open_card_channel")]
public string OpenCardChannel { get; set; }
/// <summary>
/// 领卡来源的渠道id注意区别于open_card_channel领卡渠道 一般使用场景: open_card_channel用于区分渠道类型例如取值为"SHOP"(门店),"ACTIVITY"(活动); 则open_card_channel_id可用于区分同渠道的不同实体对应取各门店ID或各活动的标识ID等
/// </summary>
[XmlElement("open_card_channel_id")]
public string OpenCardChannelId { get; set; }
/// <summary>
/// 外部商户流水号商户需要确保唯一性控制类似request_id唯一请求标识
/// </summary>
[XmlElement("out_serial_no")]
public string OutSerialNo { get; set; }
}
}