This repository was archived by the owner on Oct 15, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,6 @@ protected function initialize()
118118 $ this ->data ->amount ->subtotals = new stdClass ();
119119 $ this ->data ->items = [];
120120 $ this ->data ->receivers = [];
121- $ this ->data ->shippingAddress = new stdClass ();
122121 $ this ->data ->checkoutPreferences = new stdClass ();
123122 $ this ->data ->checkoutPreferences ->redirectUrls = new stdClass ();
124123 $ this ->data ->checkoutPreferences ->installments = [];
@@ -167,15 +166,6 @@ protected function populate(stdClass $response)
167166
168167 $ this ->orders ->data ->receivers = $ this ->getIfSet ('receivers ' , $ response );
169168
170- $ this ->orders ->data ->shippingAddress ->zipCode = $ response ->shippingAddress ->zipCode ;
171- $ this ->orders ->data ->shippingAddress ->street = $ response ->shippingAddress ->street ;
172- $ this ->orders ->data ->shippingAddress ->streetNumber = $ response ->shippingAddress ->streetNumber ;
173- $ this ->orders ->data ->shippingAddress ->complement = $ response ->shippingAddress ->complement ;
174- $ this ->orders ->data ->shippingAddress ->city = $ response ->shippingAddress ->city ;
175- $ this ->orders ->data ->shippingAddress ->district = $ response ->shippingAddress ->district ;
176- $ this ->orders ->data ->shippingAddress ->state = $ response ->shippingAddress ->state ;
177- $ this ->orders ->data ->shippingAddress ->country = $ response ->shippingAddress ->country ;
178-
179169 $ this ->orders ->data ->status = $ response ->status ;
180170 $ this ->orders ->data ->_links = $ response ->_links ;
181171
You can’t perform that action at this time.
0 commit comments