File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed
app/code/Magento/Paypal/Model/Api Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -844,7 +844,7 @@ public function callGetExpressCheckoutDetails()
844844 $ request = $ this ->_exportToRequest ($ this ->_getExpressCheckoutDetailsRequest );
845845 $ response = $ this ->call (self ::GET_EXPRESS_CHECKOUT_DETAILS , $ request );
846846 $ this ->_importFromResponse ($ this ->_paymentInformationResponse , $ response );
847- $ this ->_exportAddressses ($ response );
847+ $ this ->_exportAddresses ($ response );
848848 }
849849
850850 /**
@@ -1461,8 +1461,21 @@ protected function _exportLineItems(array &$request, $i = 0)
14611461 *
14621462 * @param array $data
14631463 * @return void
1464+ * @deprecated 100.2.2 typo in method name
1465+ * @see _exportAddresses
14641466 */
14651467 protected function _exportAddressses ($ data )
1468+ {
1469+ $ this ->_exportAddresses ($ data );
1470+ }
1471+
1472+ /**
1473+ * Create billing and shipping addresses basing on response data
1474+ *
1475+ * @param array $data
1476+ * @return void
1477+ */
1478+ protected function _exportAddresses ($ data )
14661479 {
14671480 $ address = new \Magento \Framework \DataObject ();
14681481 \Magento \Framework \DataObject \Mapper::accumulateByMap ($ data , $ address , $ this ->_billingAddressMap );
You can’t perform that action at this time.
0 commit comments