Удаление лишних методов

This commit is contained in:
Aleksandra Spiridonova
2021-09-16 16:54:40 +03:00
parent 6a4d7c4e3f
commit 0bc67dbda9
250 changed files with 284 additions and 409 deletions
-19
View File
@@ -55,25 +55,6 @@ class Source extends AbstractObject implements SourceInterface
*/
private $_platform_fee_amount;
/**
* Transfer constructor.
* @param array $data
*/
public function __construct($data = null)
{
if (isset($data) && is_array($data)) {
if (!empty($data['account_id'])) {
$this->setAccountId($data['account_id']);
}
if (!empty($data['amount'])) {
$this->setAmount($this->factoryAmount($data['amount']));
}
if (!empty($data['platform_fee_amount'])) {
$this->setPlatformFeeAmount($this->factoryAmount($data['platform_fee_amount']));
}
}
}
/**
* @inheritDoc
*/