@@ 160-203 (lines=44) @@ | ||
157 | /** |
|
158 | * @return array |
|
159 | */ |
|
160 | protected function getMagentoCustomerAddressesUpdated() |
|
161 | { |
|
162 | return [ |
|
163 | [ |
|
164 | 'customer_address_id' => 1, |
|
165 | 'created_at' => (new \DateTime())->format('Y-m-d H:i'), |
|
166 | 'updated_at' => (new \DateTime())->format('Y-m-d H:i'), |
|
167 | 'city' => 'LA1', |
|
168 | 'company' => 'Oro1', |
|
169 | 'country_id' => 'US', |
|
170 | 'firstname' => 'John1', |
|
171 | 'lastname' => 'Smith1', |
|
172 | 'postcode' => '900461', |
|
173 | 'region' => 'California1', |
|
174 | 'region_id' => 13, |
|
175 | 'street' => 'Melrose Ave.1', |
|
176 | 'telephone' => '0011', |
|
177 | 'is_default_billing' => true, |
|
178 | 'is_default_shipping' => true, |
|
179 | 'attributes' => [ |
|
180 | [ |
|
181 | 'key' => 'parent_id', |
|
182 | 'value' => '194' |
|
183 | ], |
|
184 | [ |
|
185 | 'key' => 'entity_type_id', |
|
186 | 'value' => '2' |
|
187 | ], |
|
188 | [ |
|
189 | 'key' => 'attribute_set_id', |
|
190 | 'value' => '0' |
|
191 | ], |
|
192 | [ |
|
193 | 'key' => 'is_active', |
|
194 | 'value' => '1' |
|
195 | ], |
|
196 | [ |
|
197 | 'key' => 'customer_id', |
|
198 | 'value' => '194' |
|
199 | ] |
|
200 | ] |
|
201 | ] |
|
202 | ]; |
|
203 | } |
|
204 | ||
205 | /** |
|
206 | * @return array |
|
@@ 208-251 (lines=44) @@ | ||
205 | /** |
|
206 | * @return array |
|
207 | */ |
|
208 | protected function getMagentoCustomerAddresses() |
|
209 | { |
|
210 | return [ |
|
211 | [ |
|
212 | 'customer_address_id' => 1, |
|
213 | 'created_at' => (new \DateTime())->format('Y-m-d H:i'), |
|
214 | 'updated_at' => (new \DateTime())->format('Y-m-d H:i'), |
|
215 | 'city' => 'LA', |
|
216 | 'company' => 'Oro', |
|
217 | 'country_id' => 'US', |
|
218 | 'firstname' => 'John', |
|
219 | 'lastname' => 'Smith', |
|
220 | 'postcode' => '90046', |
|
221 | 'region' => 'California', |
|
222 | 'region_id' => 12, |
|
223 | 'street' => 'Melrose Ave.', |
|
224 | 'telephone' => '001', |
|
225 | 'is_default_billing' => true, |
|
226 | 'is_default_shipping' => true, |
|
227 | 'attributes' => [ |
|
228 | [ |
|
229 | 'key'=>'parent_id', |
|
230 | 'value'=>'194' |
|
231 | ], |
|
232 | [ |
|
233 | 'key'=>'entity_type_id', |
|
234 | 'value'=>'2' |
|
235 | ], |
|
236 | [ |
|
237 | 'key'=>'attribute_set_id', |
|
238 | 'value'=>'0' |
|
239 | ], |
|
240 | [ |
|
241 | 'key'=>'is_active', |
|
242 | 'value'=>'1' |
|
243 | ], |
|
244 | [ |
|
245 | 'key'=>'customer_id', |
|
246 | 'value'=>'194' |
|
247 | ] |
|
248 | ] |
|
249 | ] |
|
250 | ]; |
|
251 | } |
|
252 | } |
|
253 |