|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.hotel.Services.Service
public static class Services.Service
A Service object represents a non-room product provided to guests. Service products may have associated inventory and charges. Schema fragment(s) for this class:
<xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="Service" maxOccurs="unbounded"> <xs:complexType> <xs:sequence> <xs:element type="ns:AmountType" name="Price" minOccurs="0" maxOccurs="99"/> <xs:element type="ns:ResCommonDetailType" name="ServiceDetails" minOccurs="0"/> <xs:element ref="ns:TPA_Extensions" minOccurs="0"/> </xs:sequence> <xs:attribute type="ns:PricingType" use="optional" name="ServicePricingType"/> <xs:attribute type="ns:PMS_ResStatusType" use="optional" name="ReservationStatusType"/> <xs:attribute type="xs:string" use="optional" name="ServiceRPH"/> <xs:attribute type="xs:string" use="optional" name="ServiceInventoryCode"/> <xs:attribute type="xs:string" use="optional" name="RatePlanCode"/> <xs:attribute type="xs:string" use="optional" name="InventoryBlockCode"/> <xs:attribute type="xs:boolean" use="optional" name="PriceGuaranteed"/> <xs:attribute type="xs:boolean" use="optional" name="Inclusive"/> <xs:attribute type="xs:int" use="optional" name="Quantity"/> <xs:attribute type="xs:boolean" use="optional" name="RequestedIndicator"/> </xs:complexType> </xs:element> <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" type="ns:TPA_ExtensionsType" name="TPA_Extensions"/> <xs:simpleType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="PMS_ResStatusType"> <!-- Reference to inner class PMSResStatus --> </xs:simpleType>
Nested Class Summary | |
---|---|
static class |
Services.Service.PMSResStatus
Statuses that exist in a property management system (PMS). |
Constructor Summary | |
---|---|
Services.Service()
|
Method Summary | |
---|---|
void |
addPrice(Amount item)
Add a 'Price' element item. |
void |
clearPrices()
Remove all 'Price' element items. |
java.lang.Boolean |
getInclusive()
Get the 'Inclusive' attribute value. |
java.lang.String |
getInventoryBlockCode()
Get the 'InventoryBlockCode' attribute value. |
Amount |
getPrice(int index)
Get 'Price' element item by position. |
java.lang.Boolean |
getPriceGuaranteed()
Get the 'PriceGuaranteed' attribute value. |
java.util.List<Amount> |
getPrices()
Get the list of 'Price' element items. |
java.lang.Integer |
getQuantity()
Get the 'Quantity' attribute value. |
java.lang.String |
getRatePlanCode()
Get the 'RatePlanCode' attribute value. |
java.lang.Boolean |
getRequestedIndicator()
Get the 'RequestedIndicator' attribute value. |
Services.Service.PMSResStatus |
getReservationStatus()
Get the 'ReservationStatusType' attribute value. |
ResCommonDetail |
getServiceDetails()
Get the 'ServiceDetails' element value. |
java.lang.String |
getServiceInventoryCode()
Get the 'ServiceInventoryCode' attribute value. |
Pricing |
getServicePricing()
Get the 'ServicePricingType' attribute value. |
java.lang.String |
getServiceRPH()
Get the 'ServiceRPH' attribute value. |
TPAExtensions |
getTPAExtensions()
Get the 'TPA_Extensions' element value. |
void |
setInclusive(java.lang.Boolean inclusive)
Set the 'Inclusive' attribute value. |
void |
setInventoryBlockCode(java.lang.String inventoryBlockCode)
Set the 'InventoryBlockCode' attribute value. |
void |
setPriceGuaranteed(java.lang.Boolean priceGuaranteed)
Set the 'PriceGuaranteed' attribute value. |
void |
setPrices(java.util.List<Amount> list)
Set the list of 'Price' element items. |
void |
setQuantity(java.lang.Integer quantity)
Set the 'Quantity' attribute value. |
void |
setRatePlanCode(java.lang.String ratePlanCode)
Set the 'RatePlanCode' attribute value. |
void |
setRequestedIndicator(java.lang.Boolean requestedIndicator)
Set the 'RequestedIndicator' attribute value. |
void |
setReservationStatus(Services.Service.PMSResStatus reservationStatus)
Set the 'ReservationStatusType' attribute value. |
void |
setServiceDetails(ResCommonDetail serviceDetails)
Set the 'ServiceDetails' element value. |
void |
setServiceInventoryCode(java.lang.String serviceInventoryCode)
Set the 'ServiceInventoryCode' attribute value. |
void |
setServicePricing(Pricing servicePricing)
Set the 'ServicePricingType' attribute value. |
void |
setServiceRPH(java.lang.String serviceRPH)
Set the 'ServiceRPH' attribute value. |
void |
setTPAExtensions(TPAExtensions TPAExtensions)
Set the 'TPA_Extensions' element value. |
int |
sizePrices()
Get the number of 'Price' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Services.Service()
Method Detail |
---|
public java.util.List<Amount> getPrices()
public void setPrices(java.util.List<Amount> list)
list
- public int sizePrices()
public void addPrice(Amount item)
item
- public Amount getPrice(int index)
index
-
public void clearPrices()
public ResCommonDetail getServiceDetails()
public void setServiceDetails(ResCommonDetail serviceDetails)
serviceDetails
- public TPAExtensions getTPAExtensions()
public void setTPAExtensions(TPAExtensions TPAExtensions)
TPAExtensions
- public Pricing getServicePricing()
public void setServicePricing(Pricing servicePricing)
servicePricing
- public Services.Service.PMSResStatus getReservationStatus()
public void setReservationStatus(Services.Service.PMSResStatus reservationStatus)
reservationStatus
- public java.lang.String getServiceRPH()
public void setServiceRPH(java.lang.String serviceRPH)
serviceRPH
- public java.lang.String getServiceInventoryCode()
public void setServiceInventoryCode(java.lang.String serviceInventoryCode)
serviceInventoryCode
- public java.lang.String getRatePlanCode()
public void setRatePlanCode(java.lang.String ratePlanCode)
ratePlanCode
- public java.lang.String getInventoryBlockCode()
public void setInventoryBlockCode(java.lang.String inventoryBlockCode)
inventoryBlockCode
- public java.lang.Boolean getPriceGuaranteed()
public void setPriceGuaranteed(java.lang.Boolean priceGuaranteed)
priceGuaranteed
- public java.lang.Boolean getInclusive()
public void setInclusive(java.lang.Boolean inclusive)
inclusive
- public java.lang.Integer getQuantity()
public void setQuantity(java.lang.Integer quantity)
quantity
- public java.lang.Boolean getRequestedIndicator()
public void setRequestedIndicator(java.lang.Boolean requestedIndicator)
requestedIndicator
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |