All Downloads are FREE. Search and download functionalities are using the official Maven repository.

osgi.jibx-ota-osgi-destactivity.1.2.2-beta-1.source-code.destactivity-binding.xml Maven / Gradle / Ivy

The newest version!
<binding xmlns:ns1="http://www.opentravel.org/OTA/2003/05" name="destactivity_binding" package="org.jibx.ota.destactivity" trim-whitespace="true">
  <namespace uri="http://www.opentravel.org/OTA/2003/05" default="elements"/>
  <include path="../../../jibx-ota-osgi-hotel/target/generated-sources/hotel-binding.xml" precompiled="true"/>
  <mapping class="org.jibx.ota.destactivity.CapabilitiesRS" name="OTA_DestActivityCapabilitiesRS">
    <value style="attribute" name="MultipleItemsInd" get-method="isMultipleItemsInd" set-method="setMultipleItemsInd"/>
    <value style="attribute" name="CustSubAllocationInd" get-method="isCustSubAllocationInd" set-method="setCustSubAllocationInd"/>
    <value style="attribute" name="FullCustDetailsInd" get-method="isFullCustDetailsInd" set-method="setFullCustDetailsInd"/>
    <structure map-as="ns1:OTA_PayloadStdAttributes-AttributeGroup" get-method="getOTAPayloadStdAttributes" set-method="setOTAPayloadStdAttributes"/>
  </mapping>
  <mapping class="org.jibx.ota.destactivity.ResRS" name="OTA_DestActivityResRS">
    <structure ordered="false" choice="true">
      <structure test-method="ifSuccess" usage="optional">
        <structure map-as="ns1:SuccessType" get-method="getSuccess" set-method="setSuccess" name="Success"/>
        <structure map-as="ns1:WarningsType" get-method="getWarnings" set-method="setWarnings" usage="optional" name="Warnings"/>
        <collection get-method="getReservationReferences" set-method="setReservationReferences" name="ReservationReferences" create-type="java.util.ArrayList">
          <structure map-as="ns1:UniqueID_Type" name="ReservationReference"/>
        </collection>
        <structure get-method="getReservationResponseItems" set-method="setReservationResponseItems" usage="optional" name="ReservationResponseItems">
          <collection get-method="getItems" set-method="setItems" create-type="java.util.ArrayList">
            <structure map-as="ns1:DestActivityResResponseItemType" name="Item"/>
          </collection>
        </structure>
        <structure map-as="ns1:DestActivityReservationType" get-method="getDestActivityReservation" set-method="setDestActivityReservation" usage="optional" name="DestActivityReservation"/>
      </structure>
      <structure map-as="ns1:ErrorsType" test-method="ifErrors" get-method="getErrors" set-method="setErrors" usage="optional" name="Errors"/>
    </structure>
    <structure map-as="ns1:OTA_PayloadStdAttributes-AttributeGroup" get-method="getOTAPayloadStdAttributes" set-method="setOTAPayloadStdAttributes"/>
    <value style="attribute" name="ResResponseType" get-method="getResResponse" set-method="setResResponse" usage="optional" format="ns1:TransactionStatusType"/>
  </mapping>
  <mapping class="org.jibx.ota.destactivity.ResRQ" name="OTA_DestActivityResRQ">
    <structure map-as="ns1:POS_Type" get-method="getPOS" set-method="setPOS" usage="optional" name="POS"/>
    <structure map-as="ns1:DestActivityReservationType" get-method="getDestActivityReservation" set-method="setDestActivityReservation" name="DestActivityReservation"/>
    <structure map-as="ns1:OTA_PayloadStdAttributes-AttributeGroup" get-method="getOTAPayloadStdAttributes" set-method="setOTAPayloadStdAttributes"/>
    <value style="attribute" name="ResStatus" get-method="getResStatus" set-method="setResStatus" usage="optional" format="ns1:TransactionActionType"/>
  </mapping>
  <mapping abstract="true" type-name="ns1:DestActivityItemsType" class="org.jibx.ota.destactivity.DestActivityItems">
    <collection get-method="getItems" set-method="setItems" create-type="java.util.ArrayList">
      <structure map-as="ns1:ItemType" name="Item"/>
    </collection>
  </mapping>
  <mapping abstract="true" type-name="ns1:DestActivityReservationType" class="org.jibx.ota.destactivity.DestActivityReservation">
    <structure map-as="ns1:UniqueID_Type" get-method="getUniqueID" set-method="setUniqueID" usage="optional" name="UniqueID"/>
    <collection type="java.util.List" get-method="getTravelerCounts" set-method="setTravelerCounts" create-type="java.util.ArrayList">
      <structure type="org.jibx.ota.base.TravelerCountGroup" name="TravelerCount">
        <structure map-as="ns1:TravelerCountGroup-AttributeGroup" usage="optional"/>
      </structure>
    </collection>
    <structure map-as="ns1:TravelersType" get-method="getTravelers" set-method="setTravelers" usage="optional" name="Travelers"/>
    <structure map-as="ns1:ContactPersonType" get-method="getContact" set-method="setContact" name="Contact"/>
    <structure map-as="ns1:DestActivityItemsType" get-method="getDestActivityItems" set-method="setDestActivityItems" name="DestActivityItems"/>
  </mapping>
  <mapping abstract="true" type-name="ns1:DestActivityResResponseItemType" class="org.jibx.ota.destactivity.DestActivityResResponseItem">
    <structure map-as="ns1:ParagraphType" get-method="getPickupLocation" set-method="setPickupLocation" usage="optional" name="PickupLocation"/>
    <collection get-method="getReservationItemReferences" set-method="setReservationItemReferences" name="ReservationItemReferences" create-type="java.util.ArrayList">
      <structure map-as="ns1:UniqueID_Type" name="ReservationItemReference"/>
    </collection>
    <value style="attribute" name="PickupTime" get-method="getPickupTime" set-method="setPickupTime" usage="optional" format="LocalTime.local"/>
  </mapping>
  <mapping abstract="true" type-name="ns1:ItemType" class="org.jibx.ota.destactivity.Item">
    <structure map-as="ns1:TotalType" get-method="getNegotiatedPrice" set-method="setNegotiatedPrice" name="NegotiatedPrice"/>
    <structure map-as="ns1:TotalType" get-method="getSellingPrice" set-method="setSellingPrice" usage="optional" name="SellingPrice"/>
    <structure get-method="getSubAllocation" set-method="setSubAllocation" usage="optional" name="SubAllocation">
      <value style="attribute" name="TravelerRPH" get-method="getTravelerRPH" set-method="setTravelerRPH"/>
    </structure>
    <collection get-method="getSpecialRequests" set-method="setSpecialRequests" create-type="java.util.ArrayList">
      <structure map-as="ns1:SpecialRequestType" name="SpecialRequest"/>
    </collection>
    <structure get-method="getHotelStay" set-method="setHotelStay" usage="optional" name="HotelStay">
      <structure map-as="ns1:HotelReferenceGroup-AttributeGroup" usage="optional"/>
    </structure>
    <collection get-method="getItemReferences" set-method="setItemReferences" name="ItemReferences" create-type="java.util.ArrayList">
      <structure map-as="ns1:UniqueID_Type" name="ItemReference"/>
    </collection>
    <value style="attribute" name="ItemCode" get-method="getItemCode" set-method="setItemCode"/>
    <value style="attribute" name="OptionCode" get-method="getOptionCode" set-method="setOptionCode" usage="optional"/>
    <value style="attribute" name="SelectedDate" get-method="getSelectedDate" set-method="setSelectedDate" format="LocalDate.default"/>
    <value style="attribute" name="Quantity" get-method="getQuantity" set-method="setQuantity" usage="optional"/>
    <value style="attribute" name="SelectedTime" get-method="getSelectedTime" set-method="setSelectedTime" usage="optional" format="LocalTime.local"/>
  </mapping>
  <mapping abstract="true" type-name="ns1:TravelersType" class="org.jibx.ota.destactivity.Travelers">
    <format type="org.jibx.ota.destactivity.Travelers$Traveler$TravelerCharacteristic$Type" enum-value-method="toString"/>
    <collection get-method="getTravelers" set-method="setTravelers" create-type="java.util.ArrayList">
      <structure type="org.jibx.ota.destactivity.Travelers$Traveler" name="Traveler">
        <structure map-as="ns1:ProfileType" get-method="getProfile" set-method="setProfile" usage="optional" name="Profile"/>
        <collection get-method="getTravelerCharacteristics" set-method="setTravelerCharacteristics" create-type="java.util.ArrayList">
          <structure type="org.jibx.ota.destactivity.Travelers$Traveler$TravelerCharacteristic" name="TravelerCharacteristic">
            <value style="attribute" name="Type" get-method="getType" set-method="setType" usage="optional"/>
            <structure map-as="ns1:UnitsOfMeasureGroup-AttributeGroup" get-method="getUnitsOfMeasureGroup" set-method="setUnitsOfMeasureGroup" usage="optional"/>
          </structure>
        </collection>
        <structure map-as="ns1:SpecialRequestType" get-method="getSpecialRequests" set-method="setSpecialRequests" usage="optional" name="SpecialRequests"/>
        <structure type="org.jibx.ota.base.TPAExtensions" get-method="getTPAExtensions" set-method="setTPAExtensions" usage="optional"/>
        <value style="attribute" name="RPH" get-method="getRPH" set-method="setRPH" usage="optional"/>
      </structure>
    </collection>
  </mapping>
  <mapping class="org.jibx.ota.destactivity.CapabilitiesRQ" name="OTA_DestActivityCapabilitiesRQ">
    <structure map-as="ns1:OTA_PayloadStdAttributes-AttributeGroup"/>
  </mapping>
</binding>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy