Skip to content

Commit 9b74c63

Browse files
ENGCOM-5697: Resolve error when call getExchangeRates() and setExchangeRates(...) in Magento\Directory\Api\Data\ExchangeRateInterface #24272
- Merge Pull Request #24272 from edenduong/magento2:2.3-bugfix/resolve_undefine_constant_exchange_rate - Merged commits: 1. 3ee407a 2. ac3cde1
2 parents 31a6cd7 + ac3cde1 commit 9b74c63

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/code/Magento/Directory/Model/Data/ExchangeRate.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
* Copyright © Magento, Inc. All rights reserved.
66
* See COPYING.txt for license details.
77
*/
8+
9+
declare(strict_types=1);
10+
811
namespace Magento\Directory\Model\Data;
912

1013
/**
@@ -17,6 +20,7 @@ class ExchangeRate extends \Magento\Framework\Api\AbstractExtensibleObject imple
1720
{
1821
const KEY_CURRENCY_TO = 'currency_to';
1922
const KEY_RATE = 'rate';
23+
private const KEY_EXCHANGE_RATES = 'exchange_rates';
2024

2125
/**
2226
* @inheritDoc

0 commit comments

Comments
 (0)