1 <?php
2
3 namespace rpf\api\module;
4 use rpf\api\apiModule;
5
6 7 8 9 10
11 class bbOrder_readAccountEntry extends apiModule
12 {
13 protected $rpcMethod = 'bbOrder::readAccountEntry';
14
15 16 17 18 19 20
21 public function setAccnr($accnr)
22 {
23 return $this->addParam('accnr', (integer) $accnr);
24 }
25
26 27 28 29 30 31
32 public function setAeid($aeid)
33 {
34 return $this->addParam('aeid', (integer) $aeid);
35 }
36
37 38 39 40 41 42
43 public function setCeid($ceid)
44 {
45 return $this->addParam('ceid', (integer) $ceid);
46 }
47
48 49 50 51 52 53
54 public function setCustomerId($ceid)
55 {
56 return $this->setCeid($ceid);
57 }
58
59 60 61 62 63 64
65 public function setOeid($oeid)
66 {
67 return $this->addParam('oeid', (integer) $oeid);
68 }
69
70 71 72 73 74 75
76 public function setSettlementAeid($aeid)
77 {
78 return $this->addParam('settlement_aeid', (integer) $aeid);
79 }
80
81 82 83 84 85 86
87 public function addReturnAddress($bool = true)
88 {
89 return $this->addParam('return_adress', $bool);
90 }
91
92 93 94 95 96 97
98 public function addReturnPhoneEncodet($bool = true)
99 {
100 $this->addReturnAddress();
101 return $this->addParam('return_phone_encodet', $bool);
102 }
103
104 105 106 107 108 109
110 public function addReturnOrdnr($bool = true)
111 {
112 return $this->addParam('return_ordnr', $bool);
113 }
114
115 116 117 118 119 120
121 public function addReturnSettlements($bool = true)
122 {
123 return $this->addParam('return_settlements', $bool);
124 }
125
126 127 128 129 130 131
132 public function addReturnCusnr($bool = true)
133 {
134 return $this->addParam('return_cusnr', $bool);
135 }
136
137 138 139 140 141 142
143 public function addReturnCustomer($bool = true)
144 {
145 return $this->addParam('return_customer', $bool);
146 }
147
148 149 150 151 152 153
154 public function addReturnCustomerOverview($bool = true)
155 {
156 $this->addReturnCustomer();
157 return $this->addParam('return_customer_overview', $bool);
158 }
159
160 161 162 163 164 165
166 public function addReturnItems($bool = true)
167 {
168 return $this->addParam('return_items', $bool);
169 }
170
171 172 173 174 175 176
177 public function addReturnPayinfo($bool = true)
178 {
179 $this->addReturnCustomer();
180 return $this->addParam('return_payinfo', $bool);
181 }
182
183 184 185 186 187 188
189 public function addReturnPayinfoBank($bool = true)
190 {
191 $this->addReturnPayinfo();
192 return $this->addParam('return_payinfo_bank', $bool);
193 }
194
195 196 197 198 199 200
201 public function addReturnPayment($bool = true)
202 {
203 $this->addReturnPayinfo();
204 return $this->addParam('return_payment', $bool);
205 }
206 }