com.aliyun.dingtalkbizfinance_1_0.models.GetReceiptResponseBody Maven / Gradle / Ivy
Show all versions of dingtalk Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkbizfinance_1_0.models;
import com.aliyun.tea.*;
public class GetReceiptResponseBody extends TeaModel {
/**
* This parameter is required.
*
* example:
* 1234
*/
@NameInMap("appId")
public String appId;
/**
* This parameter is required.
*
* example:
* {"operatorUserId":"015865244722391178","data":{"amount":{"amountStr":"566"},"code":"d0d54815-32c5-4b18-8391-e79713bba95e","payeeAt":1637251200000,"departmentCode":"-1","project":{"projectCode":"PROJ_101761F3FF6B21362ECA000N","projectName":"客户合作项目"},"principalId":"015865244722391178","enterpriseAccount":{},"approvedAt":1637305373000,"title":"地狱猫提交的智能财务-收款","createAt":1637305353000,"paymentAt":1637251200000,"supplier":{},"operateUserId":"015865244722391178","applicantEmployeeId":"015865244722391178","comment":"ffff","category":{"categoryCode":"INC_1016D6CB3C181E28F0120009","categoryName":"销售收入"},"customer":{"customerCode":"CUS_10178592ECEC2133C893000F","customerName":"钉钉"},"status":"agree"}}
*/
@NameInMap("data")
public String data;
/**
* This parameter is required.
*
* example:
* EM-1017F28E03350B1738B3000X
*/
@NameInMap("modelId")
public String modelId;
/**
* This parameter is required.
*
* example:
* approval
*/
@NameInMap("source")
public String source;
public static GetReceiptResponseBody build(java.util.Map map) throws Exception {
GetReceiptResponseBody self = new GetReceiptResponseBody();
return TeaModel.build(map, self);
}
public GetReceiptResponseBody setAppId(String appId) {
this.appId = appId;
return this;
}
public String getAppId() {
return this.appId;
}
public GetReceiptResponseBody setData(String data) {
this.data = data;
return this;
}
public String getData() {
return this.data;
}
public GetReceiptResponseBody setModelId(String modelId) {
this.modelId = modelId;
return this;
}
public String getModelId() {
return this.modelId;
}
public GetReceiptResponseBody setSource(String source) {
this.source = source;
return this;
}
public String getSource() {
return this.source;
}
}