setMerchant($this->merchant); $merchantSetting->setName($name); $merchantSetting->setText($text); $merchantSetting->setDate($date); $merchantSetting->setFile($file); return $merchantSetting; } }