mirror of
https://github.com/google/nomulus
synced 2026-01-08 07:11:44 +00:00
Add signed mark parameter to Create flow afterValidation extension point
This is the follow up PR for #49. It adds an additional parameter to DomainCreateFlowCustomLogic.AfterValidationParameters: a nullable signed mark id. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=143966945
This commit is contained in:
committed by
Ben McIlwain
parent
bca2169c68
commit
2a3a17d653
@@ -42,6 +42,7 @@ import static google.registry.model.registry.label.ReservedList.matchesAnchorTen
|
||||
import static google.registry.util.DateTimeUtils.END_OF_TIME;
|
||||
import static google.registry.util.DateTimeUtils.leapSafeAddYears;
|
||||
|
||||
import com.google.common.base.Optional;
|
||||
import com.google.common.collect.ImmutableList;
|
||||
import com.google.common.collect.ImmutableSet;
|
||||
import com.google.common.collect.Sets;
|
||||
@@ -230,6 +231,7 @@ public class DomainCreateFlow implements TransactionalFlow {
|
||||
DomainCreateFlowCustomLogic.AfterValidationParameters.newBuilder()
|
||||
.setDomainName(domainName)
|
||||
.setYears(years)
|
||||
.setSignedMarkId(Optional.fromNullable(signedMarkId))
|
||||
.build());
|
||||
FeeCreateCommandExtension feeCreate =
|
||||
eppInput.getSingleExtension(FeeCreateCommandExtension.class);
|
||||
|
||||
Reference in New Issue
Block a user