Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package br.com.alura.orcamento;
- import java.math.BigDecimal;
- public class ICMS implements Imposto {
- @Override
- public BigDecimal calcular(Orcamento orcamento) {
- return orcamento.getValor().multiply(new BigDecimal("0.1"));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement