Package iofXml.v3

Class Fee

java.lang.Object
iofXml.v3.Fee

public class Fee extends Object
A fee that applies when entering a class at a race or ordering a service.

Java class for Fee complex type

.

The following schema fragment specifies the expected content contained within this class.


 <complexType name="Fee">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Id" type="{http://www.orienteering.org/datastandard/3.0}Id" minOccurs="0"/>
         <element name="Name" type="{http://www.orienteering.org/datastandard/3.0}LanguageString" maxOccurs="unbounded"/>
         <element name="Amount" type="{http://www.orienteering.org/datastandard/3.0}Amount" minOccurs="0"/>
         <element name="TaxableAmount" type="{http://www.orienteering.org/datastandard/3.0}Amount" minOccurs="0"/>
         <element name="Percentage" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
         <element name="TaxablePercentage" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
         <element name="ValidFromTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="ValidToTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="FromDateOfBirth" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
         <element name="ToDateOfBirth" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
         <element name="Extensions" type="{http://www.orienteering.org/datastandard/3.0}Extensions" minOccurs="0"/>
       </sequence>
       <attribute name="type" default="Normal">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
             <enumeration value="Normal"/>
             <enumeration value="Late"/>
           </restriction>
         </simpleType>
       </attribute>
       <attribute name="modifyTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • id

      protected Id id
    • name

      protected List<LanguageString> name
      A describing name of the fee, e.g. 'Late entry fee'.
    • amount

      protected Amount amount
      The fee amount, optionally including currency code. This element must not be present if a Percentage element exists.
    • taxableAmount

      protected Amount taxableAmount
      The fee amount that is taxable, i.e. considered when calculating taxes for an event. This element must not be present if a Percentage element exists, or if an Amount element does not exist.
    • percentage

      protected Double percentage
      The percentage to increase or decrease already existing fees in a fee list with. This element must not be present if an Amount element exists.
    • taxablePercentage

      protected Double taxablePercentage
      The percentage to increase or decrease already existing taxable fees in a fee list with. This element must not be present if an Amount element exists, or if a Percentage element does not exist.
    • validFromTime

      protected XMLGregorianCalendar validFromTime
      The time when the fee takes effect.
    • validToTime

      protected XMLGregorianCalendar validToTime
      The time when the fee expires.
    • fromDateOfBirth

      protected XMLGregorianCalendar fromDateOfBirth
      The start of the birth date interval that the fee should be applied to. Omit if no lower birth date restriction.
    • toDateOfBirth

      protected XMLGregorianCalendar toDateOfBirth
      The end of the birth date interval that the fee should be applied to. Omit if no upper birth date restriction.
    • extensions

      protected Extensions extensions
      Container element for custom elements from other schemas.
    • type

      protected String type
      The type of fee.
    • modifyTime

      protected XMLGregorianCalendar modifyTime
  • Constructor Details

    • Fee

      public Fee()
  • Method Details

    • getId

      public Id getId()
      Gets the value of the id property.
      Returns:
      possible object is Id
    • setId

      public void setId(Id value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is Id
    • getName

      public List<LanguageString> getName()
      A describing name of the fee, e.g. 'Late entry fee'. Gets the value of the name property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the name property.

      For example, to add a new item, do as follows:

       getName().add(newItem);
       

      Objects of the following type(s) are allowed in the list LanguageString

      Returns:
      The value of the name property.
    • getAmount

      public Amount getAmount()
      The fee amount, optionally including currency code. This element must not be present if a Percentage element exists.
      Returns:
      possible object is Amount
    • setAmount

      public void setAmount(Amount value)
      Sets the value of the amount property.
      Parameters:
      value - allowed object is Amount
      See Also:
    • getTaxableAmount

      public Amount getTaxableAmount()
      The fee amount that is taxable, i.e. considered when calculating taxes for an event. This element must not be present if a Percentage element exists, or if an Amount element does not exist.
      Returns:
      possible object is Amount
    • setTaxableAmount

      public void setTaxableAmount(Amount value)
      Sets the value of the taxableAmount property.
      Parameters:
      value - allowed object is Amount
      See Also:
    • getPercentage

      public Double getPercentage()
      The percentage to increase or decrease already existing fees in a fee list with. This element must not be present if an Amount element exists.
      Returns:
      possible object is Double
    • setPercentage

      public void setPercentage(Double value)
      Sets the value of the percentage property.
      Parameters:
      value - allowed object is Double
      See Also:
    • getTaxablePercentage

      public Double getTaxablePercentage()
      The percentage to increase or decrease already existing taxable fees in a fee list with. This element must not be present if an Amount element exists, or if a Percentage element does not exist.
      Returns:
      possible object is Double
    • setTaxablePercentage

      public void setTaxablePercentage(Double value)
      Sets the value of the taxablePercentage property.
      Parameters:
      value - allowed object is Double
      See Also:
    • getValidFromTime

      public XMLGregorianCalendar getValidFromTime()
      The time when the fee takes effect.
      Returns:
      possible object is XMLGregorianCalendar
    • setValidFromTime

      public void setValidFromTime(XMLGregorianCalendar value)
      Sets the value of the validFromTime property.
      Parameters:
      value - allowed object is XMLGregorianCalendar
      See Also:
    • getValidToTime

      public XMLGregorianCalendar getValidToTime()
      The time when the fee expires.
      Returns:
      possible object is XMLGregorianCalendar
    • setValidToTime

      public void setValidToTime(XMLGregorianCalendar value)
      Sets the value of the validToTime property.
      Parameters:
      value - allowed object is XMLGregorianCalendar
      See Also:
    • getFromDateOfBirth

      public XMLGregorianCalendar getFromDateOfBirth()
      The start of the birth date interval that the fee should be applied to. Omit if no lower birth date restriction.
      Returns:
      possible object is XMLGregorianCalendar
    • setFromDateOfBirth

      public void setFromDateOfBirth(XMLGregorianCalendar value)
      Sets the value of the fromDateOfBirth property.
      Parameters:
      value - allowed object is XMLGregorianCalendar
      See Also:
    • getToDateOfBirth

      public XMLGregorianCalendar getToDateOfBirth()
      The end of the birth date interval that the fee should be applied to. Omit if no upper birth date restriction.
      Returns:
      possible object is XMLGregorianCalendar
    • setToDateOfBirth

      public void setToDateOfBirth(XMLGregorianCalendar value)
      Sets the value of the toDateOfBirth property.
      Parameters:
      value - allowed object is XMLGregorianCalendar
      See Also:
    • getExtensions

      public Extensions getExtensions()
      Container element for custom elements from other schemas.
      Returns:
      possible object is Extensions
    • setExtensions

      public void setExtensions(Extensions value)
      Sets the value of the extensions property.
      Parameters:
      value - allowed object is Extensions
      See Also:
    • getType

      public String getType()
      The type of fee.
      Returns:
      possible object is String
    • setType

      public void setType(String value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is String
      See Also:
    • getModifyTime

      public XMLGregorianCalendar getModifyTime()
      Gets the value of the modifyTime property.
      Returns:
      possible object is XMLGregorianCalendar
    • setModifyTime

      public void setModifyTime(XMLGregorianCalendar value)
      Sets the value of the modifyTime property.
      Parameters:
      value - allowed object is XMLGregorianCalendar