Package google.registry.model.billing
Class BillingEvent
java.lang.Object
google.registry.model.ImmutableObject
google.registry.model.billing.BillingBase
google.registry.model.billing.BillingEvent
- All Implemented Interfaces:
Buildable
,TransferData.TransferServerApproveEntity
,UnsafeSerializable
,Serializable
,Cloneable
A one-time billable event.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class google.registry.model.billing.BillingBase
BillingBase.Flag, BillingBase.Reason, BillingBase.RenewalPriceBehavior
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 TypeMethodDescriptionOverride Buildable.asBuilder() to give this method stronger typing.static VKey
<BillingEvent> createVKey
(long id) org.joda.time.DateTime
org.joda.money.Money
getCost()
org.joda.time.DateTime
Methods inherited from class google.registry.model.billing.BillingBase
getDomainHistoryRevisionId, getDomainRepoId, getEventTime, getFlags, getHistoryEntryId, getId, getReason, getRegistrarId, getTargetId
Methods inherited from class google.registry.model.ImmutableObject
clone, cloneEmptyToNull, equals, getSignificantFields, hashCode, toDiffableFieldMap, toHydratedString, toString, toStringHelper
-
Constructor Details
-
BillingEvent
public BillingEvent()
-
-
Method Details
-
getCost
public org.joda.money.Money getCost() -
getBillingTime
public org.joda.time.DateTime getBillingTime() -
getPeriodYears
-
getSyntheticCreationTime
public org.joda.time.DateTime getSyntheticCreationTime() -
getCancellationMatchingBillingEvent
-
getRecurrenceHistoryRevisionId
-
getAllocationToken
-
createVKey
- Specified by:
createVKey
in interfaceTransferData.TransferServerApproveEntity
- Specified by:
createVKey
in classBillingBase
-
createVKey
-
asBuilder
Description copied from class:BillingBase
Override Buildable.asBuilder() to give this method stronger typing.- Specified by:
asBuilder
in interfaceBuildable
- Specified by:
asBuilder
in classBillingBase
-