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

PaymentsActionBuilder::setStatusInterfaceCode()   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\Payments\Command\PaymentSetCustomerAction;
6
use Commercetools\Core\Request\Payments\Command\PaymentAddInterfaceInteractionAction;
7
use Commercetools\Core\Request\Payments\Command\PaymentSetCustomTypeAction;
8
use Commercetools\Core\Request\Payments\Command\PaymentSetExternalIdAction;
9
use Commercetools\Core\Request\Payments\Command\PaymentSetCustomFieldAction;
10
use Commercetools\Core\Request\Payments\Command\PaymentTransitionStateAction;
11
use Commercetools\Core\Request\Payments\Command\PaymentChangeTransactionStateAction;
12
use Commercetools\Core\Request\Payments\Command\PaymentSetAuthorizationAction;
13
use Commercetools\Core\Request\Payments\Command\PaymentSetMethodInfoMethodAction;
14
use Commercetools\Core\Request\Payments\Command\PaymentChangeTransactionInteractionIdAction;
15
use Commercetools\Core\Request\Payments\Command\PaymentSetStatusInterfaceTextAction;
16
use Commercetools\Core\Request\Payments\Command\PaymentSetStatusInterfaceCodeAction;
17
use Commercetools\Core\Request\Payments\Command\PaymentSetMethodInfoInterfaceAction;
18
use Commercetools\Core\Request\Payments\Command\PaymentSetAmountRefundedAction;
19
use Commercetools\Core\Request\Payments\Command\PaymentSetMethodInfoNameAction;
20
use Commercetools\Core\Request\Payments\Command\PaymentChangeAmountPlannedAction;
21
use Commercetools\Core\Request\Payments\Command\PaymentAddTransactionAction;
22
use Commercetools\Core\Request\Payments\Command\PaymentSetKeyAction;
23
use Commercetools\Core\Request\Payments\Command\PaymentSetAmountPaidAction;
24
use Commercetools\Core\Request\Payments\Command\PaymentChangeTransactionTimestampAction;
25
use Commercetools\Core\Request\Payments\Command\PaymentSetInterfaceIdAction;
26
27
class PaymentsActionBuilder
28
{
29
    /**
30
     * @return PaymentSetCustomerAction
31
     */
32
    public function setCustomer()
33
    {
34
        return PaymentSetCustomerAction::of();
35
    }
36
37
    /**
38
     * @return PaymentAddInterfaceInteractionAction
39
     */
40
    public function addInterfaceInteraction()
41
    {
42
        return PaymentAddInterfaceInteractionAction::of();
43
    }
44
45
    /**
46
     * @return PaymentSetCustomTypeAction
47
     */
48
    public function setCustomType()
49
    {
50
        return PaymentSetCustomTypeAction::of();
51
    }
52
53
    /**
54
     * @return PaymentSetExternalIdAction
55
     */
56
    public function setExternalId()
57
    {
58
        return PaymentSetExternalIdAction::of();
59
    }
60
61
    /**
62
     * @return PaymentSetCustomFieldAction
63
     */
64
    public function setCustomField()
65
    {
66
        return PaymentSetCustomFieldAction::of();
67
    }
68
69
    /**
70
     * @return PaymentTransitionStateAction
71
     */
72
    public function transitionState()
73
    {
74
        return PaymentTransitionStateAction::of();
75
    }
76
77
    /**
78
     * @return PaymentChangeTransactionStateAction
79
     */
80
    public function changeTransactionState()
81
    {
82
        return PaymentChangeTransactionStateAction::of();
83
    }
84
85
    /**
86
     * @return PaymentSetAuthorizationAction
87
     */
88
    public function setAuthorization()
89
    {
90
        return PaymentSetAuthorizationAction::of();
91
    }
92
93
    /**
94
     * @return PaymentSetMethodInfoMethodAction
95
     */
96
    public function setMethodInfoMethod()
97
    {
98
        return PaymentSetMethodInfoMethodAction::of();
99
    }
100
101
    /**
102
     * @return PaymentChangeTransactionInteractionIdAction
103
     */
104
    public function changeTransactionInteractionId()
105
    {
106
        return PaymentChangeTransactionInteractionIdAction::of();
107
    }
108
109
    /**
110
     * @return PaymentSetStatusInterfaceTextAction
111
     */
112
    public function setStatusInterfaceText()
113
    {
114
        return PaymentSetStatusInterfaceTextAction::of();
115
    }
116
117
    /**
118
     * @return PaymentSetStatusInterfaceCodeAction
119
     */
120
    public function setStatusInterfaceCode()
121
    {
122
        return PaymentSetStatusInterfaceCodeAction::of();
123
    }
124
125
    /**
126
     * @return PaymentSetMethodInfoInterfaceAction
127
     */
128
    public function setMethodInfoInterface()
129
    {
130
        return PaymentSetMethodInfoInterfaceAction::of();
131
    }
132
133
    /**
134
     * @return PaymentSetAmountRefundedAction
135
     */
136
    public function setAmountRefunded()
137
    {
138
        return PaymentSetAmountRefundedAction::of();
139
    }
140
141
    /**
142
     * @return PaymentSetMethodInfoNameAction
143
     */
144
    public function setMethodInfoName()
145
    {
146
        return PaymentSetMethodInfoNameAction::of();
147
    }
148
149
    /**
150
     * @return PaymentChangeAmountPlannedAction
151
     */
152
    public function changeAmountPlanned()
153
    {
154
        return PaymentChangeAmountPlannedAction::of();
155
    }
156
157
    /**
158
     * @return PaymentAddTransactionAction
159
     */
160
    public function addTransaction()
161
    {
162
        return PaymentAddTransactionAction::of();
163
    }
164
165
    /**
166
     * @return PaymentSetKeyAction
167
     */
168
    public function setKey()
169
    {
170
        return PaymentSetKeyAction::of();
171
    }
172
173
    /**
174
     * @return PaymentSetAmountPaidAction
175
     */
176
    public function setAmountPaid()
177
    {
178
        return PaymentSetAmountPaidAction::of();
179
    }
180
181
    /**
182
     * @return PaymentChangeTransactionTimestampAction
183
     */
184
    public function changeTransactionTimestamp()
185
    {
186
        return PaymentChangeTransactionTimestampAction::of();
187
    }
188
189
    /**
190
     * @return PaymentSetInterfaceIdAction
191
     */
192
    public function setInterfaceId()
193
    {
194
        return PaymentSetInterfaceIdAction::of();
195
    }
196
}
197