Class Fee
-
- All Implemented Interfaces:
public class FeeA 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>
-
-
Constructor Summary
Constructors Constructor Description Fee()
-
Method Summary
Modifier and Type Method Description IdgetId()Gets the value of the id property. voidsetId(Id value)Sets the value of the id property. List<LanguageString>getName()A describing name of the fee, e.g. AmountgetAmount()The fee amount, optionally including currency code. voidsetAmount(Amount value)Sets the value of the amount property. AmountgetTaxableAmount()The fee amount that is taxable, i.e. voidsetTaxableAmount(Amount value)Sets the value of the taxableAmount property. DoublegetPercentage()The percentage to increase or decrease already existing fees in a fee list with. voidsetPercentage(Double value)Sets the value of the percentage property. DoublegetTaxablePercentage()The percentage to increase or decrease already existing taxable fees in a fee list with. voidsetTaxablePercentage(Double value)Sets the value of the taxablePercentage property. XMLGregorianCalendargetValidFromTime()The time when the fee takes effect. voidsetValidFromTime(XMLGregorianCalendar value)Sets the value of the validFromTime property. XMLGregorianCalendargetValidToTime()The time when the fee expires. voidsetValidToTime(XMLGregorianCalendar value)Sets the value of the validToTime property. XMLGregorianCalendargetFromDateOfBirth()The start of the birth date interval that the fee should be applied to. voidsetFromDateOfBirth(XMLGregorianCalendar value)Sets the value of the fromDateOfBirth property. XMLGregorianCalendargetToDateOfBirth()The end of the birth date interval that the fee should be applied to. voidsetToDateOfBirth(XMLGregorianCalendar value)Sets the value of the toDateOfBirth property. ExtensionsgetExtensions()Container element for custom elements from other schemas. voidsetExtensions(Extensions value)Sets the value of the extensions property. StringgetType()The type of fee. voidsetType(String value)Sets the value of the type property. XMLGregorianCalendargetModifyTime()Gets the value of the modifyTime property. voidsetModifyTime(XMLGregorianCalendar value)Sets the value of the modifyTime property. -
-
Method Detail
-
setId
void setId(Id value)
Sets the value of the id property.
- Parameters:
value- allowed object is Id
-
getName
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
setmethod 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:
Thevalue of the name property.
-
getAmount
Amount getAmount()
The fee amount, optionally including currency code. This element must not be present if a Percentage element exists.
- Returns:
possibleobject is Amount
-
setAmount
void setAmount(Amount value)
Sets the value of the amount property.
- Parameters:
value- allowed object is Amount
-
getTaxableAmount
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:
possibleobject is Amount
-
setTaxableAmount
void setTaxableAmount(Amount value)
Sets the value of the taxableAmount property.
- Parameters:
value- allowed object is Amount
-
getPercentage
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:
possibleobject is Double
-
setPercentage
void setPercentage(Double value)
Sets the value of the percentage property.
- Parameters:
value- allowed object is Double
-
getTaxablePercentage
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:
possibleobject is Double
-
setTaxablePercentage
void setTaxablePercentage(Double value)
Sets the value of the taxablePercentage property.
- Parameters:
value- allowed object is Double
-
getValidFromTime
XMLGregorianCalendar getValidFromTime()
The time when the fee takes effect.
- Returns:
possibleobject is XMLGregorianCalendar
-
setValidFromTime
void setValidFromTime(XMLGregorianCalendar value)
Sets the value of the validFromTime property.
- Parameters:
value- allowed object is XMLGregorianCalendar
-
getValidToTime
XMLGregorianCalendar getValidToTime()
The time when the fee expires.
- Returns:
possibleobject is XMLGregorianCalendar
-
setValidToTime
void setValidToTime(XMLGregorianCalendar value)
Sets the value of the validToTime property.
- Parameters:
value- allowed object is XMLGregorianCalendar
-
getFromDateOfBirth
XMLGregorianCalendar getFromDateOfBirth()
The start of the birth date interval that the fee should be applied to. Omit if no lower birth date restriction.
- Returns:
possibleobject is XMLGregorianCalendar
-
setFromDateOfBirth
void setFromDateOfBirth(XMLGregorianCalendar value)
Sets the value of the fromDateOfBirth property.
- Parameters:
value- allowed object is XMLGregorianCalendar
-
getToDateOfBirth
XMLGregorianCalendar getToDateOfBirth()
The end of the birth date interval that the fee should be applied to. Omit if no upper birth date restriction.
- Returns:
possibleobject is XMLGregorianCalendar
-
setToDateOfBirth
void setToDateOfBirth(XMLGregorianCalendar value)
Sets the value of the toDateOfBirth property.
- Parameters:
value- allowed object is XMLGregorianCalendar
-
getExtensions
Extensions getExtensions()
Container element for custom elements from other schemas.
- Returns:
possibleobject is Extensions
-
setExtensions
void setExtensions(Extensions value)
Sets the value of the extensions property.
- Parameters:
value- allowed object is Extensions
-
setType
void setType(String value)
Sets the value of the type property.
- Parameters:
value- allowed object is String
-
getModifyTime
XMLGregorianCalendar getModifyTime()
Gets the value of the modifyTime property.
- Returns:
possibleobject is XMLGregorianCalendar
-
setModifyTime
void setModifyTime(XMLGregorianCalendar value)
Sets the value of the modifyTime property.
- Parameters:
value- allowed object is XMLGregorianCalendar
-
-
-
-