public function withXmlBody(array $body) { $this->body = Serializer::xmlEncode($body); return $this; }