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