public function toArray($request) 	{ 		return [ 			'id' => $this->id, 			'code' => $this->code, 			'valid_from' => formatTimestamp($this->valid_from), 			'valid_to' => formatTimestamp($this->valid_to), 			'amount' => $this->amount, 			'created_at' => formatTimestamp($this->created_at), 			'updated_at' => formatTimestamp($this->updated_at), 		]; 	}