chengkun
2025-06-05 4080b5997b38ca84b3b203c7101dcadb97b76925
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
// This file is auto-generated, don't edit it. Thanks.
package com.alipay.easysdk.payment.facetoface.models;
 
import com.aliyun.tea.*;
 
public class VoucherDetail extends TeaModel {
    @NameInMap("id")
    @Validation(required = true)
    public String id;
 
    @NameInMap("name")
    @Validation(required = true)
    public String name;
 
    @NameInMap("type")
    @Validation(required = true)
    public String type;
 
    @NameInMap("amount")
    @Validation(required = true)
    public String amount;
 
    @NameInMap("merchant_contribute")
    @Validation(required = true)
    public String merchantContribute;
 
    @NameInMap("other_contribute")
    @Validation(required = true)
    public String otherContribute;
 
    @NameInMap("memo")
    @Validation(required = true)
    public String memo;
 
    @NameInMap("template_id")
    @Validation(required = true)
    public String templateId;
 
    @NameInMap("purchase_buyer_contribute")
    @Validation(required = true)
    public String purchaseBuyerContribute;
 
    @NameInMap("purchase_merchant_contribute")
    @Validation(required = true)
    public String purchaseMerchantContribute;
 
    @NameInMap("purchase_ant_contribute")
    @Validation(required = true)
    public String purchaseAntContribute;
 
    public static VoucherDetail build(java.util.Map<String, ?> map) throws Exception {
        VoucherDetail self = new VoucherDetail();
        return TeaModel.build(map, self);
    }
 
    public VoucherDetail setId(String id) {
        this.id = id;
        return this;
    }
    public String getId() {
        return this.id;
    }
 
    public VoucherDetail setName(String name) {
        this.name = name;
        return this;
    }
    public String getName() {
        return this.name;
    }
 
    public VoucherDetail setType(String type) {
        this.type = type;
        return this;
    }
    public String getType() {
        return this.type;
    }
 
    public VoucherDetail setAmount(String amount) {
        this.amount = amount;
        return this;
    }
    public String getAmount() {
        return this.amount;
    }
 
    public VoucherDetail setMerchantContribute(String merchantContribute) {
        this.merchantContribute = merchantContribute;
        return this;
    }
    public String getMerchantContribute() {
        return this.merchantContribute;
    }
 
    public VoucherDetail setOtherContribute(String otherContribute) {
        this.otherContribute = otherContribute;
        return this;
    }
    public String getOtherContribute() {
        return this.otherContribute;
    }
 
    public VoucherDetail setMemo(String memo) {
        this.memo = memo;
        return this;
    }
    public String getMemo() {
        return this.memo;
    }
 
    public VoucherDetail setTemplateId(String templateId) {
        this.templateId = templateId;
        return this;
    }
    public String getTemplateId() {
        return this.templateId;
    }
 
    public VoucherDetail setPurchaseBuyerContribute(String purchaseBuyerContribute) {
        this.purchaseBuyerContribute = purchaseBuyerContribute;
        return this;
    }
    public String getPurchaseBuyerContribute() {
        return this.purchaseBuyerContribute;
    }
 
    public VoucherDetail setPurchaseMerchantContribute(String purchaseMerchantContribute) {
        this.purchaseMerchantContribute = purchaseMerchantContribute;
        return this;
    }
    public String getPurchaseMerchantContribute() {
        return this.purchaseMerchantContribute;
    }
 
    public VoucherDetail setPurchaseAntContribute(String purchaseAntContribute) {
        this.purchaseAntContribute = purchaseAntContribute;
        return this;
    }
    public String getPurchaseAntContribute() {
        return this.purchaseAntContribute;
    }
 
}