mirror of
https://github.com/google/nomulus
synced 2026-01-10 07:57:58 +00:00
Add additional return values to PricingEngine interface
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123658519
This commit is contained in:
@@ -106,8 +106,7 @@ public class DomainAllocateFlow extends DomainCreateOrAllocateFlow {
|
||||
.setClientId(getClientId())
|
||||
// Note that the cost is calculated as of now, i.e. the event time, not the billing time,
|
||||
// which may be some additional days into the future.
|
||||
.setCost(
|
||||
getDomainCreateCost(targetId, now, getClientId(), command.getPeriod().getValue()))
|
||||
.setCost(getDomainCreateCost(targetId, now, command.getPeriod().getValue()))
|
||||
.setPeriodYears(command.getPeriod().getValue())
|
||||
.setEventTime(now)
|
||||
// If there are no nameservers on the domain, then they get the benefit of the sunrush
|
||||
|
||||
Reference in New Issue
Block a user