public class Bill<C extends Chargeable> extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
Bill.AdjustDetail |
static interface |
Bill.Detail
结算明细
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addAllDetails(List<Bill.Detail> details) |
void |
addDetail(Bill.Detail detail)
添加一条明细
|
long |
getAmount() |
C |
getChargeable() |
List<Bill.Detail> |
getDetails() |
Set<Revision> |
getUsedRevisions() |
public Bill(C chargeable)
public C getChargeable()
public List<Bill.Detail> getDetails()
public void addDetail(Bill.Detail detail)
detail - 账单明细public void addAllDetails(List<Bill.Detail> details)
details - 添加一批明细public long getAmount()
Copyright © 2022. All rights reserved.