com.aliyun.dingtalkfinance_1_0.models.NotifyPayCodeRefundResultRequest Maven / Gradle / Ivy
Show all versions of dingtalk Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkfinance_1_0.models;
import com.aliyun.tea.*;
public class NotifyPayCodeRefundResultRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* ding1234
*/
@NameInMap("corpId")
public String corpId;
/**
* This parameter is required.
*
* example:
* 2021-11-11 11:11:11
*/
@NameInMap("gmtRefund")
public String gmtRefund;
/**
* This parameter is required.
*/
@NameInMap("payChannelDetailList")
public java.util.List payChannelDetailList;
/**
* This parameter is required.
*
* example:
* payCode
*/
@NameInMap("payCode")
public String payCode;
/**
* This parameter is required.
*
* example:
* 1.00
*/
@NameInMap("refundAmount")
public String refundAmount;
/**
* This parameter is required.
*
* example:
* refundOrderNo
*/
@NameInMap("refundOrderNo")
public String refundOrderNo;
/**
* This parameter is required.
*
* example:
* 0.00
*/
@NameInMap("refundPromotionAmount")
public String refundPromotionAmount;
/**
* This parameter is required.
*
* example:
* 晚餐退款
*/
@NameInMap("remark")
public String remark;
/**
* This parameter is required.
*
* example:
* tradeNo
*/
@NameInMap("tradeNo")
public String tradeNo;
/**
* This parameter is required.
*
* example:
* userId
*/
@NameInMap("userId")
public String userId;
public static NotifyPayCodeRefundResultRequest build(java.util.Map map) throws Exception {
NotifyPayCodeRefundResultRequest self = new NotifyPayCodeRefundResultRequest();
return TeaModel.build(map, self);
}
public NotifyPayCodeRefundResultRequest setCorpId(String corpId) {
this.corpId = corpId;
return this;
}
public String getCorpId() {
return this.corpId;
}
public NotifyPayCodeRefundResultRequest setGmtRefund(String gmtRefund) {
this.gmtRefund = gmtRefund;
return this;
}
public String getGmtRefund() {
return this.gmtRefund;
}
public NotifyPayCodeRefundResultRequest setPayChannelDetailList(java.util.List payChannelDetailList) {
this.payChannelDetailList = payChannelDetailList;
return this;
}
public java.util.List getPayChannelDetailList() {
return this.payChannelDetailList;
}
public NotifyPayCodeRefundResultRequest setPayCode(String payCode) {
this.payCode = payCode;
return this;
}
public String getPayCode() {
return this.payCode;
}
public NotifyPayCodeRefundResultRequest setRefundAmount(String refundAmount) {
this.refundAmount = refundAmount;
return this;
}
public String getRefundAmount() {
return this.refundAmount;
}
public NotifyPayCodeRefundResultRequest setRefundOrderNo(String refundOrderNo) {
this.refundOrderNo = refundOrderNo;
return this;
}
public String getRefundOrderNo() {
return this.refundOrderNo;
}
public NotifyPayCodeRefundResultRequest setRefundPromotionAmount(String refundPromotionAmount) {
this.refundPromotionAmount = refundPromotionAmount;
return this;
}
public String getRefundPromotionAmount() {
return this.refundPromotionAmount;
}
public NotifyPayCodeRefundResultRequest setRemark(String remark) {
this.remark = remark;
return this;
}
public String getRemark() {
return this.remark;
}
public NotifyPayCodeRefundResultRequest setTradeNo(String tradeNo) {
this.tradeNo = tradeNo;
return this;
}
public String getTradeNo() {
return this.tradeNo;
}
public NotifyPayCodeRefundResultRequest setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
public static class NotifyPayCodeRefundResultRequestPayChannelDetailListFundToolDetailList extends TeaModel {
/**
* This parameter is required.
*
* example:
* 1.00
*/
@NameInMap("amount")
public String amount;
@NameInMap("extInfo")
public String extInfo;
/**
* This parameter is required.
*
* example:
* 余额
*/
@NameInMap("fundToolName")
public String fundToolName;
/**
* This parameter is required.
*
* example:
* 2021-05-31 11:11:11
*/
@NameInMap("gmtCreate")
public String gmtCreate;
/**
* This parameter is required.
*
* example:
* 2021-05-31 11:11:11
*/
@NameInMap("gmtFinish")
public String gmtFinish;
/**
* This parameter is required.
*
* example:
* true
*/
@NameInMap("promotionFundTool")
public Boolean promotionFundTool;
public static NotifyPayCodeRefundResultRequestPayChannelDetailListFundToolDetailList build(java.util.Map map) throws Exception {
NotifyPayCodeRefundResultRequestPayChannelDetailListFundToolDetailList self = new NotifyPayCodeRefundResultRequestPayChannelDetailListFundToolDetailList();
return TeaModel.build(map, self);
}
public NotifyPayCodeRefundResultRequestPayChannelDetailListFundToolDetailList setAmount(String amount) {
this.amount = amount;
return this;
}
public String getAmount() {
return this.amount;
}
public NotifyPayCodeRefundResultRequestPayChannelDetailListFundToolDetailList setExtInfo(String extInfo) {
this.extInfo = extInfo;
return this;
}
public String getExtInfo() {
return this.extInfo;
}
public NotifyPayCodeRefundResultRequestPayChannelDetailListFundToolDetailList setFundToolName(String fundToolName) {
this.fundToolName = fundToolName;
return this;
}
public String getFundToolName() {
return this.fundToolName;
}
public NotifyPayCodeRefundResultRequestPayChannelDetailListFundToolDetailList setGmtCreate(String gmtCreate) {
this.gmtCreate = gmtCreate;
return this;
}
public String getGmtCreate() {
return this.gmtCreate;
}
public NotifyPayCodeRefundResultRequestPayChannelDetailListFundToolDetailList setGmtFinish(String gmtFinish) {
this.gmtFinish = gmtFinish;
return this;
}
public String getGmtFinish() {
return this.gmtFinish;
}
public NotifyPayCodeRefundResultRequestPayChannelDetailListFundToolDetailList setPromotionFundTool(Boolean promotionFundTool) {
this.promotionFundTool = promotionFundTool;
return this;
}
public Boolean getPromotionFundTool() {
return this.promotionFundTool;
}
}
public static class NotifyPayCodeRefundResultRequestPayChannelDetailList extends TeaModel {
/**
* This parameter is required.
*
* example:
* 1.00
*/
@NameInMap("amount")
public String amount;
/**
* This parameter is required.
*/
@NameInMap("fundToolDetailList")
public java.util.List fundToolDetailList;
/**
* This parameter is required.
*
* example:
* ALIPAY
*/
@NameInMap("payChannelName")
public String payChannelName;
/**
* This parameter is required.
*
* example:
* 20210531123456
*/
@NameInMap("payChannelOrderNo")
public String payChannelOrderNo;
/**
* This parameter is required.
*
* example:
* 2021053112345678
*/
@NameInMap("payChannelRefundOrderNo")
public String payChannelRefundOrderNo;
/**
* This parameter is required.
*
* example:
* ALIPAY
*/
@NameInMap("payChannelType")
public String payChannelType;
/**
* This parameter is required.
*
* example:
* 0.00
*/
@NameInMap("promotionAmount")
public String promotionAmount;
public static NotifyPayCodeRefundResultRequestPayChannelDetailList build(java.util.Map map) throws Exception {
NotifyPayCodeRefundResultRequestPayChannelDetailList self = new NotifyPayCodeRefundResultRequestPayChannelDetailList();
return TeaModel.build(map, self);
}
public NotifyPayCodeRefundResultRequestPayChannelDetailList setAmount(String amount) {
this.amount = amount;
return this;
}
public String getAmount() {
return this.amount;
}
public NotifyPayCodeRefundResultRequestPayChannelDetailList setFundToolDetailList(java.util.List fundToolDetailList) {
this.fundToolDetailList = fundToolDetailList;
return this;
}
public java.util.List getFundToolDetailList() {
return this.fundToolDetailList;
}
public NotifyPayCodeRefundResultRequestPayChannelDetailList setPayChannelName(String payChannelName) {
this.payChannelName = payChannelName;
return this;
}
public String getPayChannelName() {
return this.payChannelName;
}
public NotifyPayCodeRefundResultRequestPayChannelDetailList setPayChannelOrderNo(String payChannelOrderNo) {
this.payChannelOrderNo = payChannelOrderNo;
return this;
}
public String getPayChannelOrderNo() {
return this.payChannelOrderNo;
}
public NotifyPayCodeRefundResultRequestPayChannelDetailList setPayChannelRefundOrderNo(String payChannelRefundOrderNo) {
this.payChannelRefundOrderNo = payChannelRefundOrderNo;
return this;
}
public String getPayChannelRefundOrderNo() {
return this.payChannelRefundOrderNo;
}
public NotifyPayCodeRefundResultRequestPayChannelDetailList setPayChannelType(String payChannelType) {
this.payChannelType = payChannelType;
return this;
}
public String getPayChannelType() {
return this.payChannelType;
}
public NotifyPayCodeRefundResultRequestPayChannelDetailList setPromotionAmount(String promotionAmount) {
this.promotionAmount = promotionAmount;
return this;
}
public String getPromotionAmount() {
return this.promotionAmount;
}
}
}