com.aliyun.dingtalkfinance_1_0.models.CreatWithholdingOrderAndPayRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dingtalk Show documentation
Show all versions of dingtalk Show documentation
Alibaba Cloud dingtalk SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkfinance_1_0.models;
import com.aliyun.tea.*;
public class CreatWithholdingOrderAndPayRequest extends TeaModel {
// 扣款金额
@NameInMap("amount")
public String amount;
// 主机构编号
@NameInMap("instId")
public String instId;
// 其他资金渠道付款明细
@NameInMap("otherPayChannelDetailInfoList")
public java.util.List otherPayChannelDetailInfoList;
// 外部订单号
@NameInMap("outTradeNo")
public String outTradeNo;
// 支付渠道
@NameInMap("payChannel")
public String payChannel;
// 付款人staffId
@NameInMap("payerUserId")
public String payerUserId;
// 代扣备注
@NameInMap("remark")
public String remark;
// 子机构编号
@NameInMap("subInstId")
public String subInstId;
// 代扣过期时间
@NameInMap("timeOutExpress")
public String timeOutExpress;
// 代扣标题
@NameInMap("title")
public String title;
public static CreatWithholdingOrderAndPayRequest build(java.util.Map map) throws Exception {
CreatWithholdingOrderAndPayRequest self = new CreatWithholdingOrderAndPayRequest();
return TeaModel.build(map, self);
}
public CreatWithholdingOrderAndPayRequest setAmount(String amount) {
this.amount = amount;
return this;
}
public String getAmount() {
return this.amount;
}
public CreatWithholdingOrderAndPayRequest setInstId(String instId) {
this.instId = instId;
return this;
}
public String getInstId() {
return this.instId;
}
public CreatWithholdingOrderAndPayRequest setOtherPayChannelDetailInfoList(java.util.List otherPayChannelDetailInfoList) {
this.otherPayChannelDetailInfoList = otherPayChannelDetailInfoList;
return this;
}
public java.util.List getOtherPayChannelDetailInfoList() {
return this.otherPayChannelDetailInfoList;
}
public CreatWithholdingOrderAndPayRequest setOutTradeNo(String outTradeNo) {
this.outTradeNo = outTradeNo;
return this;
}
public String getOutTradeNo() {
return this.outTradeNo;
}
public CreatWithholdingOrderAndPayRequest setPayChannel(String payChannel) {
this.payChannel = payChannel;
return this;
}
public String getPayChannel() {
return this.payChannel;
}
public CreatWithholdingOrderAndPayRequest setPayerUserId(String payerUserId) {
this.payerUserId = payerUserId;
return this;
}
public String getPayerUserId() {
return this.payerUserId;
}
public CreatWithholdingOrderAndPayRequest setRemark(String remark) {
this.remark = remark;
return this;
}
public String getRemark() {
return this.remark;
}
public CreatWithholdingOrderAndPayRequest setSubInstId(String subInstId) {
this.subInstId = subInstId;
return this;
}
public String getSubInstId() {
return this.subInstId;
}
public CreatWithholdingOrderAndPayRequest setTimeOutExpress(String timeOutExpress) {
this.timeOutExpress = timeOutExpress;
return this;
}
public String getTimeOutExpress() {
return this.timeOutExpress;
}
public CreatWithholdingOrderAndPayRequest setTitle(String title) {
this.title = title;
return this;
}
public String getTitle() {
return this.title;
}
public static class CreatWithholdingOrderAndPayRequestOtherPayChannelDetailInfoListFundToolDetailInfoList extends TeaModel {
// 金额
@NameInMap("amount")
public String amount;
// 扩展信息
@NameInMap("extInfo")
public String extInfo;
// 资金工具名称
@NameInMap("fundToolName")
public String fundToolName;
// 资金明细创建时间
@NameInMap("gmtCreate")
public String gmtCreate;
// 资金明细完成时间
@NameInMap("gmtFinish")
public String gmtFinish;
// 是否是优惠工具
@NameInMap("promotionFundTool")
public Boolean promotionFundTool;
public static CreatWithholdingOrderAndPayRequestOtherPayChannelDetailInfoListFundToolDetailInfoList build(java.util.Map map) throws Exception {
CreatWithholdingOrderAndPayRequestOtherPayChannelDetailInfoListFundToolDetailInfoList self = new CreatWithholdingOrderAndPayRequestOtherPayChannelDetailInfoListFundToolDetailInfoList();
return TeaModel.build(map, self);
}
public CreatWithholdingOrderAndPayRequestOtherPayChannelDetailInfoListFundToolDetailInfoList setAmount(String amount) {
this.amount = amount;
return this;
}
public String getAmount() {
return this.amount;
}
public CreatWithholdingOrderAndPayRequestOtherPayChannelDetailInfoListFundToolDetailInfoList setExtInfo(String extInfo) {
this.extInfo = extInfo;
return this;
}
public String getExtInfo() {
return this.extInfo;
}
public CreatWithholdingOrderAndPayRequestOtherPayChannelDetailInfoListFundToolDetailInfoList setFundToolName(String fundToolName) {
this.fundToolName = fundToolName;
return this;
}
public String getFundToolName() {
return this.fundToolName;
}
public CreatWithholdingOrderAndPayRequestOtherPayChannelDetailInfoListFundToolDetailInfoList setGmtCreate(String gmtCreate) {
this.gmtCreate = gmtCreate;
return this;
}
public String getGmtCreate() {
return this.gmtCreate;
}
public CreatWithholdingOrderAndPayRequestOtherPayChannelDetailInfoListFundToolDetailInfoList setGmtFinish(String gmtFinish) {
this.gmtFinish = gmtFinish;
return this;
}
public String getGmtFinish() {
return this.gmtFinish;
}
public CreatWithholdingOrderAndPayRequestOtherPayChannelDetailInfoListFundToolDetailInfoList setPromotionFundTool(Boolean promotionFundTool) {
this.promotionFundTool = promotionFundTool;
return this;
}
public Boolean getPromotionFundTool() {
return this.promotionFundTool;
}
}
public static class CreatWithholdingOrderAndPayRequestOtherPayChannelDetailInfoList extends TeaModel {
// 渠道金额
@NameInMap("amount")
public String amount;
// 资金明细列表
@NameInMap("fundToolDetailInfoList")
public java.util.List fundToolDetailInfoList;
// 渠道名称
@NameInMap("payChannelName")
public String payChannelName;
// 支付渠道单号
@NameInMap("payChannelOrderNo")
public String payChannelOrderNo;
// 渠道类型
@NameInMap("payChannelType")
public String payChannelType;
// 总优惠金额
@NameInMap("promotionAmount")
public String promotionAmount;
public static CreatWithholdingOrderAndPayRequestOtherPayChannelDetailInfoList build(java.util.Map map) throws Exception {
CreatWithholdingOrderAndPayRequestOtherPayChannelDetailInfoList self = new CreatWithholdingOrderAndPayRequestOtherPayChannelDetailInfoList();
return TeaModel.build(map, self);
}
public CreatWithholdingOrderAndPayRequestOtherPayChannelDetailInfoList setAmount(String amount) {
this.amount = amount;
return this;
}
public String getAmount() {
return this.amount;
}
public CreatWithholdingOrderAndPayRequestOtherPayChannelDetailInfoList setFundToolDetailInfoList(java.util.List fundToolDetailInfoList) {
this.fundToolDetailInfoList = fundToolDetailInfoList;
return this;
}
public java.util.List getFundToolDetailInfoList() {
return this.fundToolDetailInfoList;
}
public CreatWithholdingOrderAndPayRequestOtherPayChannelDetailInfoList setPayChannelName(String payChannelName) {
this.payChannelName = payChannelName;
return this;
}
public String getPayChannelName() {
return this.payChannelName;
}
public CreatWithholdingOrderAndPayRequestOtherPayChannelDetailInfoList setPayChannelOrderNo(String payChannelOrderNo) {
this.payChannelOrderNo = payChannelOrderNo;
return this;
}
public String getPayChannelOrderNo() {
return this.payChannelOrderNo;
}
public CreatWithholdingOrderAndPayRequestOtherPayChannelDetailInfoList setPayChannelType(String payChannelType) {
this.payChannelType = payChannelType;
return this;
}
public String getPayChannelType() {
return this.payChannelType;
}
public CreatWithholdingOrderAndPayRequestOtherPayChannelDetailInfoList setPromotionAmount(String promotionAmount) {
this.promotionAmount = promotionAmount;
return this;
}
public String getPromotionAmount() {
return this.promotionAmount;
}
}
}