Skip navigation links
A B C D F G I M O P R S T U W Z 

A

AbstractAlgorithm<C extends TimeBasedChargeable> - Class in org.coodex.billing.timebased.reference
 
AbstractAlgorithm() - Constructor for class org.coodex.billing.timebased.reference.AbstractAlgorithm
 
AbstractBillingModel<C extends TimeBasedChargeable> - Class in org.coodex.billing.timebased.reference
 
AbstractBillingModel() - Constructor for class org.coodex.billing.timebased.reference.AbstractBillingModel
 
AbstractModelInstance<C extends TimeBasedChargeable> - Class in org.coodex.billing.timebased.reference
 
AbstractModelInstance(ModelProfile) - Constructor for class org.coodex.billing.timebased.reference.AbstractModelInstance
 
AbstractOffAdjustment<C extends Chargeable> - Class in org.coodex.billing.box
 
AbstractOffAdjustment(float, String) - Constructor for class org.coodex.billing.box.AbstractOffAdjustment
 
AbstractTimeBasedCalculator<C extends TimeBasedChargeable> - Class in org.coodex.billing.timebased
 
AbstractTimeBasedCalculator() - Constructor for class org.coodex.billing.timebased.AbstractTimeBasedCalculator
 
AbstractTimeBasedCalculator.TimeBasedDetailImpl - Class in org.coodex.billing.timebased
 
accept(List<Period>) - Method in interface org.coodex.billing.timebased.FragmentRevision
 
accept(String) - Method in class org.coodex.billing.timebased.reference.AbstractBillingModel
 
accept(FixedDateSlicerProfile) - Method in class org.coodex.billing.timebased.reference.box.FixedDateSlicerFactory
 
accept(FixedHoursSlicerProfile) - Method in class org.coodex.billing.timebased.reference.box.FixedHoursSlicerFactory
 
accept(FragmentSlicerProfile) - Method in class org.coodex.billing.timebased.reference.box.FragmentSlicerFactory
 
accept(FreeAlgorithmProfile) - Method in class org.coodex.billing.timebased.reference.box.FreeAlgorithmFactory
 
addAllDetails(List<Bill.Detail>) - Method in class org.coodex.billing.Bill
 
addDetail(Bill.Detail) - Method in class org.coodex.billing.Bill
添加一条明细
adjust(Bill<C>) - Method in interface org.coodex.billing.Adjustment
 
adjust(Bill<C>) - Method in class org.coodex.billing.box.AbstractOffAdjustment
 
adjust(Bill<Chargeable>) - Method in class org.coodex.billing.box.AmountAdjustment
 
adjust(Bill<Chargeable>) - Method in class org.coodex.billing.box.ConsumerGoods
 
adjust(Bill<Chargeable>) - Method in class org.coodex.billing.box.ZeroRemainderAdjustment
 
adjustBill(Bill<C>, List<? extends Adjustment<C>>) - Method in class org.coodex.billing.timebased.AbstractTimeBasedCalculator
TODO 使用Provider方式聚合
AdjustDetail(long, String, Revision) - Constructor for class org.coodex.billing.Bill.AdjustDetail
 
Adjustment<C extends Chargeable> - Interface in org.coodex.billing
费用调整
AlgorithmFactory<C extends TimeBasedChargeable,T extends AlgorithmProfile> - Interface in org.coodex.billing.timebased.reference
 
AlgorithmProfile - Interface in org.coodex.billing.timebased.reference
 
AmountAdjustment - Class in org.coodex.billing.box
固定金额的调减
AmountAdjustment(long, String) - Constructor for class org.coodex.billing.box.AmountAdjustment
 

B

Bill<C extends Chargeable> - Class in org.coodex.billing
结算单信息
Bill(C) - Constructor for class org.coodex.billing.Bill
 
Bill.AdjustDetail - Class in org.coodex.billing
 
Bill.Detail - Interface in org.coodex.billing
结算明细
BillCalculator - Class in org.coodex.billing
 
BillCalculator() - Constructor for class org.coodex.billing.BillCalculator
 
BillingModel<C extends TimeBasedChargeable> - Interface in org.coodex.billing.timebased
时序计费模型
BillingModel.Algorithm<C extends TimeBasedChargeable> - Interface in org.coodex.billing.timebased
 
BillingModel.Fragment<C extends TimeBasedChargeable> - Class in org.coodex.billing.timebased
 
BillingModel.Instance<C extends TimeBasedChargeable> - Interface in org.coodex.billing.timebased
计费模型的实例
BillingRule - Class in org.coodex.billing.timebased
 
BillingRule() - Constructor for class org.coodex.billing.timebased.BillingRule
 
BillingRuleRepository<T extends TimeBasedChargeable> - Interface in org.coodex.billing.timebased
 
build(FixedDateSlicerProfile) - Method in class org.coodex.billing.timebased.reference.box.FixedDateSlicerFactory
 
build(FixedHoursSlicerProfile) - Method in class org.coodex.billing.timebased.reference.box.FixedHoursSlicerFactory
 
build(FragmentSlicerProfile) - Method in class org.coodex.billing.timebased.reference.box.FragmentSlicerFactory
 
build(FreeAlgorithmProfile) - Method in class org.coodex.billing.timebased.reference.box.FreeAlgorithmFactory
 
BUILDER - Static variable in class org.coodex.billing.timebased.Period
 

C

calc(C) - Static method in class org.coodex.billing.BillCalculator
 
calc(C) - Method in interface org.coodex.billing.Calculator
 
calc(C) - Method in class org.coodex.billing.timebased.AbstractTimeBasedCalculator
 
calc(List<Period>, C) - Method in interface org.coodex.billing.timebased.BillingModel.Algorithm
 
calc(List<Period>, C) - Method in class org.coodex.billing.timebased.reference.AbstractAlgorithm
 
calc(Period, long, C) - Method in class org.coodex.billing.timebased.reference.AbstractAlgorithm
 
Calculator<C extends Chargeable> - Interface in org.coodex.billing
基于计费领域对象的账单计算器
Chargeable - Interface in org.coodex.billing
计费领域对象
cloneObject(Calendar) - Method in class org.coodex.billing.timebased.Period
 
compareTo(BillingRule) - Method in class org.coodex.billing.timebased.BillingRule
 
ConsumerGoods - Class in org.coodex.billing.box
消费品
ConsumerGoods(int, float, String) - Constructor for class org.coodex.billing.box.ConsumerGoods
 
copyChargeable(C, List<Revision>) - Method in class org.coodex.billing.timebased.AbstractTimeBasedCalculator
!!! 自行实现,默认实现不靠谱
create(C) - Method in interface org.coodex.billing.timebased.BillingModel
 
create(C) - Method in class org.coodex.billing.timebased.reference.AbstractBillingModel
 

D

duration(TimeUnit) - Method in class org.coodex.billing.timebased.Period
 
durationOf(List<Period>, TimeUnit) - Static method in class org.coodex.billing.timebased.Period
 
DurationRevision - Class in org.coodex.billing.timebased.reference.box
整体时长调减
DurationRevision(String, int) - Constructor for class org.coodex.billing.timebased.reference.box.DurationRevision
 
DurationRevision(String, int, boolean) - Constructor for class org.coodex.billing.timebased.reference.box.DurationRevision
 
DurationRevision(String, TimeUnit, int) - Constructor for class org.coodex.billing.timebased.reference.box.DurationRevision
 
DurationRevision(String, TimeUnit, int, boolean) - Constructor for class org.coodex.billing.timebased.reference.box.DurationRevision
 

F

FixedDateSlicer(FixedDateSlicerProfile) - Constructor for class org.coodex.billing.timebased.reference.box.FixedDateSlicerFactory.FixedDateSlicer
 
FixedDateSlicerFactory<C extends TimeBasedChargeable> - Class in org.coodex.billing.timebased.reference.box
按自然日切片
FixedDateSlicerFactory() - Constructor for class org.coodex.billing.timebased.reference.box.FixedDateSlicerFactory
 
FixedDateSlicerFactory.FixedDateSlicer<C extends TimeBasedChargeable> - Class in org.coodex.billing.timebased.reference.box
 
FixedDateSlicerProfile - Class in org.coodex.billing.timebased.reference.box
按自然日切片的参数
FixedDateSlicerProfile() - Constructor for class org.coodex.billing.timebased.reference.box.FixedDateSlicerProfile
 
FixedDateSlicerProfile(String) - Constructor for class org.coodex.billing.timebased.reference.box.FixedDateSlicerProfile
 
FixedHoursSlicerFactory<C extends TimeBasedChargeable> - Class in org.coodex.billing.timebased.reference.box
 
FixedHoursSlicerFactory() - Constructor for class org.coodex.billing.timebased.reference.box.FixedHoursSlicerFactory
 
FixedHoursSlicerFactory.FixedHoursSlicer<C extends TimeBasedChargeable> - Class in org.coodex.billing.timebased.reference.box
 
FixedHoursSlicerProfile - Class in org.coodex.billing.timebased.reference.box
 
FixedHoursSlicerProfile(int) - Constructor for class org.coodex.billing.timebased.reference.box.FixedHoursSlicerProfile
 
Fragment(BillingModel.Algorithm<C>, Period) - Constructor for class org.coodex.billing.timebased.BillingModel.Fragment
 
FragmentProfile - Interface in org.coodex.billing.timebased.reference
 
FragmentRevision - Interface in org.coodex.billing.timebased
切分后调整
FragmentSlicer<C extends TimeBasedChargeable> - Interface in org.coodex.billing.timebased.reference
切片机
FragmentSlicerFactory<C extends TimeBasedChargeable> - Class in org.coodex.billing.timebased.reference.box
 
FragmentSlicerFactory() - Constructor for class org.coodex.billing.timebased.reference.box.FragmentSlicerFactory
 
FragmentSlicerFactory.FragmentSlicerImpl<C extends TimeBasedChargeable> - Class in org.coodex.billing.timebased.reference.box
 
FragmentSlicerImpl(FragmentSlicerProfile) - Constructor for class org.coodex.billing.timebased.reference.box.FragmentSlicerFactory.FragmentSlicerImpl
 
FragmentSlicerProfile - Class in org.coodex.billing.timebased.reference.box
基于时段的切分参数
FragmentSlicerProfile(String, String) - Constructor for class org.coodex.billing.timebased.reference.box.FragmentSlicerProfile
 
FreeAlgorithmFactory - Class in org.coodex.billing.timebased.reference.box
 
FreeAlgorithmFactory() - Constructor for class org.coodex.billing.timebased.reference.box.FreeAlgorithmFactory
 
FreeAlgorithmProfile - Class in org.coodex.billing.timebased.reference.box
免费算法
FreeAlgorithmProfile() - Constructor for class org.coodex.billing.timebased.reference.box.FreeAlgorithmProfile
 

G

getAlgorithm() - Method in class org.coodex.billing.timebased.BillingModel.Fragment
 
getAlgorithmProfile() - Method in interface org.coodex.billing.timebased.reference.FragmentProfile
 
getAmount() - Method in class org.coodex.billing.Bill.AdjustDetail
 
getAmount() - Method in interface org.coodex.billing.Bill.Detail
 
getAmount() - Method in class org.coodex.billing.Bill
 
getAmount() - Method in class org.coodex.billing.timebased.AbstractTimeBasedCalculator.TimeBasedDetailImpl
 
getCal(String) - Static method in class org.coodex.billing.timebased.reference.box.Utils
 
getChargeable() - Method in class org.coodex.billing.Bill
 
getDetails() - Method in class org.coodex.billing.Bill
 
getDetails() - Method in class org.coodex.billing.timebased.TimeBasedBill
 
getEndTime() - Method in class org.coodex.billing.timebased.reference.box.FragmentSlicerProfile
 
getFixedHours() - Method in class org.coodex.billing.timebased.reference.box.FixedHoursSlicerProfile
 
getFragmentProfiles() - Method in interface org.coodex.billing.timebased.reference.ModelProfile
 
getModel() - Method in class org.coodex.billing.timebased.BillingRule
 
getModel() - Method in interface org.coodex.billing.timebased.TimeBasedChargeable
 
getModelCode() - Method in class org.coodex.billing.timebased.reference.AbstractBillingModel
 
getModelParam() - Method in class org.coodex.billing.timebased.BillingRule
 
getModelParam() - Method in interface org.coodex.billing.timebased.TimeBasedChargeable
 
getModelProfile() - Method in class org.coodex.billing.timebased.reference.AbstractModelInstance
 
getName() - Method in class org.coodex.billing.box.AbstractOffAdjustment
 
getName() - Method in class org.coodex.billing.box.AmountAdjustment
 
getName() - Method in class org.coodex.billing.box.ConsumerGoods
 
getName() - Method in class org.coodex.billing.box.ZeroRemainderAdjustment
 
getName() - Method in interface org.coodex.billing.Revision
 
getName() - Method in class org.coodex.billing.timebased.reference.box.DurationRevision
 
getOffRate() - Method in class org.coodex.billing.box.AbstractOffAdjustment
 
getPeriod() - Method in class org.coodex.billing.timebased.AbstractTimeBasedCalculator.TimeBasedDetailImpl
 
getPeriod() - Method in class org.coodex.billing.timebased.BillingModel.Fragment
 
getPeriod() - Method in interface org.coodex.billing.timebased.TimeBasedChargeable
 
getPeriod() - Method in interface org.coodex.billing.timebased.TimeBasedDetail
 
getPrice() - Method in class org.coodex.billing.box.ConsumerGoods
 
getQuantity() - Method in class org.coodex.billing.box.ConsumerGoods
 
getRefId() - Method in interface org.coodex.billing.timebased.TimeBasedChargeable
 
getRevisions() - Method in interface org.coodex.billing.Chargeable
 
getRulesBy(T) - Method in interface org.coodex.billing.timebased.BillingRuleRepository
 
getSlicerProfile() - Method in interface org.coodex.billing.timebased.reference.FragmentProfile
 
getStart() - Method in class org.coodex.billing.timebased.BillingRule
 
getStartTime() - Method in class org.coodex.billing.timebased.reference.box.FixedDateSlicerProfile
 
getStartTime() - Method in class org.coodex.billing.timebased.reference.box.FragmentSlicerProfile
 
getTimeUnit() - Method in class org.coodex.billing.timebased.AbstractTimeBasedCalculator
 
getTimeUnit() - Method in class org.coodex.billing.timebased.reference.AbstractAlgorithm
 
getUsedRevisions() - Method in class org.coodex.billing.Bill
 
getWholeTimeAlgorithm() - Method in interface org.coodex.billing.timebased.BillingModel.Instance
 
getWholeTimeAlgorithm() - Method in class org.coodex.billing.timebased.reference.AbstractModelInstance
 
getWholeTimeAlgorithmProfile() - Method in interface org.coodex.billing.timebased.reference.ModelProfile
 

I

isDiscontinuityAllowed() - Method in class org.coodex.billing.timebased.reference.AbstractAlgorithm
 
item() - Method in class org.coodex.billing.Bill.AdjustDetail
 
item() - Method in interface org.coodex.billing.Bill.Detail
 
item() - Method in class org.coodex.billing.timebased.AbstractTimeBasedCalculator.TimeBasedDetailImpl
 

M

ModelProfile - Interface in org.coodex.billing.timebased.reference
模型参数
ModelProfileFactory - Interface in org.coodex.billing.timebased.reference
 

O

OnlyOnce - Interface in org.coodex.billing.timebased
仅使用一次的优惠,用于多计费规则时,一次性金额调整、红包、优惠券等
org.coodex.billing - package org.coodex.billing
 
org.coodex.billing.box - package org.coodex.billing.box
 
org.coodex.billing.timebased - package org.coodex.billing.timebased
 
org.coodex.billing.timebased.reference - package org.coodex.billing.timebased.reference
 
org.coodex.billing.timebased.reference.box - package org.coodex.billing.timebased.reference.box
 

P

PaidAdjustment - Interface in org.coodex.billing
 
paidTimestamp() - Method in interface org.coodex.billing.PaidAdjustment
 
Period - Class in org.coodex.billing.timebased
一个时间范围
PositiveOffAdjustment<C extends Chargeable> - Class in org.coodex.billing.box
所有正数明细都有off
PositiveOffAdjustment(float, String) - Constructor for class org.coodex.billing.box.PositiveOffAdjustment
 

R

revised(List<Period>) - Method in class org.coodex.billing.timebased.reference.box.DurationRevision
 
revised(List<Period>) - Method in interface org.coodex.billing.timebased.TimeBasedRevision
 
Revision - Interface in org.coodex.billing
调整项目,由各计费领域自行定义
RevisionToDetail<T extends Revision> - Interface in org.coodex.billing.timebased
根据抵扣创建明细

S

setDate(Calendar, Calendar) - Static method in class org.coodex.billing.timebased.reference.box.Utils
 
setModel(String) - Method in interface org.coodex.billing.timebased.TimeBasedChargeable
 
setModelParam(String) - Method in interface org.coodex.billing.timebased.TimeBasedChargeable
 
setPeriod(Period) - Method in interface org.coodex.billing.timebased.TimeBasedChargeable
 
slice(Period, C) - Method in interface org.coodex.billing.timebased.BillingModel.Instance
 
slice(Period, C) - Method in class org.coodex.billing.timebased.reference.AbstractModelInstance
 
slice(Period, C) - Method in class org.coodex.billing.timebased.reference.box.FixedDateSlicerFactory.FixedDateSlicer
 
slice(Period, C) - Method in class org.coodex.billing.timebased.reference.box.FixedHoursSlicerFactory.FixedHoursSlicer
 
slice(Period, C) - Method in class org.coodex.billing.timebased.reference.box.FragmentSlicerFactory.FragmentSlicerImpl
 
slice(Period, C) - Method in interface org.coodex.billing.timebased.reference.FragmentSlicer
 
SlicerFactory<C extends TimeBasedChargeable,T extends SlicerProfile> - Interface in org.coodex.billing.timebased.reference
切片器工厂
SlicerProfile - Interface in org.coodex.billing.timebased.reference
切片器参数

T

TimeBasedBill<C extends TimeBasedChargeable> - Class in org.coodex.billing.timebased
 
TimeBasedBill(C) - Constructor for class org.coodex.billing.timebased.TimeBasedBill
 
TimeBasedChargeable - Interface in org.coodex.billing.timebased
 
TimeBasedDetail - Interface in org.coodex.billing.timebased
 
TimeBasedDetailImpl(Period, long, String) - Constructor for class org.coodex.billing.timebased.AbstractTimeBasedCalculator.TimeBasedDetailImpl
 
TimeBasedDetailImpl(Period, long, Revision, String) - Constructor for class org.coodex.billing.timebased.AbstractTimeBasedCalculator.TimeBasedDetailImpl
 
TimeBasedOffAdjustment<C extends TimeBasedChargeable> - Class in org.coodex.billing.timebased.reference.box
所有时序对象调整
TimeBasedOffAdjustment(float, String) - Constructor for class org.coodex.billing.timebased.reference.box.TimeBasedOffAdjustment
 
TimeBasedRevision - Interface in org.coodex.billing.timebased
基于时间的调整,可以是有状态的
timeUnitToCalendarConstant(TimeUnit) - Static method in class org.coodex.billing.timebased.reference.box.Utils
 
toDetail(T, Period, long) - Method in interface org.coodex.billing.timebased.RevisionToDetail
 
toString() - Method in class org.coodex.billing.timebased.Period
 
total(Bill<C>) - Method in class org.coodex.billing.box.AbstractOffAdjustment
 
total(Bill<C>) - Method in class org.coodex.billing.box.PositiveOffAdjustment
 
total(Bill<C>) - Method in class org.coodex.billing.timebased.reference.box.TimeBasedOffAdjustment
 

U

Used - Interface in org.coodex.billing
声明Revision已被使用
usedRevision() - Method in class org.coodex.billing.Bill.AdjustDetail
 
usedRevision() - Method in interface org.coodex.billing.Bill.Detail
 
usedRevision() - Method in class org.coodex.billing.timebased.AbstractTimeBasedCalculator.TimeBasedDetailImpl
 
usedTimestamp() - Method in interface org.coodex.billing.Used
 
Utils - Class in org.coodex.billing.timebased.reference.box
 
Utils() - Constructor for class org.coodex.billing.timebased.reference.box.Utils
 

W

WholeTimeRevision - Interface in org.coodex.billing.timebased
切分前调整
withModel(String) - Method in class org.coodex.billing.timebased.BillingRule
 
withModelParam(String) - Method in class org.coodex.billing.timebased.BillingRule
 
withStart(Calendar) - Method in class org.coodex.billing.timebased.BillingRule
 

Z

ZeroRemainderAdjustment - Class in org.coodex.billing.box
抹零
ZeroRemainderAdjustment(String, int) - Constructor for class org.coodex.billing.box.ZeroRemainderAdjustment
 
A B C D F G I M O P R S T U W Z 
Skip navigation links

Copyright © 2020. All rights reserved.