Struct PlotTaxCharge
One bill to charge an owner nobody is hosting, as the sweep read and priced it.
public struct PlotTaxCharge
- Inherited Members
Remarks
Carries the due date the sweep read because that date is the pin: the charge only lands on a plot that still holds it, so a bill another server has charged since the read is left alone rather than charged twice.
A bill may cover several periods — every one that has fallen due (the Unity side's
PlotTaxBilling) — so its amount and the date it moves the plot to are the sweep's,
per charge, and the charge is all or nothing: the owner pays Amount or is
marked unpaid.
Constructors
PlotTaxCharge(long, long, DateTime, DateTime, long)
public PlotTaxCharge(long plotID, long ownerCharacterID, DateTime dueUtc, DateTime nextDueUtc, long amount)
Parameters
Fields
Amount
What the bill charges, for every period it covers. Must be greater than zero.
public readonly long Amount
Field Value
DueUtc
The due date the sweep read. The charge is pinned to it.
public readonly DateTime DueUtc
Field Value
NextDueUtc
When the first period after this bill falls due. Must be later than DueUtc.
public readonly DateTime NextDueUtc
Field Value
OwnerCharacterID
The owning character the sweep read. The charge is pinned to it.
public readonly long OwnerCharacterID
Field Value
PlotID
The plot being billed.
public readonly long PlotID