diff --git a/a2a/docs/01-architecture.md b/a2a/docs/01-architecture.md index 51ec604..06c48a7 100644 --- a/a2a/docs/01-architecture.md +++ b/a2a/docs/01-architecture.md @@ -99,13 +99,13 @@ The diagram illustrates the separation between: ### Key Methods -| Method | Line | Called By | Purpose | -| ------------------- | ---- | ------------------------------ | ------------------------------------- | -| `search_products()` | 100 | `search_shopping_catalog` tool | Keyword search in catalog | -| `add_to_checkout()` | 186 | `add_to_checkout` tool | Create/update checkout session | -| `get_checkout()` | 244 | `get_checkout` tool | Retrieve current checkout state | -| `start_payment()` | 463 | `start_payment` tool | Validate checkout for payment | -| `place_order()` | 498 | `complete_checkout` tool | Finalize order, generate confirmation | +| Method | Called By | Purpose | +| ------------------- | ------------------------------ | ------------------------------------- | +| `search_products()` | `search_shopping_catalog` tool | Keyword search in catalog | +| `add_to_checkout()` | `add_to_checkout` tool | Create/update checkout session | +| `get_checkout()` | `get_checkout` tool | Retrieve current checkout state | +| `start_payment()` | `start_payment` tool | Validate checkout for payment | +| `place_order()` | `complete_checkout` tool | Finalize order, generate confirmation | ### Replacing with Real Backend diff --git a/a2a/docs/04-commerce-flows.md b/a2a/docs/04-commerce-flows.md index f699f92..3b5a169 100644 --- a/a2a/docs/04-commerce-flows.md +++ b/a2a/docs/04-commerce-flows.md @@ -163,7 +163,7 @@ def _recalculate_checkout(self, checkout: Checkout) -> None: ### Fulfillment Options ```python -# store.py:525 - _get_fulfillment_options() +# store.py - _get_fulfillment_options() [ FulfillmentOptionResponse( id="standard", @@ -192,7 +192,7 @@ def _recalculate_checkout(self, checkout: Checkout) -> None: ## OrderConfirmation -Created in `place_order()` when checkout completes (store.py:498): +Created in `place_order()` when checkout completes (`store.py`): ```python checkout.status = "completed" diff --git a/a2a/docs/06-extending.md b/a2a/docs/06-extending.md index ff8cba8..c31d984 100644 --- a/a2a/docs/06-extending.md +++ b/a2a/docs/06-extending.md @@ -62,7 +62,7 @@ def _get_tax_rate(self, address: PostalAddress) -> float: ### Add Minimum Order -**File**: `store.py` - `start_payment()` method (line 463) +**File**: `store.py` - `start_payment()` method ```python def start_payment(self, checkout_id: str) -> Checkout | str: @@ -78,7 +78,7 @@ def start_payment(self, checkout_id: str) -> Checkout | str: ### Custom Shipping Options -**File**: `store.py` - `_get_fulfillment_options()` method (line 525) +**File**: `store.py` - `_get_fulfillment_options()` method ```python def _get_fulfillment_options(self, address: PostalAddress) -> list: