user = $user; $this->is_free = $is_free; $this->period = $period; } /** * Returns the user. * * @return WP_User The user. */ public function get_user(): WP_User { return $this->user; } /** * Returns whether usage should be read from the free-usage bucket. * * @return bool True when the request targets the free-usage bucket. */ public function is_free(): bool { return $this->is_free; } /** * Returns the usage period the request applies to. * * @return string The usage period (e.g. `2026-06`). */ public function get_period(): string { return $this->period; } }