mirror of
https://github.com/google/nomulus
synced 2026-01-08 07:11:44 +00:00
Add clientId and time parameters to pricing methods
This is a broken-out refactoring from [] ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=121603352
This commit is contained in:
@@ -110,8 +110,9 @@ public class DomainRenewFlow extends OwnedResourceMutateFlow<DomainResource, Ren
|
||||
throw new IncorrectCurrentExpirationDateException();
|
||||
}
|
||||
renewCost = Registry.get(existingResource.getTld())
|
||||
.getDomainRenewCost(targetId, command.getPeriod().getValue(), now);
|
||||
validateFeeChallenge(targetId, existingResource.getTld(), feeRenew, renewCost);
|
||||
.getDomainRenewCost(targetId, now, getClientId(), command.getPeriod().getValue());
|
||||
validateFeeChallenge(
|
||||
targetId, existingResource.getTld(), now, getClientId(), feeRenew, renewCost);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user