Files
juipnet/Infrastructure/ServiceClient/Alipay.AopSdk.Core/Domain/MerchantCard.cs
“wanyongkang” ed3b2c653e 接口文件
2024-04-10 13:55:27 +08:00

81 lines
2.9 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>
/// MerchantCard Data Structure.
/// </summary>
[Serializable]
public class MerchantCard : AopObject
{
/// <summary>
/// 资金卡余额,单位:元,精确到小数点后两位。
/// </summary>
[JsonProperty("balance")]
public string Balance { get; set; }
/// <summary>
/// 支付宝业务卡号 说明: 1、开卡成功后返回该参数需要保存留用 2、开卡/更新/删卡/查询卡接口请求中不需要传该参数;
/// </summary>
[JsonProperty("biz_card_no")]
public string BizCardNo { get; set; }
/// <summary>
/// 商户外部会员卡卡号 说明: 1、会员卡开卡接口如果卡类型为外部会员卡请求中则必须提供该参数 2、更新、查询、删除等接口请求中则不需要提供该参数值
/// </summary>
[JsonProperty("external_card_no")]
public string ExternalCardNo { get; set; }
/// <summary>
/// 卡面展示图片的图片ID通过接口alipay.offline.material.image.upload上传图片 这里预期展示的是个人照片; 图片说明1M以内格式bmp、png、jpeg、jpg、gif
/// 图片尺寸为230*295px可等比放大
/// </summary>
[JsonProperty("front_image_id")]
public string FrontImageId { get; set; }
/// <summary>
/// 卡面文案列表1项对应1行文案最多只能传入4行文案 单行文案展现分为左右两部分左边对应label字段右边对应value 形如: 学院 新闻学院
/// </summary>
[JsonProperty("front_text_list")]
public List<CardFrontTextDTO> FrontTextList { get; set; }
/// <summary>
/// 会员卡等级(由商户自定义,并可以在卡模板创建时,定义等级信息)
/// </summary>
[JsonProperty("level")]
public string Level { get; set; }
/// <summary>
/// 商户动态码回传信息: 只用于当write_off_type核销类型为mdbarcode或mdqrcode时商户调用卡更新接口回传动态码。
/// </summary>
[JsonProperty("mdcode_info")]
public MdCodeInfoDTO MdcodeInfo { get; set; }
/// <summary>
/// 会员卡开卡时间格式为yyyy-MM-dd HH:mm:ss
/// </summary>
[JsonProperty("open_date")]
public string OpenDate { get; set; }
/// <summary>
/// 会员卡积分积分必须为数字型可为浮点型带2位小数点
/// </summary>
[JsonProperty("point")]
public string Point { get; set; }
/// <summary>
/// 会员卡更换不同的卡模板(该参数仅用在会员卡更新接口中)
/// </summary>
[JsonProperty("template_id")]
public string TemplateId { get; set; }
/// <summary>
/// 会员卡有效期
/// </summary>
[JsonProperty("valid_date")]
public string ValidDate { get; set; }
}
}