Skip to content

Commit f410326

Browse files
ENGCOM-1710: [Forwardport] [fix] typo in method name _exportAddress[s]es #15575
2 parents e60e405 + a2f9fbd commit f410326

File tree

1 file changed

+14
-1
lines changed
  • app/code/Magento/Paypal/Model/Api

1 file changed

+14
-1
lines changed

app/code/Magento/Paypal/Model/Api/Nvp.php

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)