public class Bill<C extends Chargeable> extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Bill.AdjustDetail |
static interface |
Bill.Detail
结算明细
|
| Modifier and Type | Method and Description |
|---|---|
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 © 2020. All rights reserved.