001/**
002 * Copyright 2005-2016 The Kuali Foundation
003 *
004 * Licensed under the Educational Community License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 * http://www.opensource.org/licenses/ecl2.php
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 */
016package edu.sampleu.travel.options;
017
018import org.kuali.rice.core.api.mo.common.Coded;
019
020/**
021 * Provides options to identify and categorize expense items
022 *
023 * @author Kuali Rice Team (rice.collab@kuali.org)
024 */
025public enum ExpenseType implements Coded {
026    A("A", "Airfare"),
027    L("L", "Lodging"),
028    M("M", "Moving Equipment"),
029    O("O", "Other"),
030    R("R", "Automobile Rental"),
031    T("T", "Taxi/Limousine Service"),
032    PA("PA", "Prepaid Airfare"),
033    PC("PC", "Conference Registration"),
034    PL("PL", "Prepaid Lodging"),
035    PM("PM", "Prepaid Moving Rental"),
036    PO("PO", "Prepaid Auto Rental"),
037    PR("PR", "Prepaid Tax/Limo Service"),
038    HB("HB", "Hosted Meal – Breakfast"),
039    HL("HL", "Hosted Meal – Lunch"),
040    HD("HD", "Hosted Meal – Dinner"),
041    MH("MH", "House hunting costs"),
042    MT("MT", "Temporary living"),
043    ML("ML", "Living allowances"),
044    MF("MF", "Final move meals"),
045    MM("MM", "Mileage allowed per mile threshold"),
046    MD("MD", "Domestic storage over 30 days"),
047    MI("MI", "International storage"),
048    ME("ME", "Family Travel Expense"),
049    MO("MO", "Misc. Expense"),
050    EL("EL", "Light refreshments");
051
052    private final String code;
053    private final String label;
054
055    ExpenseType(String code, String label) {
056        this.code = code;
057        this.label = label;
058    }
059
060    public String getCode() {
061        return code;
062    }
063
064    public String getLabel() {
065        return label;
066    }
067
068}