<!-- generated by tools/source-reference.py -->
backend/brain/billing.py
brain/billing.py — M1M2 WP-4: the €500 credit ledger + the 0,3% GMV meter (SPEC §16.4).
| Symbol | Kind | Source |
|---|---|---|
commission_cents |
FunctionDef | L55 |
period_of |
FunctionDef | L61 |
period_bounds |
FunctionDef | L69 |
_prev_period |
FunctionDef | L78 |
elapsed_periods |
FunctionDef | L83 |
order_value_snapshot |
FunctionDef | L98 |
_catalogue_prices |
AsyncFunctionDef | L134 |
snapshot_dispatch_values |
AsyncFunctionDef | L151 |
credit_balance_cents |
AsyncFunctionDef | L179 |
_resolve_tenant_for_token |
AsyncFunctionDef | L185 |
grant_setup_credit |
AsyncFunctionDef | L208 |
_eur |
FunctionDef | L239 |
_boss_scope |
AsyncFunctionDef | L243 |
_write_billing_fact |
AsyncFunctionDef | L263 |
_refresh_credit_fact |
AsyncFunctionDef | L281 |
_refresh_period_fact |
AsyncFunctionDef | L294 |
_period_gmv |
AsyncFunctionDef | L306 |
_stripe_customer_for |
AsyncFunctionDef | L327 |
_default_invoice_creator |
AsyncFunctionDef | L341 |
_default_invoice_creator._create |
FunctionDef | L356 |
_emit_meter_event |
AsyncFunctionDef | L377 |
process_run |
AsyncFunctionDef | L397 |
run_meter_once |
AsyncFunctionDef | L522 |
on_stripe_invoice_event |
AsyncFunctionDef | L572 |
billing_summary |
AsyncFunctionDef | L594 |