public function __construct(Ess_M2ePro_Model_Account $account) { if (!$account->isComponentModeAmazon()) { throw new Ess_M2ePro_Model_Exception_Logic('Required Amazon Account.'); } $this->account = $account; }