Package google.registry.flows.domain
Class FeesAndCredits.Builder
java.lang.Object
google.registry.model.Buildable.Builder<FeesAndCredits>
google.registry.flows.domain.FeesAndCredits.Builder
- Enclosing class:
FeesAndCredits
A builder for constructing
FeesAndCredits
objects, since they are immutable.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddFeeOrCredit
(BaseFee feeOrCredit) build()
Build the instance.setCurrency
(org.joda.money.CurrencyUnit currency) setFeeExtensionRequired
(boolean feeExtensionRequired) setFeesAndCredits
(com.google.common.collect.ImmutableList<BaseFee> feesAndCredits) setFeesAndCredits
(BaseFee... feesAndCredits) Methods inherited from class google.registry.model.Buildable.Builder
getInstance
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
addFeeOrCredit
-
setFeesAndCredits
public FeesAndCredits.Builder setFeesAndCredits(com.google.common.collect.ImmutableList<BaseFee> feesAndCredits) -
setFeesAndCredits
-
setCurrency
-
setFeeExtensionRequired
-
build
Description copied from class:Buildable.Builder
Build the instance.- Overrides:
build
in classBuildable.Builder<FeesAndCredits>
-