public function set_downloadable($downloadable) { $this->set_prop('downloadable', wc_string_to_bool($downloadable)); }