org.ota.pkg
Class CostRS

java.lang.Object
  extended by org.ota.pkg.CostRS

public class CostRS
extends java.lang.Object

The message returns a basic costing for a requested package. 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="OTA_PkgCostRS">
   <xs:complexType>
     <xs:choice>
       <xs:sequence>
         <xs:element type="ns:SuccessType" name="Success"/>
         <xs:element type="ns:WarningsType" name="Warnings" minOccurs="0"/>
         <xs:element name="Package">
           <xs:complexType>
             <xs:complexContent>
               <xs:extension base="ns:PackageResponseType">
                 <xs:sequence>
                   <xs:element type="ns:PkgInvoiceDetail" name="CostSummary" minOccurs="0"/>
                   <xs:element name="AcceptedPaymtForms" minOccurs="0">
                     <!-- Reference to inner class AcceptedPaymtForms -->
                   </xs:element>
                 </xs:sequence>
               </xs:extension>
             </xs:complexContent>
           </xs:complexType>
         </xs:element>
         <xs:element name="AvailableExtras" minOccurs="0">
           <!-- Reference to inner class AvailableExtras -->
         </xs:element>
         <xs:element ref="ns:TPA_Extensions" minOccurs="0"/>
       </xs:sequence>
       <xs:element type="ns:ErrorsType" name="Errors"/>
     </xs:choice>
     <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/>
     <xs:attributeGroup ref="ns:CompanyID_AttributesGroup"/>
     <xs:attributeGroup ref="ns:CurrencyCodeGroup"/>
   </xs:complexType>
 </xs:element>
 
 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="SuccessType"/>
 
 <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"/>
 


Nested Class Summary
static class CostRS.AcceptedPaymtForms
          Details of the forms of payment accepted for this package.
static class CostRS.AvailableExtras
          A collection of extras which are bookable with the selected holiday package.
 
Constructor Summary
CostRS()
           
 
Method Summary
 void clearChoiceSelect()
          Clear the choice selection.
 CostRS.AcceptedPaymtForms getAcceptedPaymtForms()
          Get the 'AcceptedPaymtForms' element value.
 CostRS.AvailableExtras getAvailableExtras()
          Get the 'AvailableExtras' element value.
 CompanyIDAttributesGroup getCompanyIDAttributesGroup()
          Get the 'CompanyID_AttributesGroup' attributeGroup value.
 CurrencyCodeGroup getCurrencyCodeGroup()
          Get the 'CurrencyCodeGroup' attributeGroup value.
 Errors getErrors()
          Get the 'Errors' element value.
 OTAPayloadStdAttributes getOTAPayloadStdAttributes()
          Get the 'OTA_PayloadStdAttributes' attributeGroup value.
 PkgInvoiceDetail getPackageCostSummary()
          Get the 'CostSummary' element value.
 PackageResponse getPackagePackageResponse()
          Get the extension value.
 TPAExtensions getTPAExtensions()
          Get the 'TPA_Extensions' element value.
 Warnings getWarnings()
          Get the 'Warnings' element value.
 boolean ifErrors()
          Check if Errors is current selection for choice.
 boolean ifSuccess()
          Check if Success is current selection for choice.
 void setAcceptedPaymtForms(CostRS.AcceptedPaymtForms acceptedPaymtForms)
          Set the 'AcceptedPaymtForms' element value.
 void setAvailableExtras(CostRS.AvailableExtras availableExtras)
          Set the 'AvailableExtras' element value.
 void setCompanyIDAttributesGroup(CompanyIDAttributesGroup companyIDAttributesGroup)
          Set the 'CompanyID_AttributesGroup' attributeGroup value.
 void setCurrencyCodeGroup(CurrencyCodeGroup currencyCodeGroup)
          Set the 'CurrencyCodeGroup' attributeGroup value.
 void setErrors(Errors errors)
          Set the 'Errors' element value.
 void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
          Set the 'OTA_PayloadStdAttributes' attributeGroup value.
 void setPackageCostSummary(PkgInvoiceDetail _packageCostSummary)
          Set the 'CostSummary' element value.
 void setPackagePackageResponse(PackageResponse _packagePackageResponse)
          Set the extension value.
 void setTPAExtensions(TPAExtensions TPAExtensions)
          Set the 'TPA_Extensions' element value.
 void setWarnings(Warnings warnings)
          Set the 'Warnings' element value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CostRS

public CostRS()
Method Detail

clearChoiceSelect

public void clearChoiceSelect()
Clear the choice selection.


ifSuccess

public boolean ifSuccess()
Check if Success is current selection for choice.

Returns:
true if selection, false if not

getWarnings

public Warnings getWarnings()
Get the 'Warnings' element value. The presence of this element indicates that, while the preceding request message has been successfully processed, the requeat may not have been fully satisfied.

Returns:
value

setWarnings

public void setWarnings(Warnings warnings)
Set the 'Warnings' element value. The presence of this element indicates that, while the preceding request message has been successfully processed, the requeat may not have been fully satisfied.

Parameters:
warnings -

getPackagePackageResponse

public PackageResponse getPackagePackageResponse()
Get the extension value.

Returns:
value

setPackagePackageResponse

public void setPackagePackageResponse(PackageResponse _packagePackageResponse)
Set the extension value.

Parameters:
_packagePackageResponse -

getPackageCostSummary

public PkgInvoiceDetail getPackageCostSummary()
Get the 'CostSummary' element value. A summary of the basic costs for the package.

Returns:
value

setPackageCostSummary

public void setPackageCostSummary(PkgInvoiceDetail _packageCostSummary)
Set the 'CostSummary' element value. A summary of the basic costs for the package.

Parameters:
_packageCostSummary -

getAcceptedPaymtForms

public CostRS.AcceptedPaymtForms getAcceptedPaymtForms()
Get the 'AcceptedPaymtForms' element value. Details of the selected package.

Returns:
value

setAcceptedPaymtForms

public void setAcceptedPaymtForms(CostRS.AcceptedPaymtForms acceptedPaymtForms)
Set the 'AcceptedPaymtForms' element value. Details of the selected package.

Parameters:
acceptedPaymtForms -

getAvailableExtras

public CostRS.AvailableExtras getAvailableExtras()
Get the 'AvailableExtras' element value.

Returns:
value

setAvailableExtras

public void setAvailableExtras(CostRS.AvailableExtras availableExtras)
Set the 'AvailableExtras' element value.

Parameters:
availableExtras -

getTPAExtensions

public TPAExtensions getTPAExtensions()
Get the 'TPA_Extensions' element value. A placeholder in the schema to allow for additional elements and attributes to be included if required, per Trading Partner Agreement (TPA).

Returns:
value

setTPAExtensions

public void setTPAExtensions(TPAExtensions TPAExtensions)
Set the 'TPA_Extensions' element value. A placeholder in the schema to allow for additional elements and attributes to be included if required, per Trading Partner Agreement (TPA).

Parameters:
TPAExtensions -

ifErrors

public boolean ifErrors()
Check if Errors is current selection for choice.

Returns:
true if selection, false if not

getErrors

public Errors getErrors()
Get the 'Errors' element value. The presence of this element indicates that the receiving system has been unable to process preceding request message.

Returns:
value

setErrors

public void setErrors(Errors errors)
Set the 'Errors' element value. The presence of this element indicates that the receiving system has been unable to process preceding request message.

Parameters:
errors -

getOTAPayloadStdAttributes

public OTAPayloadStdAttributes getOTAPayloadStdAttributes()
Get the 'OTA_PayloadStdAttributes' attributeGroup value.

Returns:
value

setOTAPayloadStdAttributes

public void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
Set the 'OTA_PayloadStdAttributes' attributeGroup value.

Parameters:
OTAPayloadStdAttributes -

getCompanyIDAttributesGroup

public CompanyIDAttributesGroup getCompanyIDAttributesGroup()
Get the 'CompanyID_AttributesGroup' attributeGroup value.

Returns:
value

setCompanyIDAttributesGroup

public void setCompanyIDAttributesGroup(CompanyIDAttributesGroup companyIDAttributesGroup)
Set the 'CompanyID_AttributesGroup' attributeGroup value.

Parameters:
companyIDAttributesGroup -

getCurrencyCodeGroup

public CurrencyCodeGroup getCurrencyCodeGroup()
Get the 'CurrencyCodeGroup' attributeGroup value.

Returns:
value

setCurrencyCodeGroup

public void setCurrencyCodeGroup(CurrencyCodeGroup currencyCodeGroup)
Set the 'CurrencyCodeGroup' attributeGroup value.

Parameters:
currencyCodeGroup -