Package google.registry.model.billing
Class BillingBase.Builder<T extends BillingBase,B extends BillingBase.Builder<?,?>>
java.lang.Object
google.registry.model.Buildable.Builder<T>
google.registry.model.Buildable.GenericBuilder<T,B>
google.registry.model.billing.BillingBase.Builder<T,B>
- Direct Known Subclasses:
BillingCancellation.Builder
,BillingEvent.Builder
,BillingRecurrence.Builder
- Enclosing class:
BillingBase
public abstract static class BillingBase.Builder<T extends BillingBase,B extends BillingBase.Builder<?,?>>
extends Buildable.GenericBuilder<T,B>
An abstract builder for
BillingBase
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build the instance.setDomainHistory
(DomainHistory domainHistory) setDomainHistoryId
(HistoryEntry.HistoryEntryId domainHistoryId) setEventTime
(org.joda.time.DateTime eventTime) setFlags
(com.google.common.collect.ImmutableSet<BillingBase.Flag> flags) setId
(long id) setReason
(BillingBase.Reason reason) setRegistrarId
(String registrarId) setTargetId
(String targetId) Methods inherited from class google.registry.model.Buildable.GenericBuilder
thisCastToDerived
Methods inherited from class google.registry.model.Buildable.Builder
getInstance
-
Constructor Details
-
Builder
protected Builder() -
Builder
-
-
Method Details
-
setReason
-
setId
-
setRegistrarId
-
setEventTime
-
setTargetId
-
setFlags
-
setDomainHistoryId
-
setDomainHistory
-
build
Description copied from class:Buildable.Builder
Build the instance.- Overrides:
build
in classBuildable.Builder<T extends BillingBase>
-