Package org.cxml

Class CarRentalFee


  • public class CarRentalFee
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.List<Rate> rate  
      protected Total total  
      protected java.lang.String type  
    • Constructor Summary

      Constructors 
      Constructor Description
      CarRentalFee()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<Rate> getRate()
      Gets the value of the rate property.
      Total getTotal()
      Gets the value of the total property.
      java.lang.String getType()
      Gets the value of the type property.
      void setTotal​(Total value)
      Sets the value of the total property.
      void setType​(java.lang.String value)
      Sets the value of the type property.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • type

        protected java.lang.String type
      • total

        protected Total total
      • rate

        protected java.util.List<Rate> rate
    • Constructor Detail

      • CarRentalFee

        public CarRentalFee()
    • Method Detail

      • getType

        public java.lang.String getType()
        Gets the value of the type property.
        Returns:
        possible object is String
      • setType

        public void setType​(java.lang.String value)
        Sets the value of the type property.
        Parameters:
        value - allowed object is String
      • getTotal

        public Total getTotal()
        Gets the value of the total property.
        Returns:
        possible object is Total
      • setTotal

        public void setTotal​(Total value)
        Sets the value of the total property.
        Parameters:
        value - allowed object is Total
      • getRate

        public java.util.List<Rate> getRate()
        Gets the value of the rate 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 rate property.

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

            getRate().add(newItem);
         

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