Package google.registry.tools.javascrap
Class CreateCancellationsForOneTimesCommand
- java.lang.Object
-
- google.registry.tools.ConfirmingCommand
-
- google.registry.tools.javascrap.CreateCancellationsForOneTimesCommand
-
- All Implemented Interfaces:
Command
public class CreateCancellationsForOneTimesCommand extends ConfirmingCommand
Command to createBillingEvent.Cancellation
s for specifiedBillingEvent.OneTime
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.
-
-
Constructor Summary
Constructors Constructor Description CreateCancellationsForOneTimesCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
execute()
Perform the command and return a result description.protected void
init()
Initializes the command.protected java.lang.String
prompt()
Returns the optional extra confirmation prompt for the command.-
Methods inherited from class google.registry.tools.ConfirmingCommand
checkExecutionState, dontRunCommand, postExecute, run
-
-
-
-
Method Detail
-
init
protected void init()
Description copied from class:ConfirmingCommand
Initializes the command.- Overrides:
init
in classConfirmingCommand
-
prompt
protected java.lang.String prompt()
Description copied from class:ConfirmingCommand
Returns the optional extra confirmation prompt for the command.- Overrides:
prompt
in classConfirmingCommand
-
execute
protected java.lang.String execute() throws java.lang.Exception
Description copied from class:ConfirmingCommand
Perform the command and return a result description.- Specified by:
execute
in classConfirmingCommand
- Throws:
java.lang.Exception
-
-