mirror of
https://github.com/google/nomulus.git
synced 2025-05-12 22:38:16 +02:00
Add basic AllocationToken entity and tests
Logic actually using this entity to follow in subsequent CLs introducing the command to generate/save these entities as well as the flow logic for considering them during domain EPP operations. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=181342600
This commit is contained in:
parent
d2d7fdeb90
commit
f6f43badd4
6 changed files with 130 additions and 0 deletions
|
@ -23,6 +23,7 @@ import google.registry.model.common.Cursor;
|
|||
import google.registry.model.common.EntityGroupRoot;
|
||||
import google.registry.model.common.GaeUserIdConverter;
|
||||
import google.registry.model.contact.ContactResource;
|
||||
import google.registry.model.domain.AllocationToken;
|
||||
import google.registry.model.domain.DomainApplication;
|
||||
import google.registry.model.domain.DomainBase;
|
||||
import google.registry.model.domain.DomainResource;
|
||||
|
@ -62,6 +63,7 @@ public final class EntityClasses {
|
|||
@SuppressWarnings("unchecked") // varargs
|
||||
public static final ImmutableSet<Class<? extends ImmutableObject>> ALL_CLASSES =
|
||||
ImmutableSet.of(
|
||||
AllocationToken.class,
|
||||
BillingEvent.Cancellation.class,
|
||||
BillingEvent.Modification.class,
|
||||
BillingEvent.OneTime.class,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue