@MemberOrder(name="items", sequence = "1")
public Order addItem(
final Charge charge,
@Nullable final String description,
@Digits(integer=13, fraction = 2)
final BigDecimal netAmount,
@Nullable
@Digits(integer=13, fraction = 2)
final BigDecimal vatAmount,
@Nullable
@Digits(integer=13, fraction = 2)
final BigDecimal grossAmount,
@Nullable final Tax tax,
@Nullable final String period,
@Nullable final org.estatio.module.asset.dom.Property property,
@Nullable final Project project,
@Nullable final BudgetItem budgetItem
) {
orderItemRepository.upsert(
this, charge, description, netAmount, vatAmount, grossAmount, tax, PeriodUtil.yearFromPeriod(period).startDate(), PeriodUtil.yearFromPeriod(period).endDate(), property, project, budgetItem);
// (we think there's) no need to add to the getItems(), because the item points back to this order.
return this;
}
Order.java 文件源码
java
阅读 29
收藏 0
点赞 0
评论 0
项目:estatio
作者:
评论列表
文章目录