Automattic\WooCommerce\StoreApi\Routes\V1\Agentic

AgenticCheckoutSession::get_idpublicWC 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 10.7.0

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