This repository was archived by the owner on Oct 15, 2024. It is now read-only.
Commit 7eda9b6 1 parent 2f01ad9 commit 7eda9b6 Copy full SHA for 7eda9b6
File tree 1 file changed +0
-10
lines changed
1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,6 @@ protected function initialize()
118
118
$ this ->data ->amount ->subtotals = new stdClass ();
119
119
$ this ->data ->items = [];
120
120
$ this ->data ->receivers = [];
121
- $ this ->data ->shippingAddress = new stdClass ();
122
121
$ this ->data ->checkoutPreferences = new stdClass ();
123
122
$ this ->data ->checkoutPreferences ->redirectUrls = new stdClass ();
124
123
$ this ->data ->checkoutPreferences ->installments = [];
@@ -167,15 +166,6 @@ protected function populate(stdClass $response)
167
166
168
167
$ this ->orders ->data ->receivers = $ this ->getIfSet ('receivers ' , $ response );
169
168
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
-
179
169
$ this ->orders ->data ->status = $ response ->status ;
180
170
$ this ->orders ->data ->_links = $ response ->_links ;
181
171
You can’t perform that action at this time.
0 commit comments