Protected ReadonlycacheProtected ReadonlydbProtected ReadonlygirasolStaticinstanceThe process service: the shared database, Valkey, Girasol, the quote engine and the internal bus.
Activates a delivered physical card with the CVV printed on it and a new PIN. Neither value is stored, logged or put in an error.
Get card by ID for the customer.
The ID of the card. Example: card_1234567890.
ProtectedgetThe customer's active Girasol card account.
Clear each customer's membership tag and each record tag wherever cached,
and always this namespace's collection tag. keys are exact deletes in this
instance's key space: the only bust a null client honours.
Returns a physical card's last four digits, storing them from Girasol when the row has none. Activation needs them, and create may not have had them.
Reads the card's PAN, CVV, printed name and expiry from Girasol. The result is never cached, logged or stored.
Search cards for the customer. Reads only the database.
Defaults to 1.
OptionalorderBy?: GirasolCardOrderByOptionalpage?: numberDefaults to 1
OptionalpageSize?: numberDefaults to 10
ProtectedsearchTags for a page: the scope its query searched (each customer's membership
tag, else the collection tag), so an empty page is bustable too, plus the
records it projects and the fields that chose or ordered its rows.
Protected StaticgetThe search arguments get reads through. Every default is spelled out,
so the same object is also search's cache key for that entry.
Customer card writes. Each write to Girasol stores the status Girasol answers, then busts the cache this class reads through.