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 @@ -846,7 +846,7 @@ public function callGetExpressCheckoutDetails()
846
846
$ request = $ this ->_exportToRequest ($ this ->_getExpressCheckoutDetailsRequest );
847
847
$ response = $ this ->call (self ::GET_EXPRESS_CHECKOUT_DETAILS , $ request );
848
848
$ this ->_importFromResponse ($ this ->_paymentInformationResponse , $ response );
849
- $ this ->_exportAddressses ($ response );
849
+ $ this ->_exportAddresses ($ response );
850
850
}
851
851
852
852
/**
@@ -1463,8 +1463,21 @@ protected function _exportLineItems(array &$request, $i = 0)
1463
1463
*
1464
1464
* @param array $data
1465
1465
* @return void
1466
+ * @deprecated 100.2.2 typo in method name
1467
+ * @see _exportAddresses
1466
1468
*/
1467
1469
protected function _exportAddressses ($ data )
1470
+ {
1471
+ $ this ->_exportAddresses ($ data );
1472
+ }
1473
+
1474
+ /**
1475
+ * Create billing and shipping addresses basing on response data
1476
+ *
1477
+ * @param array $data
1478
+ * @return void
1479
+ */
1480
+ protected function _exportAddresses ($ data )
1468
1481
{
1469
1482
$ address = new \Magento \Framework \DataObject ();
1470
1483
\Magento \Framework \DataObject \Mapper::accumulateByMap ($ data , $ address , $ this ->_billingAddressMap );
You can’t perform that action at this time.
0 commit comments