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
<?php
 
// This file is auto-generated, don't edit it. Thanks.
namespace Alipay\EasySDK\Payment\Common\Models;
 
use AlibabaCloud\Tea\Model;
 
class TradeSettleDetail extends Model {
    protected $_name = [
        'operationType' => 'operation_type',
        'operationSerial_no' => 'operation_serial_no',
        'operationDt' => 'operation_dt',
        'transOut' => 'trans_out',
        'transIn' => 'trans_in',
        'amount' => 'amount',
    ];
    public function validate() {
        Model::validateRequired('operationType', $this->operationType, true);
        Model::validateRequired('operationSerial_no', $this->operationSerial_no, true);
        Model::validateRequired('operationDt', $this->operationDt, true);
        Model::validateRequired('transOut', $this->transOut, true);
        Model::validateRequired('transIn', $this->transIn, true);
        Model::validateRequired('amount', $this->amount, true);
    }
    public function toMap() {
        $res = [];
        if (null !== $this->operationType) {
            $res['operation_type'] = $this->operationType;
        }
        if (null !== $this->operationSerial_no) {
            $res['operation_serial_no'] = $this->operationSerial_no;
        }
        if (null !== $this->operationDt) {
            $res['operation_dt'] = $this->operationDt;
        }
        if (null !== $this->transOut) {
            $res['trans_out'] = $this->transOut;
        }
        if (null !== $this->transIn) {
            $res['trans_in'] = $this->transIn;
        }
        if (null !== $this->amount) {
            $res['amount'] = $this->amount;
        }
        return $res;
    }
    /**
     * @param array $map
     * @return TradeSettleDetail
     */
    public static function fromMap($map = []) {
        $model = new self();
        if(isset($map['operation_type'])){
            $model->operationType = $map['operation_type'];
        }
        if(isset($map['operation_serial_no'])){
            $model->operationSerial_no = $map['operation_serial_no'];
        }
        if(isset($map['operation_dt'])){
            $model->operationDt = $map['operation_dt'];
        }
        if(isset($map['trans_out'])){
            $model->transOut = $map['trans_out'];
        }
        if(isset($map['trans_in'])){
            $model->transIn = $map['trans_in'];
        }
        if(isset($map['amount'])){
            $model->amount = $map['amount'];
        }
        return $model;
    }
    /**
     * @var string
     */
    public $operationType;
 
    /**
     * @var string
     */
    public $operationSerial_no;
 
    /**
     * @var string
     */
    public $operationDt;
 
    /**
     * @var string
     */
    public $transOut;
 
    /**
     * @var string
     */
    public $transIn;
 
    /**
     * @var string
     */
    public $amount;
 
}