Package google.registry.tools.javascrap
Class RecreateBillingRecurrencesCommand
java.lang.Object
google.registry.tools.ConfirmingCommand
google.registry.tools.javascrap.RecreateBillingRecurrencesCommand
- All Implemented Interfaces:
Command
Command to recreate closed
BillingRecurrence
s for domains.
This can be used to fix situations where BillingRecurrences were inadvertently closed. The new recurrences will start at the recurrenceTimeOfYear that has most recently occurred in the past, so that billing will restart upon the next date that the domain would have normally been billed for autorenew.
-
Field Summary
Fields inherited from class google.registry.tools.ConfirmingCommand
errorPrintStream, printStream
-
Constructor Summary
-
Method Summary
Methods inherited from class google.registry.tools.ConfirmingCommand
checkExecutionState, dontRunCommand, init, postExecute, run
-
Constructor Details
-
RecreateBillingRecurrencesCommand
public RecreateBillingRecurrencesCommand()
-
-
Method Details
-
prompt
Description copied from class:ConfirmingCommand
Returns the optional extra confirmation prompt for the command.- Overrides:
prompt
in classConfirmingCommand
- Throws:
Exception
-
execute
Description copied from class:ConfirmingCommand
Perform the command and return a result description.- Specified by:
execute
in classConfirmingCommand
- Throws:
Exception
-