Created
September 21, 2017 00:51
-
-
Save felippepuhle/82be2e51bdff501dc06741448288c2ff to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class ICPP extends TemplateDeImpostoCondicional { | |
| public boolean deveUsarMaximaTaxacao(Orcamento orcamento) { | |
| return orcamento.getValor() > 500; | |
| } | |
| public double maximaTaxacao(Orcamento orcamento) { | |
| return orcamento.getValor() * 0.07; | |
| } | |
| public double minimaTaxacao(Orcamento orcamento) { | |
| return orcamento.getValor() * 0.05; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment