Whitelist credit creations commands for gTech

See bug for context.  This way gTech can create credits in the future
without our intervention.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=120382506
This commit is contained in:
nickfelt 2016-04-20 15:26:08 -07:00 committed by Justine Tunney
parent 9c8e23ea57
commit 3a3f112454
4 changed files with 6 additions and 4 deletions

View file

@ -21,6 +21,7 @@ import com.google.domain.registry.model.billing.RegistrarCredit;
import com.google.domain.registry.model.billing.RegistrarCredit.CreditType;
import com.google.domain.registry.model.billing.RegistrarCreditBalance;
import com.google.domain.registry.model.registrar.Registrar;
import com.google.domain.registry.tools.Command.GtechCommand;
import com.beust.jcommander.Parameter;
import com.beust.jcommander.Parameters;
@ -32,7 +33,7 @@ import javax.annotation.Nullable;
/** Command for creating a registrar credit object with an initial balance. */
@Parameters(separators = " =", commandDescription = "Create a new registrar credit")
final class CreateCreditCommand extends MutatingCommand {
final class CreateCreditCommand extends MutatingCommand implements GtechCommand {
@Parameter(
names = "--registrar",