/** * @param Payone_Settings_Data_ConfigFile_Shop_Protect $protectConfig * @param DOMElement $shopXml * @return DOMElement */ protected function mapProtect(Payone_Settings_Data_ConfigFile_Shop_Protect $protectConfig, DOMElement $shopXml) { $protectXml = $this->appendElement($shopXml, $protectConfig->getKey()); $protectXml = $this->mapConsumerscore($protectConfig->getConsumerscore(), $protectXml); $protectXml = $this->mapAddresscheck($protectConfig->getAddresscheck(), $protectXml); return $shopXml; }