Package google.registry.model.billing
Class BillingBase
java.lang.Object
google.registry.model.ImmutableObject
google.registry.model.billing.BillingBase
- All Implemented Interfaces:
Buildable
,TransferData.TransferServerApproveEntity
,UnsafeSerializable
,Serializable
,Cloneable
- Direct Known Subclasses:
BillingCancellation
,BillingEvent
,BillingRecurrence
@MappedSuperclass
public abstract class BillingBase
extends ImmutableObject
implements Buildable, TransferData.TransferServerApproveEntity, UnsafeSerializable
A billable event in a domain's lifecycle.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
BillingBase.Builder<T extends BillingBase,
B extends BillingBase.Builder<?, ?>> An abstract builder forBillingBase
.static enum
Set of flags that can be applied to billing events.static enum
The reason for the bill, which maps 1:1 to skus in go/registry-billing-skus.static enum
Sets of renewal price behaviors that can be applied to billing recurrences.Nested classes/interfaces inherited from class google.registry.model.ImmutableObject
ImmutableObject.DoNotHydrate, ImmutableObject.IgnoredInDiffableMap, ImmutableObject.Insignificant
Nested classes/interfaces inherited from interface google.registry.model.Buildable
Buildable.GenericBuilder<S,
B extends Buildable.GenericBuilder<?, ?>>, Buildable.Overlayable<T> -
Field Summary
Fields inherited from class google.registry.model.ImmutableObject
hashCode
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract BillingBase.Builder
<?, ?> Override Buildable.asBuilder() to give this method stronger typing.abstract VKey
<? extends BillingBase> long
org.joda.time.DateTime
com.google.common.collect.ImmutableSet
<BillingBase.Flag> getFlags()
long
getId()
Methods inherited from class google.registry.model.ImmutableObject
clone, cloneEmptyToNull, equals, getSignificantFields, hashCode, toDiffableFieldMap, toHydratedString, toString, toStringHelper
-
Constructor Details
-
BillingBase
public BillingBase()
-
-
Method Details
-
getRegistrarId
-
getDomainHistoryRevisionId
public long getDomainHistoryRevisionId() -
getDomainRepoId
-
getEventTime
public org.joda.time.DateTime getEventTime() -
getId
public long getId() -
getReason
-
getTargetId
-
getHistoryEntryId
-
getFlags
-
createVKey
- Specified by:
createVKey
in interfaceTransferData.TransferServerApproveEntity
- Overrides:
createVKey
in classImmutableObject
-
asBuilder
Override Buildable.asBuilder() to give this method stronger typing.
-