body = $body; } /** * @return string */ public function getBody() { return $this->body; } /** * @param string */ public function setHeader($header) { $this->header = $header; } /** * @return string */ public function getHeader() { return $this->header; } /** * @param string */ public function setId($id) { $this->id = $id; } /** * @return string */ public function getId() { return $this->id; } /** * @param LocalizedString */ public function setLocalizedBody(LocalizedString $localizedBody) { $this->localizedBody = $localizedBody; } /** * @return LocalizedString */ public function getLocalizedBody() { return $this->localizedBody; } /** * @param LocalizedString */ public function setLocalizedHeader(LocalizedString $localizedHeader) { $this->localizedHeader = $localizedHeader; } /** * @return LocalizedString */ public function getLocalizedHeader() { return $this->localizedHeader; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(TextModuleData::class, 'Google_Service_Walletobjects_TextModuleData');