
package com.amadeus.travelManagement.amadeus.xml._2010._06.travel_offerpricers_v1;

import java.math.BigDecimal;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * A punishment imposed for breaking a law, rule, or contract.
 * 
 * &lt;p&gt;Java class for PenaltyType complex type.
 * 
 * &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
 * 
 * &lt;pre&gt;
 * &amp;lt;complexType name="PenaltyType"&amp;gt;
 *   &amp;lt;complexContent&amp;gt;
 *     &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
 *       &amp;lt;sequence&amp;gt;
 *         &amp;lt;element name="PenaltyID" type="{http://xml.amadeus.com/2010/06/Travel_OfferPriceRS_v1}ID_Type"/&amp;gt;
 *         &amp;lt;element name="UpgradeFeeInd" type="{http://xml.amadeus.com/2010/06/Travel_OfferPriceRS_v1}IndType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="TypeCode" type="{http://xml.amadeus.com/2010/06/Travel_OfferPriceRS_v1}PenaltyTypeCodeType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="DescText" type="{http://xml.amadeus.com/2010/06/Travel_OfferPriceRS_v1}TextType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="AppCode" type="{http://xml.amadeus.com/2010/06/Travel_OfferPriceRS_v1}PenaltyAppCodeType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="CancelFeeInd" type="{http://xml.amadeus.com/2010/06/Travel_OfferPriceRS_v1}IndType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="ChangeFeeInd" type="{http://xml.amadeus.com/2010/06/Travel_OfferPriceRS_v1}IndType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="PenaltyAmount" type="{http://xml.amadeus.com/2010/06/Travel_OfferPriceRS_v1}AmountType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="PenaltyPercent" type="{http://xml.amadeus.com/2010/06/Travel_OfferPriceRS_v1}PercentType" minOccurs="0"/&amp;gt;
 *       &amp;lt;/sequence&amp;gt;
 *     &amp;lt;/restriction&amp;gt;
 *   &amp;lt;/complexContent&amp;gt;
 * &amp;lt;/complexType&amp;gt;
 * &lt;/pre&gt;
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PenaltyType", propOrder = {
    "penaltyID",
    "upgradeFeeInd",
    "typeCode",
    "descText",
    "appCode",
    "cancelFeeInd",
    "changeFeeInd",
    "penaltyAmount",
    "penaltyPercent"
})
public class PenaltyType {

    @XmlElement(name = "PenaltyID", required = true)
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    @XmlSchemaType(name = "token")
    protected String penaltyID;
    @XmlElement(name = "UpgradeFeeInd")
    protected Boolean upgradeFeeInd;
    @XmlElement(name = "TypeCode")
    @XmlSchemaType(name = "string")
    protected PenaltyTypeContentType typeCode;
    @XmlElement(name = "DescText")
    protected String descText;
    @XmlElement(name = "AppCode")
    protected String appCode;
    @XmlElement(name = "CancelFeeInd")
    protected Boolean cancelFeeInd;
    @XmlElement(name = "ChangeFeeInd")
    protected Boolean changeFeeInd;
    @XmlElement(name = "PenaltyAmount")
    protected AmountType penaltyAmount;
    @XmlElement(name = "PenaltyPercent")
    protected BigDecimal penaltyPercent;

    /**
     * Gets the value of the penaltyID property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getPenaltyID() {
        return penaltyID;
    }

    /**
     * Sets the value of the penaltyID property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setPenaltyID(String value) {
        this.penaltyID = value;
    }

    /**
     * Gets the value of the upgradeFeeInd property.
     * 
     * @return
     *     possible object is
     *     {@link Boolean }
     *     
     */
    public Boolean isUpgradeFeeInd() {
        return upgradeFeeInd;
    }

    /**
     * Sets the value of the upgradeFeeInd property.
     * 
     * @param value
     *     allowed object is
     *     {@link Boolean }
     *     
     */
    public void setUpgradeFeeInd(Boolean value) {
        this.upgradeFeeInd = value;
    }

    /**
     * Gets the value of the typeCode property.
     * 
     * @return
     *     possible object is
     *     {@link PenaltyTypeContentType }
     *     
     */
    public PenaltyTypeContentType getTypeCode() {
        return typeCode;
    }

    /**
     * Sets the value of the typeCode property.
     * 
     * @param value
     *     allowed object is
     *     {@link PenaltyTypeContentType }
     *     
     */
    public void setTypeCode(PenaltyTypeContentType value) {
        this.typeCode = value;
    }

    /**
     * Gets the value of the descText property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getDescText() {
        return descText;
    }

    /**
     * Sets the value of the descText property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setDescText(String value) {
        this.descText = value;
    }

    /**
     * Gets the value of the appCode property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getAppCode() {
        return appCode;
    }

    /**
     * Sets the value of the appCode property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setAppCode(String value) {
        this.appCode = value;
    }

    /**
     * Gets the value of the cancelFeeInd property.
     * 
     * @return
     *     possible object is
     *     {@link Boolean }
     *     
     */
    public Boolean isCancelFeeInd() {
        return cancelFeeInd;
    }

    /**
     * Sets the value of the cancelFeeInd property.
     * 
     * @param value
     *     allowed object is
     *     {@link Boolean }
     *     
     */
    public void setCancelFeeInd(Boolean value) {
        this.cancelFeeInd = value;
    }

    /**
     * Gets the value of the changeFeeInd property.
     * 
     * @return
     *     possible object is
     *     {@link Boolean }
     *     
     */
    public Boolean isChangeFeeInd() {
        return changeFeeInd;
    }

    /**
     * Sets the value of the changeFeeInd property.
     * 
     * @param value
     *     allowed object is
     *     {@link Boolean }
     *     
     */
    public void setChangeFeeInd(Boolean value) {
        this.changeFeeInd = value;
    }

    /**
     * Gets the value of the penaltyAmount property.
     * 
     * @return
     *     possible object is
     *     {@link AmountType }
     *     
     */
    public AmountType getPenaltyAmount() {
        return penaltyAmount;
    }

    /**
     * Sets the value of the penaltyAmount property.
     * 
     * @param value
     *     allowed object is
     *     {@link AmountType }
     *     
     */
    public void setPenaltyAmount(AmountType value) {
        this.penaltyAmount = value;
    }

    /**
     * Gets the value of the penaltyPercent property.
     * 
     * @return
     *     possible object is
     *     {@link BigDecimal }
     *     
     */
    public BigDecimal getPenaltyPercent() {
        return penaltyPercent;
    }

    /**
     * Sets the value of the penaltyPercent property.
     * 
     * @param value
     *     allowed object is
     *     {@link BigDecimal }
     *     
     */
    public void setPenaltyPercent(BigDecimal value) {
        this.penaltyPercent = value;
    }

}
