Package com.portal.app.ccare.comp
Class ReservationData
java.lang.Object
com.portal.app.ccare.comp.ReservationData
Holds Reservation information
-
Constructor Summary
ConstructorsConstructorDescriptionReservationData
(PModelHandle service, Date startTime, String currency, PCurrency amount) Constructor -
Method Summary
Modifier and TypeMethodDescriptionGets reserved amountGets currencyGets service model for this active reservationGets usage start time
-
Constructor Details
-
ReservationData
Constructor- Parameters:
service
- Service model for which the reservation holds goodstartTime
- The time at which usage of this reservation begins, null if the usage is not in progresscurrency
- The currency for the reservation amountamount
- The reservation amount
-
-
Method Details
-
getServiceModel
Gets service model for this active reservation- Returns:
- service model
-
getStartTime
Gets usage start time- Returns:
- usage start time
-
getCurrency
Gets currency- Returns:
- currency as a String
-
getAmount
Gets reserved amount- Returns:
- reserved amount
-