@Override public void setType(TaxType type) { this.type = type.getType(); }
public TaxDetailImpl(TaxType type, Money amount, BigDecimal rate) { this.type = type.getType(); this.amount = amount.getAmount(); this.rate = rate; }
@Override public void setType(TaxType type) { this.type = type.getType(); }
public TaxDetailImpl(TaxType type, Money amount, BigDecimal rate) { this.type = type.getType(); this.amount = amount.getAmount(); this.rate = rate; }