Country::getTaxName()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
/*
4
 * This file is part of the slince/shopify-api-php
5
 *
6
 * (c) Slince <[email protected]>
7
 *
8
 * This source file is subject to the MIT license that is bundled
9
 * with this source code in the file LICENSE.
10
 */
11
12
namespace Slince\Shopify\Manager\Country;
13
14
use Slince\Shopify\Common\Model\Model;
15
use Slince\Shopify\Manager\Province\Province;
16
17
class Country extends Model
18
{
19
    /**
20
     * @var string
21
     */
22
    protected $name;
23
24
    /**
25
     * @var float
26
     */
27
    protected $tax;
28
29
    /**
30
     * @var string
31
     */
32
    protected $code;
33
34
    /**
35
     * @var string
36
     */
37
    protected $taxName;
38
39
    /**
40
     * @var Province[]
41
     */
42
    protected $provinces;
43
44
    /**
45
     * @return string
46
     */
47
    public function getName()
48
    {
49
        return $this->name;
50
    }
51
52
    /**
53
     * @param string $name
54
     *
55
     * @return Country
56
     */
57
    public function setName($name)
58
    {
59
        $this->name = $name;
60
61
        return $this;
62
    }
63
64
    /**
65
     * @return float
66
     */
67
    public function getTax()
68
    {
69
        return $this->tax;
70
    }
71
72
    /**
73
     * @param float $tax
74
     *
75
     * @return Country
76
     */
77
    public function setTax($tax)
78
    {
79
        $this->tax = $tax;
80
81
        return $this;
82
    }
83
84
    /**
85
     * @return string
86
     */
87
    public function getCode()
88
    {
89
        return $this->code;
90
    }
91
92
    /**
93
     * @param string $code
94
     *
95
     * @return Country
96
     */
97
    public function setCode($code)
98
    {
99
        $this->code = $code;
100
101
        return $this;
102
    }
103
104
    /**
105
     * @return string
106
     */
107
    public function getTaxName()
108
    {
109
        return $this->taxName;
110
    }
111
112
    /**
113
     * @param string $taxName
114
     *
115
     * @return Country
116
     */
117
    public function setTaxName($taxName)
118
    {
119
        $this->taxName = $taxName;
120
121
        return $this;
122
    }
123
124
    /**
125
     * @return Province[]
126
     */
127
    public function getProvinces()
128
    {
129
        return $this->provinces;
130
    }
131
132
    /**
133
     * @param Province[] $provinces
134
     *
135
     * @return Country
136
     */
137
    public function setProvinces($provinces)
138
    {
139
        $this->provinces = $provinces;
140
141
        return $this;
142
    }
143
}