Domain values as wire shapes.
One namespace decides what leaves the process. Everything here is a projection: keys are renamed and amounts are rendered for display, and anything the customer has no business seeing simply has no clause.
Domain values as wire shapes. One namespace decides what leaves the process. Everything here is a projection: keys are renamed and amounts are rendered for display, and anything the customer has no business seeing simply has no clause.
(fulfilment {:fulfilment/keys [invoice-id customer-id item-id period-end
granted-at]})(handle {:handle/keys [provider external-ref pay-to redirect-url amount]})The instructions for paying. :pay-to is an address, :redirect-url a
hosted page; a rail supplies whichever it has.
The instructions for paying. `:pay-to` is an address, `:redirect-url` a hosted page; a rail supplies whichever it has.
(invoice-summary {:invoice/keys [id customer-id item-id provider status amount
currency expires-at]})(invoice-view inv paid)What the customer paying inv may see, including how much is still owed.
What the customer paying `inv` may see, including how much is still owed.
(payment {:payment/keys [id invoice-id provider amount reference resolution
confirmations seen-at]})(quoted {:quote/keys [amount rate sources expires-at]})A quote as an estimate for display. The invoice mints and stores its own.
A quote as an estimate for display. The invoice mints and stores its own.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |