models/

directory
v1.786.216 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2026 License: Apache-2.0, MIT

Directories

Path Synopsis
Package approval is the B2B spend-approval domain: before a company's (models/company) cart converts to an order, it can require sign-off from an admin or sales manager.
Package approval is the B2B spend-approval domain: before a company's (models/company) cart converts to an order, it can require sign-off from an admin or sales manager.
Package catalogentry is the CMS source-of-truth for the platform product catalog — the single list docs.<brand>, the console sidebar, and pricing all derive from.
Package catalogentry is the CMS source-of-truth for the platform product catalog — the single list docs.<brand>, the console sidebar, and pricing all derive from.
Package company is the B2B company domain: a customer organization that buys through the store.
Package company is the B2B company domain: a customer organization that buys through the store.
deprecated
Package employee is the B2B buyer domain: a person who purchases on behalf of a company (models/company).
Package employee is the B2B buyer domain: a person who purchases on behalf of a company (models/company).
Package exchange is the order-exchange domain (Medusa v2 core parity): an exchange pairs a return of inbound items on an order with outbound replacement items.
Package exchange is the order-exchange domain (Medusa v2 core parity): an exchange pairs a return of inbound items on an order with outbound replacement items.
Package giftcard is the gift-card domain: a prepaid, code-addressable balance an org issues and a customer redeems against orders.
Package giftcard is the gift-card domain: a prepaid, code-addressable balance an org issues and a customer redeems against orders.
Package giftcardredemption is the append-only debit ledger for gift cards.
Package giftcardredemption is the append-only debit ledger for gift cards.
Package husdcursor persists the HUSD indexer's scan position: the last block fully projected into the ledger, per chain.
Package husdcursor persists the HUSD indexer's scan position: the last block fully projected into the ledger, per chain.
Package husdissuance is the durable, idempotent record of ONE treasury HUSD mint in the chain-backed credit ledger.
Package husdissuance is the durable, idempotent record of ONE treasury HUSD mint in the chain-backed credit ledger.
Package husdsettlement is the audit record of ONE org→treasury HUSD settlement: the on-chain sweep that reconciles an org's on-chain balance back down to its off-chain ledger balance after metered usage (and reclaimed/expired grants) drew it down.
Package husdsettlement is the audit record of ONE org→treasury HUSD settlement: the on-chain sweep that reconciles an org's on-chain balance back down to its off-chain ledger balance after metered usage (and reclaimed/expired grants) drew it down.
Package idempotencykey is a reusable idempotency guard for money-moving HTTP requests (refunds, captures, payouts).
Package idempotencykey is a reusable idempotency guard for money-moving HTTP requests (refunds, captures, payouts).
Package order provides the Order model with support for the new db.DB interface.
Package order provides the Order model with support for the new db.DB interface.
Package ossaccrual is the payout-accrual ledger for the SBOM-driven OSS developer payout system.
Package ossaccrual is the payout-accrual ledger for the SBOM-driven OSS developer payout system.
Package product provides model initialization and query helpers for the v2 Product model.
Package product provides model initialization and query helpers for the v2 Product model.
Package productcategory is the hierarchical product category tree (Medusa v2 parity: product-category).
Package productcategory is the hierarchical product category tree (Medusa v2 parity: product-category).
Package productoption is a product's option axis (e.g.
Package productoption is a product's option axis (e.g.
Package productoptionvalue is one value of a product option (e.g.
Package productoptionvalue is one value of a product option (e.g.
Package producttag is a free-form product tag (Medusa v2 parity: product-tag).
Package producttag is a free-form product tag (Medusa v2 parity: product-tag).
Package producttype is a product type classification (Medusa v2 parity: product-type).
Package producttype is a product type classification (Medusa v2 parity: product-type).
Package quote is the B2B request-for-quote domain: a company (models/company) negotiates the price of a draft order with the merchant.
Package quote is the B2B request-for-quote domain: a company (models/company) negotiates the price of a draft order with the merchant.
Package refundreason is the refund-reason lookup (Medusa v2 parity: refund-reason) — the categorized reason a payment was refunded.
Package refundreason is the refund-reason lookup (Medusa v2 parity: refund-reason) — the categorized reason a payment was refunded.
Package returnreason is the return-reason lookup (Medusa v2 parity: return-reason) — the categorized reason a customer returns an item.
Package returnreason is the return-reason lookup (Medusa v2 parity: return-reason) — the categorized reason a customer returns an item.
Package sbomrecord stores the Software Bill of Materials emitted for a deployed image.
Package sbomrecord stores the Software Bill of Materials emitted for a deployed image.
types
v2
Package user provides the User model using the new db.DB interface.
Package user provides the User model using the new db.DB interface.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL