Package google.registry.flows.custom
Class DomainPricingCustomLogic
java.lang.Object
google.registry.flows.custom.BaseFlowCustomLogic
google.registry.flows.custom.DomainPricingCustomLogic
A no-op base class to customize
DomainPricingLogic
.
Extend this class and override the hook(s) to perform custom logic.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final record
A record to encapsulate parameters for a call tocustomizeCreatePrice(google.registry.flows.custom.DomainPricingCustomLogic.CreatePriceParameters)
.static final record
A record to encapsulate parameters for a call tocustomizeRenewPrice(google.registry.flows.custom.DomainPricingCustomLogic.RenewPriceParameters)
.static final record
A record to encapsulate parameters for a call tocustomizeRestorePrice(google.registry.flows.custom.DomainPricingCustomLogic.RestorePriceParameters)
.static final record
A record to encapsulate parameters for a call tocustomizeTransferPrice(google.registry.flows.custom.DomainPricingCustomLogic.TransferPriceParameters)
.static final record
A record to encapsulate parameters for a call tocustomizeUpdatePrice(google.registry.flows.custom.DomainPricingCustomLogic.UpdatePriceParameters)
. -
Constructor Summary
ConstructorDescriptionDomainPricingCustomLogic
(EppInput eppInput, SessionMetadata sessionMetadata, FlowMetadata flowMetadata) -
Method Summary
Modifier and TypeMethodDescriptioncustomizeCreatePrice
(DomainPricingCustomLogic.CreatePriceParameters priceParameters) A hook that customizes the create price.customizeRenewPrice
(DomainPricingCustomLogic.RenewPriceParameters priceParameters) A hook that customizes the renew price.customizeRestorePrice
(DomainPricingCustomLogic.RestorePriceParameters priceParameters) A hook that customizes the restore price.customizeTransferPrice
(DomainPricingCustomLogic.TransferPriceParameters priceParameters) A hook that customizes the transfer price.customizeUpdatePrice
(DomainPricingCustomLogic.UpdatePriceParameters priceParameters) A hook that customizes the update price.Methods inherited from class google.registry.flows.custom.BaseFlowCustomLogic
getEppInput, getFlowMetadata, getSessionMetadata
-
Constructor Details
-
DomainPricingCustomLogic
public DomainPricingCustomLogic(@Nullable EppInput eppInput, @Nullable SessionMetadata sessionMetadata, @Nullable FlowMetadata flowMetadata)
-
-
Method Details
-
customizeCreatePrice
public FeesAndCredits customizeCreatePrice(DomainPricingCustomLogic.CreatePriceParameters priceParameters) throws EppException A hook that customizes the create price.- Throws:
EppException
-
customizeRenewPrice
public FeesAndCredits customizeRenewPrice(DomainPricingCustomLogic.RenewPriceParameters priceParameters) A hook that customizes the renew price. -
customizeRestorePrice
public FeesAndCredits customizeRestorePrice(DomainPricingCustomLogic.RestorePriceParameters priceParameters) throws EppException A hook that customizes the restore price.- Throws:
EppException
-
customizeTransferPrice
public FeesAndCredits customizeTransferPrice(DomainPricingCustomLogic.TransferPriceParameters priceParameters) throws EppException A hook that customizes the transfer price.- Throws:
EppException
-
customizeUpdatePrice
public FeesAndCredits customizeUpdatePrice(DomainPricingCustomLogic.UpdatePriceParameters priceParameters) throws EppException A hook that customizes the update price.- Throws:
EppException
-