org.ota.hotel
Class InvBlockGroup

java.lang.Object
  extended by org.ota.hotel.InvBlockGroup

public class InvBlockGroup
extends java.lang.Object

This is a collection of attributes that provide information about a block of inventory. Schema fragment(s) for this class:

 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="InvBlockGroup">
   <xs:attribute use="optional" name="BookingStatus">
     <xs:simpleType>
       <!-- Reference to inner class BookingStatus -->
     </xs:simpleType>
   </xs:attribute>
   <xs:attribute type="xs:string" use="optional" name="InvBlockTypeCode"/>
   <xs:attribute type="xs:string" use="optional" name="InvBlockCode"/>
   <xs:attribute type="xs:string" use="optional" name="InvBlockGroupingCode"/>
   <xs:attribute type="xs:string" use="optional" name="InvBlockName"/>
   <xs:attribute type="xs:string" use="optional" name="InvBlockLongName"/>
   <xs:attribute type="xs:string" use="optional" name="InvBlockStatusCode"/>
   <xs:attribute type="xs:string" use="optional" name="PMS_InvBlockID"/>
   <xs:attribute type="xs:string" use="optional" name="OpportunityID"/>
   <xs:attribute type="xs:string" use="optional" name="InvBlockCompanyID"/>
   <xs:attribute type="xs:string" use="optional" name="RestrictedBookingCodeList"/>
   <xs:attribute type="xs:string" use="optional" name="RestrictedViewingCodeList"/>
   <xs:attribute type="ns:TransactionActionType" use="optional" name="TransactionAction"/>
   <xs:attribute type="xs:string" use="optional" name="TransactionDetail"/>
   <xs:attribute type="xs:string" use="optional" name="QuoteID"/>
 </xs:attributeGroup>
 


Nested Class Summary
static class InvBlockGroup.BookingStatus
          Schema fragment(s) for this class:
 
Constructor Summary
InvBlockGroup()
           
 
Method Summary
 InvBlockGroup.BookingStatus getBookingStatus()
          Get the 'BookingStatus' attribute value.
 java.lang.String getInvBlockCode()
          Get the 'InvBlockCode' attribute value.
 java.lang.String getInvBlockCompanyID()
          Get the 'InvBlockCompanyID' attribute value.
 java.lang.String getInvBlockGroupingCode()
          Get the 'InvBlockGroupingCode' attribute value.
 java.lang.String getInvBlockLongName()
          Get the 'InvBlockLongName' attribute value.
 java.lang.String getInvBlockName()
          Get the 'InvBlockName' attribute value.
 java.lang.String getInvBlockStatusCode()
          Get the 'InvBlockStatusCode' attribute value.
 java.lang.String getInvBlockTypeCode()
          Get the 'InvBlockTypeCode' attribute value.
 java.lang.String getOpportunityID()
          Get the 'OpportunityID' attribute value.
 java.lang.String getPMSInvBlockID()
          Get the 'PMS_InvBlockID' attribute value.
 java.lang.String getQuoteID()
          Get the 'QuoteID' attribute value.
 java.lang.String getRestrictedBookingCodeList()
          Get the 'RestrictedBookingCodeList' attribute value.
 java.lang.String getRestrictedViewingCodeList()
          Get the 'RestrictedViewingCodeList' attribute value.
 TransactionAction getTransactionAction()
          Get the 'TransactionAction' attribute value.
 java.lang.String getTransactionDetail()
          Get the 'TransactionDetail' attribute value.
 void setBookingStatus(InvBlockGroup.BookingStatus bookingStatus)
          Set the 'BookingStatus' attribute value.
 void setInvBlockCode(java.lang.String invBlockCode)
          Set the 'InvBlockCode' attribute value.
 void setInvBlockCompanyID(java.lang.String invBlockCompanyID)
          Set the 'InvBlockCompanyID' attribute value.
 void setInvBlockGroupingCode(java.lang.String invBlockGroupingCode)
          Set the 'InvBlockGroupingCode' attribute value.
 void setInvBlockLongName(java.lang.String invBlockLongName)
          Set the 'InvBlockLongName' attribute value.
 void setInvBlockName(java.lang.String invBlockName)
          Set the 'InvBlockName' attribute value.
 void setInvBlockStatusCode(java.lang.String invBlockStatusCode)
          Set the 'InvBlockStatusCode' attribute value.
 void setInvBlockTypeCode(java.lang.String invBlockTypeCode)
          Set the 'InvBlockTypeCode' attribute value.
 void setOpportunityID(java.lang.String opportunityID)
          Set the 'OpportunityID' attribute value.
 void setPMSInvBlockID(java.lang.String PMSInvBlockID)
          Set the 'PMS_InvBlockID' attribute value.
 void setQuoteID(java.lang.String quoteID)
          Set the 'QuoteID' attribute value.
 void setRestrictedBookingCodeList(java.lang.String restrictedBookingCodeList)
          Set the 'RestrictedBookingCodeList' attribute value.
 void setRestrictedViewingCodeList(java.lang.String restrictedViewingCodeList)
          Set the 'RestrictedViewingCodeList' attribute value.
 void setTransactionAction(TransactionAction transactionAction)
          Set the 'TransactionAction' attribute value.
 void setTransactionDetail(java.lang.String transactionDetail)
          Set the 'TransactionDetail' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvBlockGroup

public InvBlockGroup()
Method Detail

getBookingStatus

public InvBlockGroup.BookingStatus getBookingStatus()
Get the 'BookingStatus' attribute value. Provides information as to whether the rooms are available for booking.

Returns:
value

setBookingStatus

public void setBookingStatus(InvBlockGroup.BookingStatus bookingStatus)
Set the 'BookingStatus' attribute value. Provides information as to whether the rooms are available for booking.

Parameters:
bookingStatus -

getInvBlockTypeCode

public java.lang.String getInvBlockTypeCode()
Get the 'InvBlockTypeCode' attribute value. Describes the type of inventory the block is being created for. Refer to OpenTravel Code List Inventory Block Type (IBT).

Returns:
value

setInvBlockTypeCode

public void setInvBlockTypeCode(java.lang.String invBlockTypeCode)
Set the 'InvBlockTypeCode' attribute value. Describes the type of inventory the block is being created for. Refer to OpenTravel Code List Inventory Block Type (IBT).

Parameters:
invBlockTypeCode -

getInvBlockCode

public java.lang.String getInvBlockCode()
Get the 'InvBlockCode' attribute value. This is the group id typically used to make a booking in a central reservation system.

Returns:
value

setInvBlockCode

public void setInvBlockCode(java.lang.String invBlockCode)
Set the 'InvBlockCode' attribute value. This is the group id typically used to make a booking in a central reservation system.

Parameters:
invBlockCode -

getInvBlockGroupingCode

public java.lang.String getInvBlockGroupingCode()
Get the 'InvBlockGroupingCode' attribute value. This code identifies the inventory group that contains multiple blocks. This allows for nested blocks.

Returns:
value

setInvBlockGroupingCode

public void setInvBlockGroupingCode(java.lang.String invBlockGroupingCode)
Set the 'InvBlockGroupingCode' attribute value. This code identifies the inventory group that contains multiple blocks. This allows for nested blocks.

Parameters:
invBlockGroupingCode -

getInvBlockName

public java.lang.String getInvBlockName()
Get the 'InvBlockName' attribute value. This is the short name of the Inventory Block.

Returns:
value

setInvBlockName

public void setInvBlockName(java.lang.String invBlockName)
Set the 'InvBlockName' attribute value. This is the short name of the Inventory Block.

Parameters:
invBlockName -

getInvBlockLongName

public java.lang.String getInvBlockLongName()
Get the 'InvBlockLongName' attribute value. This is the full name of the Inventory Block.

Returns:
value

setInvBlockLongName

public void setInvBlockLongName(java.lang.String invBlockLongName)
Set the 'InvBlockLongName' attribute value. This is the full name of the Inventory Block.

Parameters:
invBlockLongName -

getInvBlockStatusCode

public java.lang.String getInvBlockStatusCode()
Get the 'InvBlockStatusCode' attribute value. This defines the status of the block. Refer to OpenTravel Code List Inventory Block Status (IBS).

Returns:
value

setInvBlockStatusCode

public void setInvBlockStatusCode(java.lang.String invBlockStatusCode)
Set the 'InvBlockStatusCode' attribute value. This defines the status of the block. Refer to OpenTravel Code List Inventory Block Status (IBS).

Parameters:
invBlockStatusCode -

getPMSInvBlockID

public java.lang.String getPMSInvBlockID()
Get the 'PMS_InvBlockID' attribute value. This is used as a cross reference to the property management system (e.g. PMS Group Master Number).

Returns:
value

setPMSInvBlockID

public void setPMSInvBlockID(java.lang.String PMSInvBlockID)
Set the 'PMS_InvBlockID' attribute value. This is used as a cross reference to the property management system (e.g. PMS Group Master Number).

Parameters:
PMSInvBlockID -

getOpportunityID

public java.lang.String getOpportunityID()
Get the 'OpportunityID' attribute value. This is the identifier (i.e. opportunity) that refers back to the same block in the requesting system (e.g. a sales system or a wholesaler).

Returns:
value

setOpportunityID

public void setOpportunityID(java.lang.String opportunityID)
Set the 'OpportunityID' attribute value. This is the identifier (i.e. opportunity) that refers back to the same block in the requesting system (e.g. a sales system or a wholesaler).

Parameters:
opportunityID -

getInvBlockCompanyID

public java.lang.String getInvBlockCompanyID()
Get the 'InvBlockCompanyID' attribute value. This is used to identify the company or corporation associated with the inventory block, it is not a direct bill number.

Returns:
value

setInvBlockCompanyID

public void setInvBlockCompanyID(java.lang.String invBlockCompanyID)
Set the 'InvBlockCompanyID' attribute value. This is used to identify the company or corporation associated with the inventory block, it is not a direct bill number.

Parameters:
invBlockCompanyID -

getRestrictedBookingCodeList

public java.lang.String getRestrictedBookingCodeList()
Get the 'RestrictedBookingCodeList' attribute value. This is who is allowed to book against the block. Refer to OpenTravel Code List Unique ID Type (UIT). If this attribute is not used, there are no restrictions to the booking access.

Returns:
value

setRestrictedBookingCodeList

public void setRestrictedBookingCodeList(java.lang.String restrictedBookingCodeList)
Set the 'RestrictedBookingCodeList' attribute value. This is who is allowed to book against the block. Refer to OpenTravel Code List Unique ID Type (UIT). If this attribute is not used, there are no restrictions to the booking access.

Parameters:
restrictedBookingCodeList -

getRestrictedViewingCodeList

public java.lang.String getRestrictedViewingCodeList()
Get the 'RestrictedViewingCodeList' attribute value. This is who is allowed to view the block. Refer to OpenTravel Code List Unique ID Type (UIT). If this attribute is not used, there are no restrictions to the viewing access.

Returns:
value

setRestrictedViewingCodeList

public void setRestrictedViewingCodeList(java.lang.String restrictedViewingCodeList)
Set the 'RestrictedViewingCodeList' attribute value. This is who is allowed to view the block. Refer to OpenTravel Code List Unique ID Type (UIT). If this attribute is not used, there are no restrictions to the viewing access.

Parameters:
restrictedViewingCodeList -

getTransactionAction

public TransactionAction getTransactionAction()
Get the 'TransactionAction' attribute value. Used to specify the action to be taken on the block (e.g., create, book, modify, cancel).

Returns:
value

setTransactionAction

public void setTransactionAction(TransactionAction transactionAction)
Set the 'TransactionAction' attribute value. Used to specify the action to be taken on the block (e.g., create, book, modify, cancel).

Parameters:
transactionAction -

getTransactionDetail

public java.lang.String getTransactionDetail()
Get the 'TransactionDetail' attribute value. This provides the specific action to be taken on the block according to the TransactionAction attribute.

Returns:
value

setTransactionDetail

public void setTransactionDetail(java.lang.String transactionDetail)
Set the 'TransactionDetail' attribute value. This provides the specific action to be taken on the block according to the TransactionAction attribute.

Parameters:
transactionDetail -

getQuoteID

public java.lang.String getQuoteID()
Get the 'QuoteID' attribute value. This identifies a specific quote for an inventory block.

Returns:
value

setQuoteID

public void setQuoteID(java.lang.String quoteID)
Set the 'QuoteID' attribute value. This identifies a specific quote for an inventory block.

Parameters:
quoteID -