com.aliyun.dingtalkbadge_1_0.models.NotifyBadgeCodeRefundResultRequest Maven / Gradle / Ivy
Show all versions of dingtalk Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkbadge_1_0.models;
import com.aliyun.tea.*;
public class NotifyBadgeCodeRefundResultRequest 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 NotifyBadgeCodeRefundResultRequest build(java.util.Map map) throws Exception {
NotifyBadgeCodeRefundResultRequest self = new NotifyBadgeCodeRefundResultRequest();
return TeaModel.build(map, self);
}
public NotifyBadgeCodeRefundResultRequest setCorpId(String corpId) {
this.corpId = corpId;
return this;
}
public String getCorpId() {
return this.corpId;
}
public NotifyBadgeCodeRefundResultRequest setGmtRefund(String gmtRefund) {
this.gmtRefund = gmtRefund;
return this;
}
public String getGmtRefund() {
return this.gmtRefund;
}
public NotifyBadgeCodeRefundResultRequest setPayChannelDetailList(java.util.List payChannelDetailList) {
this.payChannelDetailList = payChannelDetailList;
return this;
}
public java.util.List getPayChannelDetailList() {
return this.payChannelDetailList;
}
public NotifyBadgeCodeRefundResultRequest setPayCode(String payCode) {
this.payCode = payCode;
return this;
}
public String getPayCode() {
return this.payCode;
}
public NotifyBadgeCodeRefundResultRequest setRefundAmount(String refundAmount) {
this.refundAmount = refundAmount;
return this;
}
public String getRefundAmount() {
return this.refundAmount;
}
public NotifyBadgeCodeRefundResultRequest setRefundOrderNo(String refundOrderNo) {
this.refundOrderNo = refundOrderNo;
return this;
}
public String getRefundOrderNo() {
return this.refundOrderNo;
}
public NotifyBadgeCodeRefundResultRequest setRefundPromotionAmount(String refundPromotionAmount) {
this.refundPromotionAmount = refundPromotionAmount;
return this;
}
public String getRefundPromotionAmount() {
return this.refundPromotionAmount;
}
public NotifyBadgeCodeRefundResultRequest setRemark(String remark) {
this.remark = remark;
return this;
}
public String getRemark() {
return this.remark;
}
public NotifyBadgeCodeRefundResultRequest setTradeNo(String tradeNo) {
this.tradeNo = tradeNo;
return this;
}
public String getTradeNo() {
return this.tradeNo;
}
public NotifyBadgeCodeRefundResultRequest setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
public static class NotifyBadgeCodeRefundResultRequestPayChannelDetailListFundToolDetailList 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 NotifyBadgeCodeRefundResultRequestPayChannelDetailListFundToolDetailList build(java.util.Map map) throws Exception {
NotifyBadgeCodeRefundResultRequestPayChannelDetailListFundToolDetailList self = new NotifyBadgeCodeRefundResultRequestPayChannelDetailListFundToolDetailList();
return TeaModel.build(map, self);
}
public NotifyBadgeCodeRefundResultRequestPayChannelDetailListFundToolDetailList setAmount(String amount) {
this.amount = amount;
return this;
}
public String getAmount() {
return this.amount;
}
public NotifyBadgeCodeRefundResultRequestPayChannelDetailListFundToolDetailList setExtInfo(String extInfo) {
this.extInfo = extInfo;
return this;
}
public String getExtInfo() {
return this.extInfo;
}
public NotifyBadgeCodeRefundResultRequestPayChannelDetailListFundToolDetailList setFundToolName(String fundToolName) {
this.fundToolName = fundToolName;
return this;
}
public String getFundToolName() {
return this.fundToolName;
}
public NotifyBadgeCodeRefundResultRequestPayChannelDetailListFundToolDetailList setGmtCreate(String gmtCreate) {
this.gmtCreate = gmtCreate;
return this;
}
public String getGmtCreate() {
return this.gmtCreate;
}
public NotifyBadgeCodeRefundResultRequestPayChannelDetailListFundToolDetailList setGmtFinish(String gmtFinish) {
this.gmtFinish = gmtFinish;
return this;
}
public String getGmtFinish() {
return this.gmtFinish;
}
public NotifyBadgeCodeRefundResultRequestPayChannelDetailListFundToolDetailList setPromotionFundTool(Boolean promotionFundTool) {
this.promotionFundTool = promotionFundTool;
return this;
}
public Boolean getPromotionFundTool() {
return this.promotionFundTool;
}
}
public static class NotifyBadgeCodeRefundResultRequestPayChannelDetailList 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 NotifyBadgeCodeRefundResultRequestPayChannelDetailList build(java.util.Map map) throws Exception {
NotifyBadgeCodeRefundResultRequestPayChannelDetailList self = new NotifyBadgeCodeRefundResultRequestPayChannelDetailList();
return TeaModel.build(map, self);
}
public NotifyBadgeCodeRefundResultRequestPayChannelDetailList setAmount(String amount) {
this.amount = amount;
return this;
}
public String getAmount() {
return this.amount;
}
public NotifyBadgeCodeRefundResultRequestPayChannelDetailList setFundToolDetailList(java.util.List fundToolDetailList) {
this.fundToolDetailList = fundToolDetailList;
return this;
}
public java.util.List getFundToolDetailList() {
return this.fundToolDetailList;
}
public NotifyBadgeCodeRefundResultRequestPayChannelDetailList setPayChannelName(String payChannelName) {
this.payChannelName = payChannelName;
return this;
}
public String getPayChannelName() {
return this.payChannelName;
}
public NotifyBadgeCodeRefundResultRequestPayChannelDetailList setPayChannelOrderNo(String payChannelOrderNo) {
this.payChannelOrderNo = payChannelOrderNo;
return this;
}
public String getPayChannelOrderNo() {
return this.payChannelOrderNo;
}
public NotifyBadgeCodeRefundResultRequestPayChannelDetailList setPayChannelRefundOrderNo(String payChannelRefundOrderNo) {
this.payChannelRefundOrderNo = payChannelRefundOrderNo;
return this;
}
public String getPayChannelRefundOrderNo() {
return this.payChannelRefundOrderNo;
}
public NotifyBadgeCodeRefundResultRequestPayChannelDetailList setPayChannelType(String payChannelType) {
this.payChannelType = payChannelType;
return this;
}
public String getPayChannelType() {
return this.payChannelType;
}
public NotifyBadgeCodeRefundResultRequestPayChannelDetailList setPromotionAmount(String promotionAmount) {
this.promotionAmount = promotionAmount;
return this;
}
public String getPromotionAmount() {
return this.promotionAmount;
}
}
}