1
0
mirror of https://github.com/google/nomulus synced 2026-01-08 07:11:44 +00:00

Add discount price to AllocationToken (#2559)

* Include discount price in domai n pricing

* Partial progress in logic

* Tests and logic passing

* Change pricing for multi year create

* Tests for discount pricing logic

* Token currency check

* Add some comments

* Java formatting

* Discount price to Optional

* Change discount price to be optional nullable

* Re-add deleted tests
This commit is contained in:
Juan Celhay
2024-09-23 16:18:33 -04:00
committed by GitHub
parent 7929322e95
commit e6a2db8075
7 changed files with 382 additions and 25 deletions

View File

@@ -21,6 +21,8 @@
creation_time timestamp(6) with time zone not null,
discount_fraction float(53) not null,
discount_premiums boolean not null,
discount_price_amount numeric(19,2),
discount_price_currency text,
discount_years integer not null,
domain_name text,
redemption_domain_repo_id text,