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
<?php
 
// This file is auto-generated, don't edit it. Thanks.
namespace Alipay\EasySDK\Payment\Common\Models;
 
use AlibabaCloud\Tea\Model;
 
class TradeFundBill extends Model {
    protected $_name = [
        'fundChannel' => 'fund_channel',
        'bankCode' => 'bank_code',
        'amount' => 'amount',
        'realAmount' => 'real_amount',
        'fundType' => 'fund_type',
    ];
    public function validate() {
        Model::validateRequired('fundChannel', $this->fundChannel, true);
        Model::validateRequired('bankCode', $this->bankCode, true);
        Model::validateRequired('amount', $this->amount, true);
        Model::validateRequired('realAmount', $this->realAmount, true);
        Model::validateRequired('fundType', $this->fundType, true);
    }
    public function toMap() {
        $res = [];
        if (null !== $this->fundChannel) {
            $res['fund_channel'] = $this->fundChannel;
        }
        if (null !== $this->bankCode) {
            $res['bank_code'] = $this->bankCode;
        }
        if (null !== $this->amount) {
            $res['amount'] = $this->amount;
        }
        if (null !== $this->realAmount) {
            $res['real_amount'] = $this->realAmount;
        }
        if (null !== $this->fundType) {
            $res['fund_type'] = $this->fundType;
        }
        return $res;
    }
    /**
     * @param array $map
     * @return TradeFundBill
     */
    public static function fromMap($map = []) {
        $model = new self();
        if(isset($map['fund_channel'])){
            $model->fundChannel = $map['fund_channel'];
        }
        if(isset($map['bank_code'])){
            $model->bankCode = $map['bank_code'];
        }
        if(isset($map['amount'])){
            $model->amount = $map['amount'];
        }
        if(isset($map['real_amount'])){
            $model->realAmount = $map['real_amount'];
        }
        if(isset($map['fund_type'])){
            $model->fundType = $map['fund_type'];
        }
        return $model;
    }
    /**
     * @var string
     */
    public $fundChannel;
 
    /**
     * @var string
     */
    public $bankCode;
 
    /**
     * @var string
     */
    public $amount;
 
    /**
     * @var string
     */
    public $realAmount;
 
    /**
     * @var string
     */
    public $fundType;
 
}