public function toArray($request): array 	{ 		$lang = $request->lang; 		$storage = $this->storage();  		return [ 			'id' => $this->id, 			'type' => $this->getBillableItemType(), 			'name' => $this->getTranslation('name', $lang, $this->name), 			'slug' => $this->getTranslation('slug', $lang, $this->slug), 			'price' => $this->price, 			'is_buyable' => $this->is_buyable, 			'is_sold_out' => $this->is_sold_out, 			'archived' => $this->archived, 			'category_id' => $this->category_id, 			'category_slug' => $this->category->getTranslation('slug', $lang, $this->category->slug), 			'short_description_label' => $this->getTranslation('short_description_label', $lang, $this->short_description_label), 			'media' => [ 				'images' => MediaResource::collection($storage->files('image')), 			], 			'created_at' => formatTimestamp($this->created_at), 			'updated_at' => formatTimestamp($this->updated_at), 		]; 	}