Class ReservationData

java.lang.Object
com.portal.app.ccare.comp.ReservationData

public class ReservationData extends Object
Holds Reservation information
  • Constructor Details

    • ReservationData

      public ReservationData(PModelHandle service, Date startTime, String currency, PCurrency amount)
      Constructor
      Parameters:
      service - Service model for which the reservation holds good
      startTime - The time at which usage of this reservation begins, null if the usage is not in progress
      currency - The currency for the reservation amount
      amount - The reservation amount
  • Method Details

    • getServiceModel

      public PModelHandle getServiceModel()
      Gets service model for this active reservation
      Returns:
      service model
    • getStartTime

      public Date getStartTime()
      Gets usage start time
      Returns:
      usage start time
    • getCurrency

      public String getCurrency()
      Gets currency
      Returns:
      currency as a String
    • getAmount

      public PCurrency getAmount()
      Gets reserved amount
      Returns:
      reserved amount