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

com.alipay.api.domain.BatchSettleDetail 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, 2023-12-19 17:25:33
 */
public class BatchSettleDetail extends AlipayObject {

	private static final long serialVersionUID = 5625455545227126152L;

	/**
	 * 结算金额,单位为元
	 */
	@ApiField("amount")
	private String amount;

	/**
	 * 结算币种
	 */
	@ApiField("currency")
	private String currency;

	/**
	 * 错误编码,SETTLE_ACCOUNT_ERROR:结算账户信息有误;BANK_DISHONOR:银行提现退票;UNKNOWN_ERROR:未知错误
	 */
	@ApiField("error_code")
	private String errorCode;

	/**
	 * 错误描述
	 */
	@ApiField("error_desc")
	private String errorDesc;

	/**
	 * 结算账户id。当结算账户id类型是cardSerialNo时,本参数为用户在支付宝绑定的卡编号;当结算账户id类型是userId时,本参数为用户的支付宝账号对应的支付宝唯一用户号;当结算账户id类型是loginName时,本参数为用户的支付宝登录号
	 */
	@ApiField("settle_account_id")
	private String settleAccountId;

	/**
	 * 结算账户id类型。
 当settle_account_type 为bankCard时,本参数为cardSerialNo,表示结算账户id是银行卡编号;
 当settle_account_type 为alipayBalance时,本参数为userId或者loginName,其中userId表示结算账户id是支付宝唯一用户号,loginName表示结算账户id是支付宝登录号
	 */
	@ApiField("settle_account_id_type")
	private String settleAccountIdType;

	/**
	 * 结算账户的OpenId,本参数是用户在该应用(AppId)下的唯一用户标识。
	 */
	@ApiField("settle_account_open_id")
	private String settleAccountOpenId;

	/**
	 * 结算账户类型。
bankCard: 结算账户为银行卡;
alipayBalance: 结算账户为支付宝余额户
	 */
	@ApiField("settle_account_type")
	private String settleAccountType;

	/**
	 * 结算主体账号。
当结算主体类型为SecondMerchant,本参数为二级商户的SecondMerchantID
	 */
	@ApiField("settle_entity_id")
	private String settleEntityId;

	/**
	 * 结算主体类型。
SecondMerchant:结算主体为二级商户;
Store:结算主体为门店;
	 */
	@ApiField("settle_entity_type")
	private String settleEntityType;

	/**
	 * ACCEPT_SUCCESS:受理成功; SUCCESS:结算成功; FAIL:结算失败;FAIL_RETRY:失败重试。
	 */
	@ApiField("status")
	private String status;

	/**
	 * 二级商户信息
	 */
	@ApiField("sub_merchant")
	private SubMerchant subMerchant;

	public String getAmount() {
		return this.amount;
	}
	public void setAmount(String amount) {
		this.amount = amount;
	}

	public String getCurrency() {
		return this.currency;
	}
	public void setCurrency(String currency) {
		this.currency = currency;
	}

	public String getErrorCode() {
		return this.errorCode;
	}
	public void setErrorCode(String errorCode) {
		this.errorCode = errorCode;
	}

	public String getErrorDesc() {
		return this.errorDesc;
	}
	public void setErrorDesc(String errorDesc) {
		this.errorDesc = errorDesc;
	}

	public String getSettleAccountId() {
		return this.settleAccountId;
	}
	public void setSettleAccountId(String settleAccountId) {
		this.settleAccountId = settleAccountId;
	}

	public String getSettleAccountIdType() {
		return this.settleAccountIdType;
	}
	public void setSettleAccountIdType(String settleAccountIdType) {
		this.settleAccountIdType = settleAccountIdType;
	}

	public String getSettleAccountOpenId() {
		return this.settleAccountOpenId;
	}
	public void setSettleAccountOpenId(String settleAccountOpenId) {
		this.settleAccountOpenId = settleAccountOpenId;
	}

	public String getSettleAccountType() {
		return this.settleAccountType;
	}
	public void setSettleAccountType(String settleAccountType) {
		this.settleAccountType = settleAccountType;
	}

	public String getSettleEntityId() {
		return this.settleEntityId;
	}
	public void setSettleEntityId(String settleEntityId) {
		this.settleEntityId = settleEntityId;
	}

	public String getSettleEntityType() {
		return this.settleEntityType;
	}
	public void setSettleEntityType(String settleEntityType) {
		this.settleEntityType = settleEntityType;
	}

	public String getStatus() {
		return this.status;
	}
	public void setStatus(String status) {
		this.status = status;
	}

	public SubMerchant getSubMerchant() {
		return this.subMerchant;
	}
	public void setSubMerchant(SubMerchant subMerchant) {
		this.subMerchant = subMerchant;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy