Class CreateCancellationsForOneTimesCommand

  • All Implemented Interfaces:
    Command

    public class CreateCancellationsForOneTimesCommand
    extends ConfirmingCommand
    Command to create BillingEvent.Cancellations for specified BillingEvent.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 Detail

      • CreateCancellationsForOneTimesCommand

        public CreateCancellationsForOneTimesCommand()
    • Method Detail

      • prompt

        protected java.lang.String prompt()
        Description copied from class: ConfirmingCommand
        Returns the optional extra confirmation prompt for the command.
        Overrides:
        prompt in class ConfirmingCommand
      • 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 class ConfirmingCommand
        Throws:
        java.lang.Exception