Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterRoute ¶
func RegisterRoute(fn RouteFn)
RegisterRoute wires an additional route function. The parent api.Route invokes every registered function after its own wiring is done. Consumers who want the route must blank-import the sub-module (e.g. `import _ "github.com/hanzoai/commerce/luxfi/cevm/api"`).
Types ¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package account — login deprecated.
|
Package account — login deprecated. |
|
Package b2b wires the B2B commerce HTTP surface: companies, employees (with their spending headroom), quotes (accept/reject + message thread), and spend-approvals.
|
Package b2b wires the B2B commerce HTTP surface: companies, employees (with their spending headroom), quotes (accept/reject + message thread), and spend-approvals. |
|
Package catalog is the HTTP surface for the platform product catalog — the CMS source-of-truth for a brand's OWN products (Models, Vector, KMS, …) that docs.<brand>, the console sidebar, and pricing derive from.
|
Package catalog is the HTTP surface for the platform product catalog — the CMS source-of-truth for a brand's OWN products (Models, Vector, KMS, …) that docs.<brand>, the console sidebar, and pricing derive from. |
|
Package costs is commerce's vendor-cost / COGS surface — the mirror of the revenue/usage billing package.
|
Package costs is commerce's vendor-cost / COGS surface — the mirror of the revenue/usage billing package. |
|
Package dashv2 — login deprecated.
|
Package dashv2 — login deprecated. |
|
Package exchange wires the order-exchange HTTP surface: CRUD on exchanges plus confirm/cancel transitions.
|
Package exchange wires the order-exchange HTTP surface: CRUD on exchanges plus confirm/cancel transitions. |
|
Package giftcard is the HTTP surface for gift cards: base CRUD via rest plus money actions (redeem / balance / void).
|
Package giftcard is the HTTP surface for gift cards: base CRUD via rest plus money actions (redeem / balance / void). |
|
Package invite exposes the commerce paywall's invite-code HTTP surface:
|
Package invite exposes the commerce paywall's invite-code HTTP surface: |
|
Package metrics is the platform SaaS-operations god-view: the whole business's money, computed IN commerce (the system of record for subscriptions + the usage ledger) so admin.hanzo.ai only renders — never re-aggregates client-side and never calls Stripe directly.
|
Package metrics is the platform SaaS-operations god-view: the whole business's money, computed IN commerce (the system of record for subscriptions + the usage ledger) so admin.hanzo.ai only renders — never re-aggregates client-side and never calls Stripe directly. |
|
Package plan is the SuperAdmin HTTP surface for the platform subscription/DNS plan authority (models/plan) — the editable runtime source of truth for subscription + DNS pricing that admin.hanzo.ai governs.
|
Package plan is the SuperAdmin HTTP surface for the platform subscription/DNS plan authority (models/plan) — the editable runtime source of truth for subscription + DNS pricing that admin.hanzo.ai governs. |
|
Package producttaxonomy is the HTTP surface for the product-builder taxonomy: options (+values), categories (hierarchical), tags, types, and the return/refund reason lookups.
|
Package producttaxonomy is the HTTP surface for the product-builder taxonomy: options (+values), categories (hierarchical), tags, types, and the return/refund reason lookups. |
|
Package promo is the platform PLAN promo — the admin-controlled "50% off for a limited time" offer, composed on the existing Promotion model (NOT a parallel model) so the discount that a customer sees on GET /v1/billing/plans is SuperAdmin-configured, never hardcoded in the catalog.
|
Package promo is the platform PLAN promo — the admin-controlled "50% off for a limited time" offer, composed on the existing Promotion model (NOT a parallel model) so the discount that a customer sees on GET /v1/billing/plans is SuperAdmin-configured, never hardcoded in the catalog. |
Click to show internal directories.
Click to hide internal directories.