mirror of
https://github.com/google/nomulus.git
synced 2025-07-21 18:26:12 +02: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:
parent
ca585dd0b5
commit
91f6c7006e
21 changed files with 191 additions and 191 deletions
|
@ -428,7 +428,6 @@ public class DatastoreHelper {
|
|||
public static BillingEvent.OneTime createBillingEventForTransfer(
|
||||
DomainResource domain,
|
||||
HistoryEntry historyEntry,
|
||||
String gainingClientId,
|
||||
DateTime costLookupTime,
|
||||
DateTime eventTime,
|
||||
Integer extendedRegistrationYears) {
|
||||
|
@ -440,11 +439,9 @@ public class DatastoreHelper {
|
|||
eventTime.plus(Registry.get(domain.getTld()).getTransferGracePeriodLength()))
|
||||
.setClientId("NewRegistrar")
|
||||
.setPeriodYears(extendedRegistrationYears)
|
||||
.setCost(getDomainRenewCost(
|
||||
domain.getFullyQualifiedDomainName(),
|
||||
costLookupTime,
|
||||
gainingClientId,
|
||||
extendedRegistrationYears))
|
||||
.setCost(
|
||||
getDomainRenewCost(
|
||||
domain.getFullyQualifiedDomainName(), costLookupTime, extendedRegistrationYears))
|
||||
.setParent(historyEntry)
|
||||
.build();
|
||||
}
|
||||
|
@ -505,7 +502,6 @@ public class DatastoreHelper {
|
|||
BillingEvent.OneTime transferBillingEvent = persistResource(createBillingEventForTransfer(
|
||||
domain,
|
||||
historyEntryDomainTransfer,
|
||||
"NewRegistrar",
|
||||
requestTime,
|
||||
expirationTime,
|
||||
extendedRegistrationYears));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue