com.alipay.api.domain.AlipayTradePayModel Maven / Gradle / Ivy
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;
/**
* 用于在线下场景交易一次创建并支付掉
修改路由策略到R
*
* @author auto create
* @since 1.0, 2017-09-29 10:50:10
*/
public class AlipayTradePayModel extends AlipayObject {
private static final long serialVersionUID = 4683166725429795913L;
/**
* 代扣业务需要传入协议相关信息
*/
@ApiField("agreement_params")
private AgreementParams agreementParams;
/**
* 支付宝的店铺编号
*/
@ApiField("alipay_store_id")
private String alipayStoreId;
/**
* 支付授权码,25~30开头的长度为16~24位的数字,实际字符串长度以开发者获取的付款码长度为准
*/
@ApiField("auth_code")
private String authCode;
/**
* 预授权号,预授权转交易请求中传入,适用于预授权转交易业务使用,目前只支持FUND_TRADE_FAST_PAY(资金订单即时到帐交易)、境外预授权产品(OVERSEAS_AUTH_PAY)两个产品。
*/
@ApiField("auth_no")
private String authNo;
/**
* 订单描述
*/
@ApiField("body")
private String body;
/**
* 商户传入业务信息,具体值要和支付宝约定,应用于安全,营销等参数直传场景,格式为json格式
*/
@ApiField("business_params")
private String businessParams;
/**
* 买家的支付宝用户id,如果为空,会从传入了码值信息中获取买家ID
*/
@ApiField("buyer_id")
private String buyerId;
/**
* 禁用支付渠道,多个渠道以逗号分割,如同时禁用信用支付类型和积分,则disable_pay_channels="credit_group,point"
*/
@ApiField("disable_pay_channels")
private String disablePayChannels;
/**
* 参与优惠计算的金额,单位为元,精确到小数点后两位,取值范围[0.01,100000000]。
如果该值未传入,但传入了【订单总金额】和【不可打折金额】,则该值默认为【订单总金额】-【不可打折金额】
*/
@ApiField("discountable_amount")
private String discountableAmount;
/**
* 外部指定买家
*/
@ApiField("ext_user_info")
private ExtUserInfo extUserInfo;
/**
* 业务扩展参数
*/
@ApiField("extend_params")
private ExtendParams extendParams;
/**
* 订单包含的商品列表信息,Json格式,其它说明详见商品明细说明
*/
@ApiListField("goods_detail")
@ApiField("goods_detail")
private List goodsDetail;
/**
* 商户的原始订单号
*/
@ApiField("merchant_order_no")
private String merchantOrderNo;
/**
* 商户操作员编号
*/
@ApiField("operator_id")
private String operatorId;
/**
* 商户订单号,64个字符以内、可包含字母、数字、下划线;需保证在商户端不重复
*/
@ApiField("out_trade_no")
private String outTradeNo;
/**
* 销售产品码
*/
@ApiField("product_code")
private String productCode;
/**
* 描述分账信息,Json格式,其它说明详见分账说明
*/
@ApiField("royalty_info")
private RoyaltyInfo royaltyInfo;
/**
* 支付场景
条码支付,取值:bar_code
声波支付,取值:wave_code
*/
@ApiField("scene")
private String scene;
/**
* 如果该值为空,则默认为商户签约账号对应的支付宝用户ID
*/
@ApiField("seller_id")
private String sellerId;
/**
* 商户门店编号
*/
@ApiField("store_id")
private String storeId;
/**
* 间连受理商户信息体,当前只对特殊银行机构特定场景下使用此字段
*/
@ApiField("sub_merchant")
private SubMerchant subMerchant;
/**
* 订单标题
*/
@ApiField("subject")
private String subject;
/**
* 商户机具终端编号
*/
@ApiField("terminal_id")
private String terminalId;
/**
* 该笔订单允许的最晚付款时间,逾期将关闭交易。取值范围:1m~15d。m-分钟,h-小时,d-天,1c-当天(1c-当天的情况下,无论交易何时创建,都在0点关闭)。 该参数数值不接受小数点, 如 1.5h,可转换为 90m
*/
@ApiField("timeout_express")
private String timeoutExpress;
/**
* 订单总金额,单位为元,精确到小数点后两位,取值范围[0.01,100000000]
如果同时传入【可打折金额】和【不可打折金额】,该参数可以不用传入;
如果同时传入了【可打折金额】,【不可打折金额】,【订单总金额】三者,则必须满足如下条件:【订单总金额】=【可打折金额】+【不可打折金额】
*/
@ApiField("total_amount")
private String totalAmount;
/**
* 不参与优惠计算的金额,单位为元,精确到小数点后两位,取值范围[0.01,100000000]。如果该值未传入,但传入了【订单总金额】和【可打折金额】,则该值默认为【订单总金额】-【可打折金额】
*/
@ApiField("undiscountable_amount")
private String undiscountableAmount;
public AgreementParams getAgreementParams() {
return this.agreementParams;
}
public void setAgreementParams(AgreementParams agreementParams) {
this.agreementParams = agreementParams;
}
public String getAlipayStoreId() {
return this.alipayStoreId;
}
public void setAlipayStoreId(String alipayStoreId) {
this.alipayStoreId = alipayStoreId;
}
public String getAuthCode() {
return this.authCode;
}
public void setAuthCode(String authCode) {
this.authCode = authCode;
}
public String getAuthNo() {
return this.authNo;
}
public void setAuthNo(String authNo) {
this.authNo = authNo;
}
public String getBody() {
return this.body;
}
public void setBody(String body) {
this.body = body;
}
public String getBusinessParams() {
return this.businessParams;
}
public void setBusinessParams(String businessParams) {
this.businessParams = businessParams;
}
public String getBuyerId() {
return this.buyerId;
}
public void setBuyerId(String buyerId) {
this.buyerId = buyerId;
}
public String getDisablePayChannels() {
return this.disablePayChannels;
}
public void setDisablePayChannels(String disablePayChannels) {
this.disablePayChannels = disablePayChannels;
}
public String getDiscountableAmount() {
return this.discountableAmount;
}
public void setDiscountableAmount(String discountableAmount) {
this.discountableAmount = discountableAmount;
}
public ExtUserInfo getExtUserInfo() {
return this.extUserInfo;
}
public void setExtUserInfo(ExtUserInfo extUserInfo) {
this.extUserInfo = extUserInfo;
}
public ExtendParams getExtendParams() {
return this.extendParams;
}
public void setExtendParams(ExtendParams extendParams) {
this.extendParams = extendParams;
}
public List getGoodsDetail() {
return this.goodsDetail;
}
public void setGoodsDetail(List goodsDetail) {
this.goodsDetail = goodsDetail;
}
public String getMerchantOrderNo() {
return this.merchantOrderNo;
}
public void setMerchantOrderNo(String merchantOrderNo) {
this.merchantOrderNo = merchantOrderNo;
}
public String getOperatorId() {
return this.operatorId;
}
public void setOperatorId(String operatorId) {
this.operatorId = operatorId;
}
public String getOutTradeNo() {
return this.outTradeNo;
}
public void setOutTradeNo(String outTradeNo) {
this.outTradeNo = outTradeNo;
}
public String getProductCode() {
return this.productCode;
}
public void setProductCode(String productCode) {
this.productCode = productCode;
}
public RoyaltyInfo getRoyaltyInfo() {
return this.royaltyInfo;
}
public void setRoyaltyInfo(RoyaltyInfo royaltyInfo) {
this.royaltyInfo = royaltyInfo;
}
public String getScene() {
return this.scene;
}
public void setScene(String scene) {
this.scene = scene;
}
public String getSellerId() {
return this.sellerId;
}
public void setSellerId(String sellerId) {
this.sellerId = sellerId;
}
public String getStoreId() {
return this.storeId;
}
public void setStoreId(String storeId) {
this.storeId = storeId;
}
public SubMerchant getSubMerchant() {
return this.subMerchant;
}
public void setSubMerchant(SubMerchant subMerchant) {
this.subMerchant = subMerchant;
}
public String getSubject() {
return this.subject;
}
public void setSubject(String subject) {
this.subject = subject;
}
public String getTerminalId() {
return this.terminalId;
}
public void setTerminalId(String terminalId) {
this.terminalId = terminalId;
}
public String getTimeoutExpress() {
return this.timeoutExpress;
}
public void setTimeoutExpress(String timeoutExpress) {
this.timeoutExpress = timeoutExpress;
}
public String getTotalAmount() {
return this.totalAmount;
}
public void setTotalAmount(String totalAmount) {
this.totalAmount = totalAmount;
}
public String getUndiscountableAmount() {
return this.undiscountableAmount;
}
public void setUndiscountableAmount(String undiscountableAmount) {
this.undiscountableAmount = undiscountableAmount;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy