public function toArray(Request $request): array 	{ 		return [ 			'id' => $this->getKey(), 			'reference_number' => $this->reference_number, 			'customer_id' => $this->customer_id, 			'name' => $this->name, 			'email' => $this->email, 			'phone' => $this->phone, 			'company_name' => $this->company_name, 			'company_address' => $this->company_address, 			'vat' => $this->vat, 			'delivery' => [ 				'address' => $this->delivery_address, 				'city' => $this->delivery_city, 				'zip_code' => $this->delivery_zip_code, 				'country' => $this->delivery_country, 			], 			'billing' => [ 				'address' => $this->billing_address, 				'city' => $this->billing_city, 				'zip_code' => $this->billing_zip_code, 				'country' => $this->billing_country, 			], 			'total_weight' => $this->total_weight, 			'prices' => [ 				'total' => $this->total_price, 				'tax' => $this->tax, 				'tax_percent' => $this->tax_percent, 				'delivery' => $this->delivery_price, 			], 			'extra' => [ 				'tracking_number' => $this->tracking_number, 			], 			'note' => $this->note, 			'products' => OrderProductResource::collection($this->products), 			'paid_at' => $this->paid_at ? formatTimestamp($this->paid_at) : null, 			'created_at' => formatTimestamp($this->created_at), 			'updated_at' => formatTimestamp($this->updated_at), 		]; 	}