Class BulkPricingPackage.Builder
java.lang.Object
google.registry.model.Buildable.Builder<BulkPricingPackage>
google.registry.model.domain.token.BulkPricingPackage.Builder
- Enclosing class:
BulkPricingPackage
A builder for constructing
BulkPricingPackage
objects, since they are immutable.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build the instance.setBulkPrice
(org.joda.money.Money bulkPrice) setLastNotificationSent
(org.joda.time.DateTime lastNotificationSent) setMaxCreates
(int maxCreates) setMaxDomains
(int maxDomains) setNextBillingDate
(org.joda.time.DateTime nextBillingDate) setToken
(AllocationToken token) Methods inherited from class google.registry.model.Buildable.Builder
getInstance
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Description copied from class:Buildable.Builder
Build the instance.- Overrides:
build
in classBuildable.Builder<BulkPricingPackage>
-
setToken
-
setMaxDomains
-
setMaxCreates
-
setBulkPrice
-
setNextBillingDate
-
setLastNotificationSent
public BulkPricingPackage.Builder setLastNotificationSent(@Nullable org.joda.time.DateTime lastNotificationSent)
-