Automattic\WooCommerce\StoreApi\Routes\V1\Agentic

AgenticCheckoutSession::get_id │ public │ WC 1.0

Gets the checkout session ID.

Method of the class: AgenticCheckoutSession{}

No Hooks.

Returns

string. The checkout session ID.

Usage

$AgenticCheckoutSession = new AgenticCheckoutSession();
$AgenticCheckoutSession->get_id(): string;

AgenticCheckoutSession::get_id() code WC 11.1.2

public function get_id(): string {
	return $this->id;
}