Set EAP billing event to one-year period

This is consistent with how we treat RESTORE billing events as well- in
general, fees are considered to be amortized over the course of a year (by the
invoicing team).

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=199684843
This commit is contained in:
larryruili 2018-06-07 13:19:48 -07:00 committed by Ben McIlwain
parent ea08661598
commit 1c71487e5d
4 changed files with 5 additions and 1 deletions

View file

@ -525,6 +525,7 @@ public class DomainCreateFlow implements TransactionalFlow {
.setReason(Reason.FEE_EARLY_ACCESS)
.setTargetId(createBillingEvent.getTargetId())
.setClientId(createBillingEvent.getClientId())
.setPeriodYears(1)
.setCost(feesAndCredits.getEapCost())
.setEventTime(createBillingEvent.getEventTime())
.setBillingTime(createBillingEvent.getBillingTime())