Package google.registry.model.billing
Class BillingRecurrence.Builder
java.lang.Object
google.registry.model.Buildable.Builder<BillingRecurrence>
google.registry.model.Buildable.GenericBuilder<BillingRecurrence,BillingRecurrence.Builder>
google.registry.model.billing.BillingBase.Builder<BillingRecurrence,BillingRecurrence.Builder>
google.registry.model.billing.BillingRecurrence.Builder
- Enclosing class:
BillingRecurrence
public static class BillingRecurrence.Builder
extends BillingBase.Builder<BillingRecurrence,BillingRecurrence.Builder>
A builder for
BillingRecurrence
since it is immutable.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build the instance.setRecurrenceEndTime
(org.joda.time.DateTime recurrenceEndTime) setRecurrenceLastExpansion
(org.joda.time.DateTime recurrenceLastExpansion) setRenewalPrice
(org.joda.money.Money renewalPrice) setRenewalPriceBehavior
(BillingBase.RenewalPriceBehavior renewalPriceBehavior) Methods inherited from class google.registry.model.billing.BillingBase.Builder
setDomainHistory, setDomainHistoryId, setEventTime, setFlags, setId, setReason, setRegistrarId, setTargetId
Methods inherited from class google.registry.model.Buildable.GenericBuilder
thisCastToDerived
Methods inherited from class google.registry.model.Buildable.Builder
getInstance
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setRecurrenceEndTime
-
setRecurrenceLastExpansion
public BillingRecurrence.Builder setRecurrenceLastExpansion(org.joda.time.DateTime recurrenceLastExpansion) -
setRenewalPriceBehavior
public BillingRecurrence.Builder setRenewalPriceBehavior(BillingBase.RenewalPriceBehavior renewalPriceBehavior) -
setRenewalPrice
-
build
Description copied from class:Buildable.Builder
Build the instance.- Overrides:
build
in classBillingBase.Builder<BillingRecurrence,
BillingRecurrence.Builder>
-