execute($this->api->getFlavor(), ['id' => (string) $this->id]); $this->populateFromResponse($response); } /** * {@inheritdoc} */ public function create(array $userOptions): Creatable { $response = $this->execute($this->api->postFlavors(), $userOptions); return $this->populateFromResponse($response); } /** * {@inheritdoc} */ public function delete() { $this->execute($this->api->deleteFlavor(), ['id' => (string) $this->id]); } }