Automattic\WooCommerce\StoreApi\Routes\V1\Agentic
AgenticCheckoutSession::get_id
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() AgenticCheckoutSession::get id code WC 10.7.0
public function get_id(): string {
return $this->id;
}