Package br.com.moonjava.flight.model.base

Examples of br.com.moonjava.flight.model.base.Tipo


        for (int j = 0; j < voos.size(); j++) {
          voo = voos.get(j);
          List<JComboBox> tipos = getTipos();
          for (int i = 0; i < tipos.size(); i++) {
            String item = (String) tipos.get(i).getSelectedItem();
            Tipo tipo = Tipo.fromString(item);

            if (tipo == Tipo.CRIANCA) {
              double taxa = 0.07 * voo.getPreco();
              valorTotal += 0.7 * voo.getPreco() + taxa;
            }
View Full Code Here

TOP

Related Classes of br.com.moonjava.flight.model.base.Tipo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.