mirror of
https://github.com/google/nomulus
synced 2026-01-10 07:57:58 +00:00
Delete all Braintree code
We never launched this, don't planning on launching it now anyway, and it's rotted over the past two years anyway. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=202993577
This commit is contained in:
@@ -29,7 +29,6 @@ import com.google.common.collect.ImmutableList;
|
||||
import com.google.common.collect.ImmutableSet;
|
||||
import com.google.common.collect.Sets;
|
||||
import google.registry.model.registrar.Registrar;
|
||||
import google.registry.model.registrar.Registrar.BillingMethod;
|
||||
import google.registry.model.registrar.RegistrarAddress;
|
||||
import google.registry.model.registry.Registry;
|
||||
import google.registry.tools.params.KeyValueMapParameter.CurrencyUnitToStringMap;
|
||||
@@ -187,12 +186,6 @@ abstract class CreateOrUpdateRegistrarCommand extends MutatingCommand {
|
||||
)
|
||||
private Map<CurrencyUnit, String> billingAccountMap;
|
||||
|
||||
@Nullable
|
||||
@Parameter(
|
||||
names = "--billing_method",
|
||||
description = "Method by which registry bills this registrar customer")
|
||||
private BillingMethod billingMethod;
|
||||
|
||||
@Nullable
|
||||
@Parameter(
|
||||
names = "--street",
|
||||
@@ -367,7 +360,6 @@ abstract class CreateOrUpdateRegistrarCommand extends MutatingCommand {
|
||||
newBillingAccountMap.putAll(billingAccountMap);
|
||||
builder.setBillingAccountMap(newBillingAccountMap);
|
||||
}
|
||||
Optional.ofNullable(billingMethod).ifPresent(builder::setBillingMethod);
|
||||
List<Object> streetAddressFields = Arrays.asList(street, city, state, zip, countryCode);
|
||||
checkArgument(
|
||||
streetAddressFields.stream().anyMatch(isNull())
|
||||
|
||||
Reference in New Issue
Block a user