ShippingContainer::getShippingState()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
3
/**
4
 * MIT License
5
 * Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
6
 */
7
8
namespace SprykerEco\Zed\Payone\Business\Api\Request\Container\Authorization;
9
10
use SprykerEco\Zed\Payone\Business\Api\Request\Container\AbstractContainer;
11
12
class ShippingContainer extends AbstractContainer
13
{
14
    /**
15
     * @var string
16
     */
17
    protected $shipping_firstname;
18
19
    /**
20
     * @var string
21
     */
22
    protected $shipping_lastname;
23
24
    /**
25
     * @var string
26
     */
27
    protected $shipping_company;
28
29
    /**
30
     * @var string
31
     */
32
    protected $shipping_street;
33
34
    /**
35
     * @var string
36
     */
37
    protected $shipping_zip;
38
39
    /**
40
     * @var string
41
     */
42
    protected $shipping_city;
43
44
    /**
45
     * ISO-3166-2 Subdivisions
46
     * only necessary for country US, CA, CN, JP, MX, BR, AR, ID, TH, IN
47
     *
48
     * @var string
49
     */
50
    protected $shipping_state;
51
52
    /**
53
     * Country (ISO-3166)
54
     *
55
     * @var string
56
     */
57
    protected $shipping_country;
58
59
    /**
60
     * @param string $shipping_city
61
     *
62
     * @return void
63
     */
64
    public function setShippingCity($shipping_city)
65
    {
66
        $this->shipping_city = $shipping_city;
67
    }
68
69
    /**
70
     * @return string
71
     */
72
    public function getShippingCity()
73
    {
74
        return $this->shipping_city;
75
    }
76
77
    /**
78
     * @param string $shipping_company
79
     *
80
     * @return void
81
     */
82
    public function setShippingCompany($shipping_company)
83
    {
84
        $this->shipping_company = $shipping_company;
85
    }
86
87
    /**
88
     * @return string
89
     */
90
    public function getShippingCompany()
91
    {
92
        return $this->shipping_company;
93
    }
94
95
    /**
96
     * @param string $shipping_country
97
     *
98
     * @return void
99
     */
100
    public function setShippingCountry($shipping_country)
101
    {
102
        $this->shipping_country = $shipping_country;
103
    }
104
105
    /**
106
     * @return string
107
     */
108
    public function getShippingCountry()
109
    {
110
        return $this->shipping_country;
111
    }
112
113
    /**
114
     * @param string $shipping_firstname
115
     *
116
     * @return void
117
     */
118
    public function setShippingFirstName($shipping_firstname)
119
    {
120
        $this->shipping_firstname = $shipping_firstname;
121
    }
122
123
    /**
124
     * @return string
125
     */
126
    public function getShippingFirstName()
127
    {
128
        return $this->shipping_firstname;
129
    }
130
131
    /**
132
     * @param string $shipping_lastname
133
     *
134
     * @return void
135
     */
136
    public function setShippingLastName($shipping_lastname)
137
    {
138
        $this->shipping_lastname = $shipping_lastname;
139
    }
140
141
    /**
142
     * @return string
143
     */
144
    public function getShippingLastName()
145
    {
146
        return $this->shipping_lastname;
147
    }
148
149
    /**
150
     * @param string $shipping_state
151
     *
152
     * @return void
153
     */
154
    public function setShippingState($shipping_state)
155
    {
156
        $this->shipping_state = $shipping_state;
157
    }
158
159
    /**
160
     * @return string
161
     */
162
    public function getShippingState()
163
    {
164
        return $this->shipping_state;
165
    }
166
167
    /**
168
     * @param string $shipping_street
169
     *
170
     * @return void
171
     */
172
    public function setShippingStreet($shipping_street)
173
    {
174
        $this->shipping_street = $shipping_street;
175
    }
176
177
    /**
178
     * @return string
179
     */
180
    public function getShippingStreet()
181
    {
182
        return $this->shipping_street;
183
    }
184
185
    /**
186
     * @param string $shipping_zip
187
     *
188
     * @return void
189
     */
190
    public function setShippingZip($shipping_zip)
191
    {
192
        $this->shipping_zip = $shipping_zip;
193
    }
194
195
    /**
196
     * @return string
197
     */
198
    public function getShippingZip()
199
    {
200
        return $this->shipping_zip;
201
    }
202
}
203