Add a SYNTHETIC flag for BillingEvent

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=119559193
This commit is contained in:
ctingue 2016-04-11 12:39:39 -07:00 committed by Justine Tunney
parent 755fce9e52
commit e01edf261d
2 changed files with 7 additions and 1 deletions

View file

@ -70,7 +70,12 @@ public abstract class BillingEvent extends ImmutableObject
ANCHOR_TENANT,
AUTO_RENEW,
LANDRUSH,
SUNRISE
SUNRISE,
/**
* This flag will be added to any {@link OneTime} events that are created via, e.g., an
* automated process to expand {@link Recurring} events.
*/
SYNTHETIC
}
/** Entity id. */

View file

@ -26,6 +26,7 @@ enum com.google.domain.registry.model.billing.BillingEvent$Flag {
AUTO_RENEW;
LANDRUSH;
SUNRISE;
SYNTHETIC;
}
class com.google.domain.registry.model.billing.BillingEvent$Modification {
@Id long id;