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

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

package com.alipay.api.domain;

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

/**
 * 支付宝用户场景合作咨询
 *
 * @author auto create
 * @since 1.0, 2022-09-21 18:07:54
 */
public class AlipayUserSceneCooperationConsultModel extends AlipayObject {

	private static final long serialVersionUID = 7792599825496481788L;

	/**
	 * 人传人场景码。如果商户需要接入人传人活动建立邀请关系,则需要设置此参数表示人传人场景。当前所有接入人传人的商户统一使用 CommerceService
	 */
	@ApiField("invite_scene")
	private String inviteScene;

	/**
	 * 商户用来标识自己的合作方ID,可用于人传人下级渠道多级返奖
	 */
	@ApiField("partner_id")
	private String partnerId;

	/**
	 * 用来标识商户实体,可以是商户的支付宝用户ID
	 */
	@ApiField("pid")
	private String pid;

	/**
	 * 用户主体信息。要求AlipayUserPrincipalInfo中的user_id、mobile(不加国家码)、email属性,有且只有一个非空。否则接口会忽略除去优先级最高的属性之外的其他属性。user_id优先级最高,mobile次之,email最后
	 */
	@ApiField("principal")
	private AlipayUserPrincipalInfo principal;

	/**
	 * 商户的场景定义,需要支付宝对接入场景进行配置。
	 */
	@ApiField("scene")
	private String scene;

	public String getInviteScene() {
		return this.inviteScene;
	}
	public void setInviteScene(String inviteScene) {
		this.inviteScene = inviteScene;
	}

	public String getPartnerId() {
		return this.partnerId;
	}
	public void setPartnerId(String partnerId) {
		this.partnerId = partnerId;
	}

	public String getPid() {
		return this.pid;
	}
	public void setPid(String pid) {
		this.pid = pid;
	}

	public AlipayUserPrincipalInfo getPrincipal() {
		return this.principal;
	}
	public void setPrincipal(AlipayUserPrincipalInfo principal) {
		this.principal = principal;
	}

	public String getScene() {
		return this.scene;
	}
	public void setScene(String scene) {
		this.scene = scene;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy