Completed
Push — master ( c52910...66a65c )
by lyu
02:53 queued 47s
created

ExtendParams::getHbFqSellerPercent()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 0
dl 0
loc 4
ccs 0
cts 4
cp 0
crap 2
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Kaylyu\Alipay\F2fpay\Base\Model\Builder;
4
5
6
class ExtendParams
7
{
8
    // 系统商编号
9
    private $sysServiceProviderId;
10
11
    //使用花呗分期要进行的分期数,非必填项
12
    private $hbFqNum;
13
14
    //使用花呗分期需要卖家承担的手续费比例的百分值
15
    private $hbFqSellerPercent;
16
17
    private $extendParamsArr = array();
18
19
    public function getExtendParams()
20
    {
21
        if (!empty($this->extendParamsArr)) {
22
            return $this->extendParamsArr;
23
        }
24
    }
25
26
    public function getSysServiceProviderId()
27
    {
28
        return $this->sysServiceProviderId;
29
    }
30
31
    public function setSysServiceProviderId($sysServiceProviderId)
32
    {
33
        $this->sysServiceProviderId = $sysServiceProviderId;
34
        $this->extendParamsArr['sys_service_provider_id'] = $sysServiceProviderId;
35
    }
36
37
    public function getHbFqNum()
38
    {
39
        return $this->hbFqNum;
40
    }
41
42
    public function setHbFqNum($hbFqNum)
43
    {
44
        $this->hbFqNum = $hbFqNum;
45
        $this->extendParamsArr['hb_fq_num'] = $hbFqNum;
46
    }
47
48
    public function getHbFqSellerPercent()
49
    {
50
        return $this->hbFqSellerPercent;
51
    }
52
53
    public function setHbFqSellerPercent($hbFqSellerPercent)
54
    {
55
        $this->hbFqSellerPercent = $hbFqSellerPercent;
56
        $this->extendParamsArr['hb_fq_seller_percent'] = $hbFqSellerPercent;
57
    }
58
}