| Package | Description |
|---|---|
| org.coodex.billing | |
| org.coodex.billing.box | |
| org.coodex.billing.timebased | |
| org.coodex.billing.timebased.reference.box |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Adjustment<C extends Chargeable>
费用调整
|
| Modifier and Type | Method and Description |
|---|---|
Revision |
Bill.Detail.usedRevision() |
Revision |
Bill.AdjustDetail.usedRevision() |
| Modifier and Type | Method and Description |
|---|---|
List<Revision> |
Chargeable.getRevisions() |
Set<Revision> |
Bill.getUsedRevisions() |
| Constructor and Description |
|---|
AdjustDetail(long amount,
String item,
Revision revision) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractOffAdjustment<C extends Chargeable> |
class |
AmountAdjustment
固定金额的调减
|
class |
ConsumerGoods
消费品
|
class |
PositiveOffAdjustment<C extends Chargeable>
所有正数明细都有off
|
class |
ZeroRemainderAdjustment
抹零
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
RevisionToDetail<T extends Revision>
根据抵扣创建明细
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
FragmentRevision
切分后调整
|
interface |
TimeBasedRevision
基于时间的调整,可以是有状态的
|
interface |
WholeTimeRevision
切分前调整
|
| Modifier and Type | Method and Description |
|---|---|
Revision |
AbstractTimeBasedCalculator.TimeBasedDetailImpl.usedRevision() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract C |
AbstractTimeBasedCalculator.copyChargeable(C chargeable,
List<Revision> revisions)
!!! 自行实现,默认实现不靠谱
|
| Constructor and Description |
|---|
TimeBasedDetailImpl(Period period,
long amount,
Revision revision,
String item) |
| Modifier and Type | Class and Description |
|---|---|
class |
DurationRevision
整体时长调减
|
class |
TimeBasedOffAdjustment<C extends TimeBasedChargeable>
所有时序对象调整
|
Copyright © 2020. All rights reserved.