private function updateMerchant() { $merchant = new Expressly\Entity\Merchant(); $merchant->setName(get_option(self::NAME))->setUuid(get_option(self::UUID))->setDestination(get_option(self::DESTINATION))->setHost(get_option(self::HOST))->setOffer(get_option(self::OFFER))->setPassword(get_option(self::PASSWORD))->setPath(get_option(self::PATH))->setImage(get_option(self::IMAGE))->setTerms(get_option(self::TERMS))->setPolicy(get_option(self::POLICY)); $this->merchant = $merchant; }