Refactor / rename Billing object classes (#1993)

This includes renaming the billing classes to match the SQL table names,
as well as splitting them out into their own separate top-level classes.
The rest of the changes are mostly renaming variables and comments etc.

We now use `BillingBase` as the name of the common billing superclass,
because one-time events are called BillingEvents
This commit is contained in:
gbrodman 2023-04-28 14:27:37 -04:00 committed by GitHub
parent 16758879f0
commit a341058282
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
97 changed files with 2086 additions and 1946 deletions

View file

@ -41,9 +41,9 @@
flags text[],
reason text not null,
domain_name text not null,
billing_time timestamptz,
billing_event_id int8,
billing_recurrence_id int8,
billing_time timestamptz,
primary key (billing_cancellation_id)
);