Passed
Branch request_builder (c1031c)
by Jens
08:30
created

CustomersActionBuilder::setLocale()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 3
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
cc 1
eloc 1
nc 1
nop 0
crap 1
1
<?php
2
3
namespace Commercetools\Core\Builder\Update;
4
5
use Commercetools\Core\Request\Customers\Command\CustomerSetDefaultShippingAddressAction;
6
use Commercetools\Core\Request\Customers\Command\CustomerSetTitleAction;
7
use Commercetools\Core\Request\Customers\Command\CustomerSetCustomerGroupAction;
8
use Commercetools\Core\Request\Customers\Command\CustomerSetDateOfBirthAction;
9
use Commercetools\Core\Request\Customers\Command\CustomerChangeEmailAction;
10
use Commercetools\Core\Request\Customers\Command\CustomerSetLastNameAction;
11
use Commercetools\Core\Request\Customers\Command\CustomerSetSalutationAction;
12
use Commercetools\Core\Request\Customers\Command\CustomerSetVatIdAction;
13
use Commercetools\Core\Request\Customers\Command\CustomerSetKeyAction;
14
use Commercetools\Core\Request\Customers\Command\CustomerSetLocaleAction;
15
use Commercetools\Core\Request\Customers\Command\CustomerSetFirstNameAction;
16
use Commercetools\Core\Request\Customers\Command\CustomerSetCompanyNameAction;
17
use Commercetools\Core\Request\Customers\Command\CustomerRemoveAddressAction;
18
use Commercetools\Core\Request\Customers\Command\CustomerRemoveBillingAddressAction;
19
use Commercetools\Core\Request\Customers\Command\CustomerAddBillingAddressAction;
20
use Commercetools\Core\Request\Customers\Command\CustomerRemoveShippingAddressAction;
21
use Commercetools\Core\Request\Customers\Command\CustomerAddAddressAction;
22
use Commercetools\Core\Request\Customers\Command\CustomerSetMiddleNameAction;
23
use Commercetools\Core\Request\Customers\Command\CustomerSetDefaultBillingAddressAction;
24
use Commercetools\Core\Request\Customers\Command\CustomerChangeAddressAction;
25
use Commercetools\Core\Request\Customers\Command\CustomerSetExternalIdAction;
26
use Commercetools\Core\Request\Customers\Command\CustomerAddShippingAddressAction;
27
use Commercetools\Core\Request\Customers\Command\CustomerSetCustomerNumberAction;
28
29
class CustomersActionBuilder
30
{
31
    /**
32
     * @return CustomerSetDefaultShippingAddressAction
33
     */
34 1
    public function setDefaultShippingAddress()
35
    {
36 1
        return CustomerSetDefaultShippingAddressAction::of();
37
    }
38
39
    /**
40
     * @return CustomerSetTitleAction
41
     */
42 1
    public function setTitle()
43
    {
44 1
        return CustomerSetTitleAction::of();
45
    }
46
47
    /**
48
     * @return CustomerSetCustomerGroupAction
49
     */
50 1
    public function setCustomerGroup()
51
    {
52 1
        return CustomerSetCustomerGroupAction::of();
53
    }
54
55
    /**
56
     * @return CustomerSetDateOfBirthAction
57
     */
58 1
    public function setDateOfBirth()
59
    {
60 1
        return CustomerSetDateOfBirthAction::of();
61
    }
62
63
    /**
64
     * @return CustomerChangeEmailAction
65
     */
66 1
    public function changeEmail()
67
    {
68 1
        return CustomerChangeEmailAction::of();
69
    }
70
71
    /**
72
     * @return CustomerSetLastNameAction
73
     */
74 1
    public function setLastName()
75
    {
76 1
        return CustomerSetLastNameAction::of();
77
    }
78
79
    /**
80
     * @return CustomerSetSalutationAction
81
     */
82 1
    public function setSalutation()
83
    {
84 1
        return CustomerSetSalutationAction::of();
85
    }
86
87
    /**
88
     * @return CustomerSetVatIdAction
89
     */
90 1
    public function setVatId()
91
    {
92 1
        return CustomerSetVatIdAction::of();
93
    }
94
95
    /**
96
     * @return CustomerSetKeyAction
97
     */
98 1
    public function setKey()
99
    {
100 1
        return CustomerSetKeyAction::of();
101
    }
102
103
    /**
104
     * @return CustomerSetLocaleAction
105
     */
106 1
    public function setLocale()
107
    {
108 1
        return CustomerSetLocaleAction::of();
109
    }
110
111
    /**
112
     * @return CustomerSetFirstNameAction
113
     */
114 1
    public function setFirstName()
115
    {
116 1
        return CustomerSetFirstNameAction::of();
117
    }
118
119
    /**
120
     * @return CustomerSetCompanyNameAction
121
     */
122 1
    public function setCompanyName()
123
    {
124 1
        return CustomerSetCompanyNameAction::of();
125
    }
126
127
    /**
128
     * @return CustomerRemoveAddressAction
129
     */
130 1
    public function removeAddress()
131
    {
132 1
        return CustomerRemoveAddressAction::of();
133
    }
134
135
    /**
136
     * @return CustomerRemoveBillingAddressAction
137
     */
138 1
    public function removeBillingAddressId()
139
    {
140 1
        return CustomerRemoveBillingAddressAction::of();
141
    }
142
143
    /**
144
     * @return CustomerAddBillingAddressAction
145
     */
146 1
    public function addBillingAddressId()
147
    {
148 1
        return CustomerAddBillingAddressAction::of();
149
    }
150
151
    /**
152
     * @return CustomerRemoveShippingAddressAction
153
     */
154 1
    public function removeShippingAddressId()
155
    {
156 1
        return CustomerRemoveShippingAddressAction::of();
157
    }
158
159
    /**
160
     * @return CustomerAddAddressAction
161
     */
162 1
    public function addAddress()
163
    {
164 1
        return CustomerAddAddressAction::of();
165
    }
166
167
    /**
168
     * @return CustomerSetMiddleNameAction
169
     */
170 1
    public function setMiddleName()
171
    {
172 1
        return CustomerSetMiddleNameAction::of();
173
    }
174
175
    /**
176
     * @return CustomerSetDefaultBillingAddressAction
177
     */
178 1
    public function setDefaultBillingAddress()
179
    {
180 1
        return CustomerSetDefaultBillingAddressAction::of();
181
    }
182
183
    /**
184
     * @return CustomerChangeAddressAction
185
     */
186 1
    public function changeAddress()
187
    {
188 1
        return CustomerChangeAddressAction::of();
189
    }
190
191
    /**
192
     * @return CustomerSetExternalIdAction
193
     */
194 1
    public function setExternalId()
195
    {
196 1
        return CustomerSetExternalIdAction::of();
197
    }
198
199
    /**
200
     * @return CustomerAddShippingAddressAction
201
     */
202 1
    public function addShippingAddressId()
203
    {
204 1
        return CustomerAddShippingAddressAction::of();
205
    }
206
207
    /**
208
     * @return CustomerSetCustomerNumberAction
209
     */
210 1
    public function setCustomerNumber()
211
    {
212 1
        return CustomerSetCustomerNumberAction::of();
213
    }
214
}
215