
com.aliyun.dingtalkfinance_1_0.models.NotifyPayCodePayResultRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkfinance_1_0.models;
import com.aliyun.tea.*;
public class NotifyPayCodePayResultRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* 1234.56
*/
@NameInMap("amount")
public String amount;
/**
* This parameter is required.
*
* example:
* 1.00, 没有传0.00
*/
@NameInMap("chargeAmount")
public String chargeAmount;
/**
* This parameter is required.
*
* example:
* ding1234
*/
@NameInMap("corpId")
public String corpId;
/**
* example:
* { "akey": "avalue“}
*/
@NameInMap("extInfo")
public String extInfo;
/**
* This parameter is required.
*
* example:
* 2021-01-01 11:11:11
*/
@NameInMap("gmtTradeCreate")
public String gmtTradeCreate;
/**
* This parameter is required.
*
* example:
* 2021-01-01 11:11:11
*/
@NameInMap("gmtTradeFinish")
public String gmtTradeFinish;
/**
* This parameter is required.
*
* example:
* XX公司食堂
*/
@NameInMap("merchantName")
public String merchantName;
/**
* This parameter is required.
*/
@NameInMap("payChannelDetailList")
public java.util.List payChannelDetailList;
/**
* This parameter is required.
*
* example:
* 261234567890
*/
@NameInMap("payCode")
public String payCode;
/**
* This parameter is required.
*
* example:
* 1.23,没有传0.00
*/
@NameInMap("promotionAmount")
public String promotionAmount;
/**
* This parameter is required.
*
* example:
* 备注
*/
@NameInMap("remark")
public String remark;
/**
* This parameter is required.
*
* example:
* 晚餐100.0元
*/
@NameInMap("title")
public String title;
/**
* example:
* BALANCE_NOT_ENOUGH
*/
@NameInMap("tradeErrorCode")
public String tradeErrorCode;
/**
* example:
* 余额不足,请充值
*/
@NameInMap("tradeErrorMsg")
public String tradeErrorMsg;
/**
* This parameter is required.
*
* example:
* 202101012345678
*/
@NameInMap("tradeNo")
public String tradeNo;
/**
* This parameter is required.
*
* example:
* SUCCESS/FAIL
*/
@NameInMap("tradeStatus")
public String tradeStatus;
/**
* This parameter is required.
*
* example:
* userId1234
*/
@NameInMap("userId")
public String userId;
public static NotifyPayCodePayResultRequest build(java.util.Map map) throws Exception {
NotifyPayCodePayResultRequest self = new NotifyPayCodePayResultRequest();
return TeaModel.build(map, self);
}
public NotifyPayCodePayResultRequest setAmount(String amount) {
this.amount = amount;
return this;
}
public String getAmount() {
return this.amount;
}
public NotifyPayCodePayResultRequest setChargeAmount(String chargeAmount) {
this.chargeAmount = chargeAmount;
return this;
}
public String getChargeAmount() {
return this.chargeAmount;
}
public NotifyPayCodePayResultRequest setCorpId(String corpId) {
this.corpId = corpId;
return this;
}
public String getCorpId() {
return this.corpId;
}
public NotifyPayCodePayResultRequest setExtInfo(String extInfo) {
this.extInfo = extInfo;
return this;
}
public String getExtInfo() {
return this.extInfo;
}
public NotifyPayCodePayResultRequest setGmtTradeCreate(String gmtTradeCreate) {
this.gmtTradeCreate = gmtTradeCreate;
return this;
}
public String getGmtTradeCreate() {
return this.gmtTradeCreate;
}
public NotifyPayCodePayResultRequest setGmtTradeFinish(String gmtTradeFinish) {
this.gmtTradeFinish = gmtTradeFinish;
return this;
}
public String getGmtTradeFinish() {
return this.gmtTradeFinish;
}
public NotifyPayCodePayResultRequest setMerchantName(String merchantName) {
this.merchantName = merchantName;
return this;
}
public String getMerchantName() {
return this.merchantName;
}
public NotifyPayCodePayResultRequest setPayChannelDetailList(java.util.List payChannelDetailList) {
this.payChannelDetailList = payChannelDetailList;
return this;
}
public java.util.List getPayChannelDetailList() {
return this.payChannelDetailList;
}
public NotifyPayCodePayResultRequest setPayCode(String payCode) {
this.payCode = payCode;
return this;
}
public String getPayCode() {
return this.payCode;
}
public NotifyPayCodePayResultRequest setPromotionAmount(String promotionAmount) {
this.promotionAmount = promotionAmount;
return this;
}
public String getPromotionAmount() {
return this.promotionAmount;
}
public NotifyPayCodePayResultRequest setRemark(String remark) {
this.remark = remark;
return this;
}
public String getRemark() {
return this.remark;
}
public NotifyPayCodePayResultRequest setTitle(String title) {
this.title = title;
return this;
}
public String getTitle() {
return this.title;
}
public NotifyPayCodePayResultRequest setTradeErrorCode(String tradeErrorCode) {
this.tradeErrorCode = tradeErrorCode;
return this;
}
public String getTradeErrorCode() {
return this.tradeErrorCode;
}
public NotifyPayCodePayResultRequest setTradeErrorMsg(String tradeErrorMsg) {
this.tradeErrorMsg = tradeErrorMsg;
return this;
}
public String getTradeErrorMsg() {
return this.tradeErrorMsg;
}
public NotifyPayCodePayResultRequest setTradeNo(String tradeNo) {
this.tradeNo = tradeNo;
return this;
}
public String getTradeNo() {
return this.tradeNo;
}
public NotifyPayCodePayResultRequest setTradeStatus(String tradeStatus) {
this.tradeStatus = tradeStatus;
return this;
}
public String getTradeStatus() {
return this.tradeStatus;
}
public NotifyPayCodePayResultRequest setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
public static class NotifyPayCodePayResultRequestPayChannelDetailListFundToolDetailList extends TeaModel {
/**
* This parameter is required.
*
* example:
* 金额
*/
@NameInMap("amount")
public String amount;
/**
* example:
* {"key":"value"}
*/
@NameInMap("extInfo")
public String extInfo;
/**
* This parameter is required.
*
* example:
* 优惠券
*/
@NameInMap("fundToolName")
public String fundToolName;
/**
* This parameter is required.
*
* example:
* 2021-01-01
*/
@NameInMap("gmtCreate")
public String gmtCreate;
/**
* This parameter is required.
*
* example:
* 2021-01-01 11:11:11
*/
@NameInMap("gmtFinish")
public String gmtFinish;
/**
* This parameter is required.
*
* example:
* true
*/
@NameInMap("promotionFundTool")
public Boolean promotionFundTool;
public static NotifyPayCodePayResultRequestPayChannelDetailListFundToolDetailList build(java.util.Map map) throws Exception {
NotifyPayCodePayResultRequestPayChannelDetailListFundToolDetailList self = new NotifyPayCodePayResultRequestPayChannelDetailListFundToolDetailList();
return TeaModel.build(map, self);
}
public NotifyPayCodePayResultRequestPayChannelDetailListFundToolDetailList setAmount(String amount) {
this.amount = amount;
return this;
}
public String getAmount() {
return this.amount;
}
public NotifyPayCodePayResultRequestPayChannelDetailListFundToolDetailList setExtInfo(String extInfo) {
this.extInfo = extInfo;
return this;
}
public String getExtInfo() {
return this.extInfo;
}
public NotifyPayCodePayResultRequestPayChannelDetailListFundToolDetailList setFundToolName(String fundToolName) {
this.fundToolName = fundToolName;
return this;
}
public String getFundToolName() {
return this.fundToolName;
}
public NotifyPayCodePayResultRequestPayChannelDetailListFundToolDetailList setGmtCreate(String gmtCreate) {
this.gmtCreate = gmtCreate;
return this;
}
public String getGmtCreate() {
return this.gmtCreate;
}
public NotifyPayCodePayResultRequestPayChannelDetailListFundToolDetailList setGmtFinish(String gmtFinish) {
this.gmtFinish = gmtFinish;
return this;
}
public String getGmtFinish() {
return this.gmtFinish;
}
public NotifyPayCodePayResultRequestPayChannelDetailListFundToolDetailList setPromotionFundTool(Boolean promotionFundTool) {
this.promotionFundTool = promotionFundTool;
return this;
}
public Boolean getPromotionFundTool() {
return this.promotionFundTool;
}
}
public static class NotifyPayCodePayResultRequestPayChannelDetailList extends TeaModel {
/**
* This parameter is required.
*
* example:
* 1.23
*/
@NameInMap("amount")
public String amount;
/**
* This parameter is required.
*/
@NameInMap("fundToolDetailList")
public java.util.List fundToolDetailList;
/**
* example:
* 2021-01-01 11:11:11
*/
@NameInMap("gmtCreate")
public String gmtCreate;
/**
* example:
* 2021-01-01 11:11:11
*/
@NameInMap("gmtFinish")
public String gmtFinish;
/**
* This parameter is required.
*
* example:
* 卡余额
*/
@NameInMap("payChannelName")
public String payChannelName;
/**
* This parameter is required.
*
* example:
* 20211234
*/
@NameInMap("payChannelOrderNo")
public String payChannelOrderNo;
/**
* This parameter is required.
*
* example:
* ALIPAY|BALANCE
*/
@NameInMap("payChannelType")
public String payChannelType;
/**
* This parameter is required.
*
* example:
* 0.00
*/
@NameInMap("promotionAmount")
public String promotionAmount;
public static NotifyPayCodePayResultRequestPayChannelDetailList build(java.util.Map map) throws Exception {
NotifyPayCodePayResultRequestPayChannelDetailList self = new NotifyPayCodePayResultRequestPayChannelDetailList();
return TeaModel.build(map, self);
}
public NotifyPayCodePayResultRequestPayChannelDetailList setAmount(String amount) {
this.amount = amount;
return this;
}
public String getAmount() {
return this.amount;
}
public NotifyPayCodePayResultRequestPayChannelDetailList setFundToolDetailList(java.util.List fundToolDetailList) {
this.fundToolDetailList = fundToolDetailList;
return this;
}
public java.util.List getFundToolDetailList() {
return this.fundToolDetailList;
}
public NotifyPayCodePayResultRequestPayChannelDetailList setGmtCreate(String gmtCreate) {
this.gmtCreate = gmtCreate;
return this;
}
public String getGmtCreate() {
return this.gmtCreate;
}
public NotifyPayCodePayResultRequestPayChannelDetailList setGmtFinish(String gmtFinish) {
this.gmtFinish = gmtFinish;
return this;
}
public String getGmtFinish() {
return this.gmtFinish;
}
public NotifyPayCodePayResultRequestPayChannelDetailList setPayChannelName(String payChannelName) {
this.payChannelName = payChannelName;
return this;
}
public String getPayChannelName() {
return this.payChannelName;
}
public NotifyPayCodePayResultRequestPayChannelDetailList setPayChannelOrderNo(String payChannelOrderNo) {
this.payChannelOrderNo = payChannelOrderNo;
return this;
}
public String getPayChannelOrderNo() {
return this.payChannelOrderNo;
}
public NotifyPayCodePayResultRequestPayChannelDetailList setPayChannelType(String payChannelType) {
this.payChannelType = payChannelType;
return this;
}
public String getPayChannelType() {
return this.payChannelType;
}
public NotifyPayCodePayResultRequestPayChannelDetailList setPromotionAmount(String promotionAmount) {
this.promotionAmount = promotionAmount;
return this;
}
public String getPromotionAmount() {
return this.promotionAmount;
}
}
}