File tree 1 file changed +14
-1
lines changed
app/code/Magento/Paypal/Model/Api
1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -844,7 +844,7 @@ public function callGetExpressCheckoutDetails()
844
844
$ request = $ this ->_exportToRequest ($ this ->_getExpressCheckoutDetailsRequest );
845
845
$ response = $ this ->call (self ::GET_EXPRESS_CHECKOUT_DETAILS , $ request );
846
846
$ this ->_importFromResponse ($ this ->_paymentInformationResponse , $ response );
847
- $ this ->_exportAddressses ($ response );
847
+ $ this ->_exportAddresses ($ response );
848
848
}
849
849
850
850
/**
@@ -1461,8 +1461,21 @@ protected function _exportLineItems(array &$request, $i = 0)
1461
1461
*
1462
1462
* @param array $data
1463
1463
* @return void
1464
+ * @deprecated 100.2.2 typo in method name
1465
+ * @see _exportAddresses
1464
1466
*/
1465
1467
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 )
1466
1479
{
1467
1480
$ address = new \Magento \Framework \DataObject ();
1468
1481
\Magento \Framework \DataObject \Mapper::accumulateByMap ($ data , $ address , $ this ->_billingAddressMap );
You can’t perform that action at this time.
0 commit comments