Package google.registry.tools.javascrap
Class CreateCancellationsForBillingEventsCommand
java.lang.Object
google.registry.tools.ConfirmingCommand
google.registry.tools.javascrap.CreateCancellationsForBillingEventsCommand
- All Implemented Interfaces:
Command
Command to create
BillingCancellation
s for specified BillingEvent
billing events.
This can be used to fix situations where we've inadvertently billed registrars. It's generally easier and better to issue cancellations within the Nomulus system than to attempt to issue refunds after the fact.
-
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, postExecute, run
-
Constructor Details
-
CreateCancellationsForBillingEventsCommand
public CreateCancellationsForBillingEventsCommand()
-
-
Method Details
-
init
protected void init()Description copied from class:ConfirmingCommand
Initializes the command.- Overrides:
init
in classConfirmingCommand
-
prompt
Description copied from class:ConfirmingCommand
Returns the optional extra confirmation prompt for the command.- Overrides:
prompt
in classConfirmingCommand
-
execute
Description copied from class:ConfirmingCommand
Perform the command and return a result description.- Specified by:
execute
in classConfirmingCommand
- Throws:
Exception
-