Passed
Branch request_builder (f74bff)
by Jens
09:45
created

OrdersActionBuilder::addParcelToDelivery()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 3
ccs 0
cts 2
cp 0
rs 10
c 0
b 0
f 0
cc 1
eloc 1
nc 1
nop 0
crap 2
1
<?php
2
3
namespace Commercetools\Core\Builder\Update;
4
5
use Commercetools\Core\Request\Orders\Command\OrderTransitionStateAction;
6
use Commercetools\Core\Request\Orders\Command\OrderSetOrderNumberAction;
7
use Commercetools\Core\Request\Orders\Command\OrderAddPaymentAction;
8
use Commercetools\Core\Request\Orders\Command\OrderRemovePaymentAction;
9
use Commercetools\Core\Request\Orders\Command\OrderSetReturnShipmentStateAction;
10
use Commercetools\Core\Request\Orders\Command\OrderImportCustomLineItemStateAction;
11
use Commercetools\Core\Request\Orders\Command\OrderAddReturnInfoAction;
12
use Commercetools\Core\Request\Orders\Command\OrderRemoveParcelFromDeliveryAction;
13
use Commercetools\Core\Request\Orders\Command\OrderSetReturnPaymentStateAction;
14
use Commercetools\Core\Request\Orders\Command\OrderRemoveDeliveryAction;
15
use Commercetools\Core\Request\Orders\Command\OrderSetParcelTrackingDataAction;
16
use Commercetools\Core\Request\Orders\Command\OrderSetParcelMeasurementsAction;
17
use Commercetools\Core\Request\Orders\Command\OrderSetCustomerEmail;
18
use Commercetools\Core\Request\Orders\Command\OrderTransitionCustomLineItemStateAction;
19
use Commercetools\Core\Request\Orders\Command\OrderSetDeliveryItemsAction;
20
use Commercetools\Core\Request\Orders\Command\OrderImportLineItemStateAction;
21
use Commercetools\Core\Request\Orders\Command\OrderAddParcelToDeliveryAction;
22
use Commercetools\Core\Request\Orders\Command\OrderChangeOrderStateAction;
23
use Commercetools\Core\Request\Orders\Command\OrderSetShippingAddress;
24
use Commercetools\Core\Request\Orders\Command\OrderSetDeliveryAddressAction;
25
use Commercetools\Core\Request\Orders\Command\OrderUpdateSyncInfoAction;
26
use Commercetools\Core\Request\Orders\Command\OrderTransitionLineItemStateAction;
27
use Commercetools\Core\Request\Orders\Command\OrderChangePaymentStateAction;
28
use Commercetools\Core\Request\Orders\Command\OrderAddDeliveryAction;
29
use Commercetools\Core\Request\Orders\Command\OrderSetLocaleAction;
30
use Commercetools\Core\Request\Orders\Command\OrderChangeShipmentStateAction;
31
use Commercetools\Core\Request\Orders\Command\OrderSetBillingAddress;
32
use Commercetools\Core\Request\Orders\Command\OrderSetParcelItemsAction;
33
34
class OrdersActionBuilder
35
{
36
    /**
37
     * @return OrderTransitionStateAction
38
     */
39
    public function transitionState()
40
    {
41
        return OrderTransitionStateAction::of();
42
    }
43
44
    /**
45
     * @return OrderSetOrderNumberAction
46
     */
47
    public function setOrderNumber()
48
    {
49
        return OrderSetOrderNumberAction::of();
50
    }
51
52
    /**
53
     * @return OrderAddPaymentAction
54
     */
55
    public function addPayment()
56
    {
57
        return OrderAddPaymentAction::of();
58
    }
59
60
    /**
61
     * @return OrderRemovePaymentAction
62
     */
63
    public function removePayment()
64
    {
65
        return OrderRemovePaymentAction::of();
66
    }
67
68
    /**
69
     * @return OrderSetReturnShipmentStateAction
70
     */
71
    public function setReturnShipmentState()
72
    {
73
        return OrderSetReturnShipmentStateAction::of();
74
    }
75
76
    /**
77
     * @return OrderImportCustomLineItemStateAction
78
     */
79
    public function importCustomLineItemState()
80
    {
81
        return OrderImportCustomLineItemStateAction::of();
82
    }
83
84
    /**
85
     * @return OrderAddReturnInfoAction
86
     */
87
    public function addReturnInfo()
88
    {
89
        return OrderAddReturnInfoAction::of();
90
    }
91
92
    /**
93
     * @return OrderRemoveParcelFromDeliveryAction
94
     */
95
    public function removeParcelFromDelivery()
96
    {
97
        return OrderRemoveParcelFromDeliveryAction::of();
98
    }
99
100
    /**
101
     * @return OrderSetReturnPaymentStateAction
102
     */
103
    public function setReturnPaymentState()
104
    {
105
        return OrderSetReturnPaymentStateAction::of();
106
    }
107
108
    /**
109
     * @return OrderRemoveDeliveryAction
110
     */
111
    public function removeDelivery()
112
    {
113
        return OrderRemoveDeliveryAction::of();
114
    }
115
116
    /**
117
     * @return OrderSetParcelTrackingDataAction
118
     */
119
    public function setParcelTrackingData()
120
    {
121
        return OrderSetParcelTrackingDataAction::of();
122
    }
123
124
    /**
125
     * @return OrderSetParcelMeasurementsAction
126
     */
127
    public function setParcelMeasurements()
128
    {
129
        return OrderSetParcelMeasurementsAction::of();
130
    }
131
132
    /**
133
     * @return OrderSetCustomerEmail
134
     */
135
    public function setCustomerEmail()
136
    {
137
        return OrderSetCustomerEmail::of();
138
    }
139
140
    /**
141
     * @return OrderTransitionCustomLineItemStateAction
142
     */
143
    public function transitionCustomLineItemState()
144
    {
145
        return OrderTransitionCustomLineItemStateAction::of();
146
    }
147
148
    /**
149
     * @return OrderSetDeliveryItemsAction
150
     */
151
    public function setDeliveryItems()
152
    {
153
        return OrderSetDeliveryItemsAction::of();
154
    }
155
156
    /**
157
     * @return OrderImportLineItemStateAction
158
     */
159
    public function importLineItemState()
160
    {
161
        return OrderImportLineItemStateAction::of();
162
    }
163
164
    /**
165
     * @return OrderAddParcelToDeliveryAction
166
     */
167
    public function addParcelToDelivery()
168
    {
169
        return OrderAddParcelToDeliveryAction::of();
170
    }
171
172
    /**
173
     * @return OrderChangeOrderStateAction
174
     */
175
    public function changeOrderState()
176
    {
177
        return OrderChangeOrderStateAction::of();
178
    }
179
180
    /**
181
     * @return OrderSetShippingAddress
182
     */
183
    public function setShippingAddress()
184
    {
185
        return OrderSetShippingAddress::of();
186
    }
187
188
    /**
189
     * @return OrderSetDeliveryAddressAction
190
     */
191
    public function setDeliveryAddress()
192
    {
193
        return OrderSetDeliveryAddressAction::of();
194
    }
195
196
    /**
197
     * @return OrderUpdateSyncInfoAction
198
     */
199
    public function updateSyncInfo()
200
    {
201
        return OrderUpdateSyncInfoAction::of();
202
    }
203
204
    /**
205
     * @return OrderTransitionLineItemStateAction
206
     */
207
    public function transitionLineItemState()
208
    {
209
        return OrderTransitionLineItemStateAction::of();
210
    }
211
212
    /**
213
     * @return OrderChangePaymentStateAction
214
     */
215
    public function changePaymentState()
216
    {
217
        return OrderChangePaymentStateAction::of();
218
    }
219
220
    /**
221
     * @return OrderAddDeliveryAction
222
     */
223
    public function addDelivery()
224
    {
225
        return OrderAddDeliveryAction::of();
226
    }
227
228
    /**
229
     * @return OrderSetLocaleAction
230
     */
231
    public function setLocale()
232
    {
233
        return OrderSetLocaleAction::of();
234
    }
235
236
    /**
237
     * @return OrderChangeShipmentStateAction
238
     */
239
    public function changeShipmentState()
240
    {
241
        return OrderChangeShipmentStateAction::of();
242
    }
243
244
    /**
245
     * @return OrderSetBillingAddress
246
     */
247
    public function setBillingAddress()
248
    {
249
        return OrderSetBillingAddress::of();
250
    }
251
252
    /**
253
     * @return OrderSetParcelItemsAction
254
     */
255
    public function setParcelItems()
256
    {
257
        return OrderSetParcelItemsAction::of();
258
    }
259
}
260