Package com.derbysoft.spitfire.fastjson.dto

Examples of com.derbysoft.spitfire.fastjson.dto.ChargeItemDTO


        return rate;
    }

    private List<ChargeItemDTO> createExpectedServiceCharges() {
        List<ChargeItemDTO> serviceCharges = new ArrayList<ChargeItemDTO>();
        ChargeItemDTO serviceCharge = new ChargeItemDTO();
        serviceCharge.setUnit(ChargeUnit.PER_NIGHT);
        serviceCharge.setType(ChargeType.FIXED);
        serviceCharge.setValue(SERVICE_CHARGE_AMOUNT);
        serviceCharge.setDescription(new String(SERVICE_CHARGE_DESC + seed.incrementAndGet()));
        serviceCharges.add(serviceCharge);
        return serviceCharges;
    }
View Full Code Here


        return serviceCharges;
    }

    private List<ChargeItemDTO> createExpectedTaxs() {
        List<ChargeItemDTO> taxs = new ArrayList<ChargeItemDTO>();
        ChargeItemDTO tax = new ChargeItemDTO();
        tax.setUnit(ChargeUnit.PER_NIGHT);
        tax.setValue(AMOUNT_TAX);
        tax.setType(ChargeType.FIXED);
        tax.setDescription(TAX_DESC + seed.incrementAndGet());
        taxs.add(tax);
        return taxs;
    }
View Full Code Here

TOP

Related Classes of com.derbysoft.spitfire.fastjson.dto.ChargeItemDTO

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.