public class ReservationData extends Object
Constructor and Description |
---|
ReservationData(PModelHandle service,
Date startTime,
String currency,
PCurrency amount)
Constructor
|
Modifier and Type | Method and Description |
---|---|
PCurrency |
getAmount()
Gets reserved amount
|
String |
getCurrency()
Gets currency
|
PModelHandle |
getServiceModel()
Gets service model for this active reservation
|
Date |
getStartTime()
Gets usage start time
|
public ReservationData(PModelHandle service, Date startTime, String currency, PCurrency amount)
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 amountpublic PModelHandle getServiceModel()
public Date getStartTime()
public String getCurrency()
public PCurrency getAmount()
Copyright © 2003, 2023, Oracle and/or its affiliates.