All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.alipay.api.domain.AlipayMarketingCardTemplateCreateModel Maven / Gradle / Ivy

Go to download

Alipay openapi SDK for Java Copyright © 2018 杭州蚂蚁金服 All rights reserved. 版权所有 (C)杭州蚂蚁金服 http://open.alipay.com

There is a newer version: 4.40.21.ALL
Show newest version
package com.alipay.api.domain;

import java.util.List;

import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
import com.alipay.api.internal.mapping.ApiListField;

/**
 * 会员卡模板创建
 *
 * @author auto create
 * @since 1.0, 2024-10-22 14:39:54
 */
public class AlipayMarketingCardTemplateCreateModel extends AlipayObject {

	private static final long serialVersionUID = 6522849541152166753L;

	/**
	 * 接入版本
	 */
	@ApiField("access_version")
	private String accessVersion;

	/**
	 * 业务卡号前缀,由商户指定

支付宝业务卡号生成规则:biz_no_prefix(商户指定)卡号前缀 + biz_no_suffix(实时生成)卡号后缀
	 */
	@ApiField("biz_no_prefix")
	private String bizNoPrefix;

	/**
	 * 业务卡号后缀长度,与biz_no_prefix配合,扣除系统预留2位,剩下对应seq长度。在生成卡号时,若seq位数不足前置补0,若seq位数超出则以实际为准。举例:设为10,其中8位用于生成seq,可覆盖1亿用户,即使seq超过1亿,生成卡号也不报错,但总长度不得超过32位。建议按需设置合适的值,以获得长度一致的业务卡号,建议长度20,性能更好。
	 */
	@ApiField("biz_no_suffix_len")
	private String bizNoSuffixLen;

	/**
	 * "卡行动点配置; 行动点,即用户可点击跳转的区块,类似按钮控件的交互; 单张卡最多定制3个行动点。如果各项的配置内容完全一样,展示时会进行去重。"
	 */
	@ApiListField("card_action_list")
	@ApiField("template_action_info_d_t_o")
	private List cardActionList;

	/**
	 * 卡级别配置
	 */
	@ApiListField("card_level_conf")
	@ApiField("template_card_level_conf_d_t_o")
	private List cardLevelConf;

	/**
	 * 卡特定标签,只供特定业务使用,通常接入无需关注
	 */
	@ApiField("card_spec_tag")
	private String cardSpecTag;

	/**
	 * 卡类型
	 */
	@ApiField("card_type")
	private String cardType;

	/**
	 * 栏位信息
	 */
	@ApiListField("column_info_list")
	@ApiField("template_column_info_d_t_o")
	private List columnInfoList;

	/**
	 * "字段规则列表,会员卡开卡过程中,会员卡信息的生成规则, 例如:卡有效期为开卡后两年内有效,则设置为:DATE_IN_FUTURE"
	 */
	@ApiListField("field_rule_list")
	@ApiField("template_field_rule_d_t_o")
	private List fieldRuleList;

	/**
	 * "商户动态码通知参数配置: 当write_off_type指定为商户动态码mdbarcode或mdqrcode时必填; 在此字段配置用户打开会员卡时支付宝通知商户生成动态码(发码)的通知参数,如接收通知地址等。"
	 */
	@ApiField("mdcode_notify_conf")
	private TemplateMdcodeNotifyConfDTO mdcodeNotifyConf;

	/**
	 * 会员卡用户领卡配置,在门店等渠道露出领卡入口时,需要部署的商户领卡H5页面地址
	 */
	@ApiField("open_card_conf")
	private TemplateOpenCardConfDTO openCardConf;

	/**
	 * 付费外卡配置。只供特定业务使用,通常接入无需关注
	 */
	@ApiField("paid_outer_card_conf")
	private PaidOuterCardTemplateConfDTO paidOuterCardConf;

	/**
	 * 卡模板投放渠道
	 */
	@ApiListField("pub_channels")
	@ApiField("pub_channel_d_t_o")
	private List pubChannels;

	/**
	 * 请求ID,商家自定义且并保证唯一性。
	 */
	@ApiField("request_id")
	private String requestId;

	/**
	 * 服务标签列表
	 */
	@ApiListField("service_label_list")
	@ApiField("string")
	private List serviceLabelList;

	/**
	 * 会员卡上架门店id(支付宝门店id),即发放会员卡的商家门店id
	 */
	@ApiListField("shop_ids")
	@ApiField("string")
	private List shopIds;

	/**
	 * spi应用id,为实现spi.alipay.user.opencard.get接口的app_id。若是第三方代理模式,可以设置成服务商的 APPID 或者是商家自己的 APPID;
若不是第三方代理模式,只能设置商家自己的 APPID。
	 */
	@ApiField("spi_app_id")
	private String spiAppId;

	/**
	 * "权益信息, 1、在卡包的卡详情页面会自动添加“会员权益”栏位,展现此字段配置的会员卡权益信息, 2、如果添加门店渠道,则可在门店页展现会员卡的权益"
	 */
	@ApiListField("template_benefit_info")
	@ApiField("template_benefit_info_d_t_o")
	private List templateBenefitInfo;

	/**
	 * 入会表单配置,包括入会表单的字段,入会弹层承接小程序appId等
	 */
	@ApiField("template_form_config")
	private TemplateFormConfig templateFormConfig;

	/**
	 * 模板样式信息
	 */
	@ApiField("template_style_info")
	private TemplateStyleInfoDTO templateStyleInfo;

	/**
	 * 卡包详情页面中展现出的卡码(可用于扫码核销)

(1) 静态码
qrcode: 二维码,扫码得商户开卡传入的external_card_no
barcode: 条形码,扫码得商户开卡传入的external_card_no

(2) 动态码-支付宝生成码值(动态码会在2分钟左右后过期)
dqrcode: 动态二维码,扫码得到的码值可配合会员卡查询接口使用
dbarcode: 动态条形码,扫码得到的码值可配合会员卡查询接口使用

(3) 动态码-商家自主生成码值(码值、时效性都由商户控制)
mdqrcode: 商户动态二维码,扫码得商户自主传入的码值
mdbarcode: 商户动态条码,扫码得商户自主传入的码值
如需使用商户动态码,对接详情参见 商户动态发码。
	 */
	@ApiField("write_off_type")
	private String writeOffType;

	public String getAccessVersion() {
		return this.accessVersion;
	}
	public void setAccessVersion(String accessVersion) {
		this.accessVersion = accessVersion;
	}

	public String getBizNoPrefix() {
		return this.bizNoPrefix;
	}
	public void setBizNoPrefix(String bizNoPrefix) {
		this.bizNoPrefix = bizNoPrefix;
	}

	public String getBizNoSuffixLen() {
		return this.bizNoSuffixLen;
	}
	public void setBizNoSuffixLen(String bizNoSuffixLen) {
		this.bizNoSuffixLen = bizNoSuffixLen;
	}

	public List getCardActionList() {
		return this.cardActionList;
	}
	public void setCardActionList(List cardActionList) {
		this.cardActionList = cardActionList;
	}

	public List getCardLevelConf() {
		return this.cardLevelConf;
	}
	public void setCardLevelConf(List cardLevelConf) {
		this.cardLevelConf = cardLevelConf;
	}

	public String getCardSpecTag() {
		return this.cardSpecTag;
	}
	public void setCardSpecTag(String cardSpecTag) {
		this.cardSpecTag = cardSpecTag;
	}

	public String getCardType() {
		return this.cardType;
	}
	public void setCardType(String cardType) {
		this.cardType = cardType;
	}

	public List getColumnInfoList() {
		return this.columnInfoList;
	}
	public void setColumnInfoList(List columnInfoList) {
		this.columnInfoList = columnInfoList;
	}

	public List getFieldRuleList() {
		return this.fieldRuleList;
	}
	public void setFieldRuleList(List fieldRuleList) {
		this.fieldRuleList = fieldRuleList;
	}

	public TemplateMdcodeNotifyConfDTO getMdcodeNotifyConf() {
		return this.mdcodeNotifyConf;
	}
	public void setMdcodeNotifyConf(TemplateMdcodeNotifyConfDTO mdcodeNotifyConf) {
		this.mdcodeNotifyConf = mdcodeNotifyConf;
	}

	public TemplateOpenCardConfDTO getOpenCardConf() {
		return this.openCardConf;
	}
	public void setOpenCardConf(TemplateOpenCardConfDTO openCardConf) {
		this.openCardConf = openCardConf;
	}

	public PaidOuterCardTemplateConfDTO getPaidOuterCardConf() {
		return this.paidOuterCardConf;
	}
	public void setPaidOuterCardConf(PaidOuterCardTemplateConfDTO paidOuterCardConf) {
		this.paidOuterCardConf = paidOuterCardConf;
	}

	public List getPubChannels() {
		return this.pubChannels;
	}
	public void setPubChannels(List pubChannels) {
		this.pubChannels = pubChannels;
	}

	public String getRequestId() {
		return this.requestId;
	}
	public void setRequestId(String requestId) {
		this.requestId = requestId;
	}

	public List getServiceLabelList() {
		return this.serviceLabelList;
	}
	public void setServiceLabelList(List serviceLabelList) {
		this.serviceLabelList = serviceLabelList;
	}

	public List getShopIds() {
		return this.shopIds;
	}
	public void setShopIds(List shopIds) {
		this.shopIds = shopIds;
	}

	public String getSpiAppId() {
		return this.spiAppId;
	}
	public void setSpiAppId(String spiAppId) {
		this.spiAppId = spiAppId;
	}

	public List getTemplateBenefitInfo() {
		return this.templateBenefitInfo;
	}
	public void setTemplateBenefitInfo(List templateBenefitInfo) {
		this.templateBenefitInfo = templateBenefitInfo;
	}

	public TemplateFormConfig getTemplateFormConfig() {
		return this.templateFormConfig;
	}
	public void setTemplateFormConfig(TemplateFormConfig templateFormConfig) {
		this.templateFormConfig = templateFormConfig;
	}

	public TemplateStyleInfoDTO getTemplateStyleInfo() {
		return this.templateStyleInfo;
	}
	public void setTemplateStyleInfo(TemplateStyleInfoDTO templateStyleInfo) {
		this.templateStyleInfo = templateStyleInfo;
	}

	public String getWriteOffType() {
		return this.writeOffType;
	}
	public void setWriteOffType(String writeOffType) {
		this.writeOffType = writeOffType;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy