Skip to content
Paykit
Esc
↑↓navigate↵open⌘Jpreview
On this page

planVersionOf

The generation of a plan's terms the catalog currently sells, or null when the catalog has no such plan.

Source: packages/paykit/src/Catalog.ts Kind: Primitive

The generation of a plan’s terms the catalog currently sells, or null when the catalog has no such plan. A standing keeps the generation it was sold at, so this is the version the next move buys, not the one already in force (ADR 0047).

Reading the generation a move would buy

planVersionOf(catalog, "pro"); // 2

Was this page helpful?