
osgi.jibx-ota-osgi-loyalty.1.2.2-beta-1.source-code.loyalty-binding.xml Maven / Gradle / Ivy
The newest version!
<binding xmlns:ns1="http://www.opentravel.org/OTA/2003/05" name="loyalty_binding" package="org.jibx.ota.loyalty" 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.loyalty.CertificateCreateRS" name="OTA_LoyaltyCertificateCreateRS"> <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="getLoyaltyCertificateDetails" set-method="setLoyaltyCertificateDetails" create-type="java.util.ArrayList"> <structure type="org.jibx.ota.loyalty.CertificateCreateRS$LoyaltyCertificateDetail" name="LoyaltyCertificateDetail"> <structure map-as="ns1:LoyaltyCertificateNumberGroup-AttributeGroup" get-method="getLoyaltyCertificateNumberGroup" set-method="setLoyaltyCertificateNumberGroup" usage="optional"/> <value style="attribute" name="CustomerRPH" get-method="getCustomerRPH" set-method="setCustomerRPH" usage="optional"/> <value style="attribute" name="CertificateType" get-method="getCertificate" set-method="setCertificate" usage="optional"/> <value style="attribute" name="CertificateRefNumber" get-method="getCertificateRefNumber" set-method="setCertificateRefNumber" usage="optional"/> </structure> </collection> <collection get-method="getCustomers" set-method="setCustomers" create-type="java.util.ArrayList"> <structure type="org.jibx.ota.loyalty.CertificateCreateRS$Customer" name="Customer"> <structure map-as="ns1:PersonNameType"/> <value style="attribute" name="RPH" get-method="getRPH" set-method="setRPH" usage="optional"/> </structure> </collection> <collection get-method="getTravelInfos" set-method="setTravelInfos" create-type="java.util.ArrayList"> <structure map-as="ns1:LoyaltyTravelInfoType" name="TravelInfo"/> </collection> <collection get-method="getAccountInfos" set-method="setAccountInfos" create-type="java.util.ArrayList"> <structure map-as="ns1:AccountInfoType" name="AccountInfo"/> </collection> </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"/> </mapping> <mapping class="org.jibx.ota.loyalty.CertificateCreateNotifRS" name="OTA_LoyaltyCertificateCreateNotifRS"> <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"/> <structure map-as="ns1:UniqueID_Type" get-method="getUniqueID" set-method="setUniqueID" usage="optional" name="UniqueID"/> </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"/> </mapping> <mapping class="org.jibx.ota.loyalty.CertificateRedemptionRQ" name="OTA_LoyaltyCertificateRedemptionRQ"> <structure name="RedemptionInfo"> <structure name="RedemptionDetail"> <structure map-as="ns1:LoyaltyCertificateNumberGroup-AttributeGroup" get-method="getRedemptionInfoRedemptionDetailLoyaltyCertificateNumberGroup" set-method="setRedemptionInfoRedemptionDetailLoyaltyCertificateNumberGroup" usage="optional"/> <structure map-as="ns1:PromotionCodeGroup-AttributeGroup" get-method="getRedemptionInfoRedemptionDetailPromotionCodeGroup" set-method="setRedemptionInfoRedemptionDetailPromotionCodeGroup" usage="optional"/> </structure> <structure map-as="ns1:PersonNameType" get-method="getRedemptionInfoCustomer" set-method="setRedemptionInfoCustomer" usage="optional" name="Customer"/> <collection get-method="getRedemptionInfoTravelInfos" set-method="setRedemptionInfoTravelInfos" name="TravelInfos" create-type="java.util.ArrayList"> <structure map-as="ns1:LoyaltyTravelInfoType" name="TravelInfo"/> </collection> </structure> <structure map-as="ns1:OTA_PayloadStdAttributes-AttributeGroup" get-method="getOTAPayloadStdAttributes" set-method="setOTAPayloadStdAttributes"/> </mapping> <mapping class="org.jibx.ota.loyalty.CertificateCreateRQ" name="OTA_LoyaltyCertificateCreateRQ"> <structure map-as="ns1:POS_Type" get-method="getPOS" set-method="setPOS" usage="optional" name="POS"/> <collection get-method="getCustomers" set-method="setCustomers" create-type="java.util.ArrayList"> <structure type="org.jibx.ota.loyalty.CertificateCreateRQ$Customer" name="Customer"> <structure map-as="ns1:PersonNameType"/> <value style="attribute" name="RPH" get-method="getRPH" set-method="setRPH" usage="optional"/> <value style="attribute" name="ResBookDesigCode" get-method="getResBookDesigCode" set-method="setResBookDesigCode" usage="optional"/> <value style="attribute" name="FlightRPH" get-method="getFlightRPH" set-method="setFlightRPH" usage="optional"/> </structure> </collection> <structure name="TravelInfos"> <collection get-method="getTravelInfosTravelInfos" set-method="setTravelInfosTravelInfos" create-type="java.util.ArrayList"> <structure map-as="ns1:LoyaltyTravelInfoType" name="TravelInfo"/> </collection> <collection get-method="getLoyaltyCertificateDetails" set-method="setLoyaltyCertificateDetails" create-type="java.util.ArrayList"> <structure type="org.jibx.ota.loyalty.CertificateCreateRQ$LoyaltyCertificateDetail" name="LoyaltyCertificateDetail"> <structure map-as="ns1:LoyaltyCertificateNumberGroup-AttributeGroup" get-method="getLoyaltyCertificateNumberGroup" set-method="setLoyaltyCertificateNumberGroup" usage="optional"/> <value style="attribute" name="PinNumber" get-method="getPinNumber" set-method="setPinNumber" usage="optional"/> <value style="attribute" name="CustomerRPH" get-method="getCustomerRPH" set-method="setCustomerRPH" usage="optional"/> <value style="attribute" name="FlightRPH" get-method="getFlightRPH" set-method="setFlightRPH" usage="optional"/> <value style="attribute" name="AwardType" get-method="getAward" set-method="setAward" usage="optional"/> <value style="attribute" name="CertificateRefNumber" get-method="getCertificateRefNumber" set-method="setCertificateRefNumber" usage="optional"/> </structure> </collection> </structure> <structure map-as="ns1:OTA_PayloadStdAttributes-AttributeGroup" get-method="getOTAPayloadStdAttributes" set-method="setOTAPayloadStdAttributes"/> </mapping> <mapping class="org.jibx.ota.loyalty.CertificateCreateNotifRQ" name="OTA_LoyaltyCertificateCreateNotifRQ"> <structure map-as="ns1:PersonNameType" get-method="getCustomer" set-method="setCustomer" usage="optional" name="Customer"/> <structure name="TravelInfos"> <collection get-method="getTravelInfosTravelInfos" set-method="setTravelInfosTravelInfos" create-type="java.util.ArrayList"> <structure map-as="ns1:LoyaltyTravelInfoType" name="TravelInfo"/> </collection> <structure get-method="getTravelInfosCertificateNumber" set-method="setTravelInfosCertificateNumber" name="CertificateNumber"> <structure map-as="ns1:LoyaltyCertificateNumberGroup-AttributeGroup" usage="optional"/> </structure> </structure> <structure map-as="ns1:OTA_PayloadStdAttributes-AttributeGroup" get-method="getOTAPayloadStdAttributes" set-method="setOTAPayloadStdAttributes"/> </mapping> <mapping class="org.jibx.ota.loyalty.AccountCreateRQ" name="OTA_LoyaltyAccountCreateRQ"> <structure map-as="ns1:AccountInfoType" get-method="getAccountInfo" set-method="setAccountInfo" name="AccountInfo"/> <structure map-as="ns1:LocationType" get-method="getLocation" set-method="setLocation" usage="optional" name="Location"/> <structure map-as="ns1:OTA_PayloadStdAttributes-AttributeGroup" get-method="getOTAPayloadStdAttributes" set-method="setOTAPayloadStdAttributes"/> </mapping> <mapping class="org.jibx.ota.loyalty.CertificateRedemptionRS" name="OTA_LoyaltyCertificateRedemptionRS"> <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"/> </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"/> </mapping> <mapping class="org.jibx.ota.loyalty.AccountRS" name="OTA_LoyaltyAccountRS"> <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"/> <structure map-as="ns1:UniqueID_Type" get-method="getUniqueID" set-method="setUniqueID" name="UniqueID"/> <structure get-method="getAccountInfo" set-method="setAccountInfo" usage="optional" name="AccountInfo"> <structure map-as="ns1:AccountInfoType"/> <structure get-method="getCustLoyalty" set-method="setCustLoyalty" usage="optional" name="CustLoyalty"> <structure map-as="ns1:CustomerLoyaltyGroup-AttributeGroup" usage="optional"/> </structure> <value style="attribute" name="Action" get-method="getAction" set-method="setAction" usage="optional" format="ns1:ActionType"/> </structure> <structure map-as="ns1:LocationType" get-method="getLocation" set-method="setLocation" usage="optional" name="Location"/> </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"/> </mapping> <mapping abstract="true" type-name="ns1:AccountInfoType" class="org.jibx.ota.loyalty.AccountInfo"> <format type="org.jibx.ota.loyalty.AccountInfo$MemberPreferences$Offer$Type" enum-value-method="toString"/> <format type="org.jibx.ota.loyalty.AccountInfo$MemberPreferences$AwardsPreference" enum-value-method="toString"/> <format type="org.jibx.ota.loyalty.AccountInfo$SecurityInfo$PasswordHint$Hint" enum-value-method="toString"/> <format type="org.jibx.ota.loyalty.AccountInfo$Enrollment" enum-value-method="toString"/> <structure map-as="ns1:ContactPersonType" get-method="getMemberInfo" set-method="setMemberInfo" name="MemberInfo"/> <structure get-method="getMemberPreferences" set-method="setMemberPreferences" usage="optional" name="MemberPreferences"> <collection get-method="getAdditionalRewards" set-method="setAdditionalRewards" create-type="java.util.ArrayList"> <structure type="org.jibx.ota.loyalty.AccountInfo$MemberPreferences$AdditionalReward" name="AdditionalReward"> <structure map-as="ns1:CompanyNameType" get-method="getCompanyName" set-method="setCompanyName" usage="optional" name="CompanyName"/> <structure map-as="ns1:PersonNameType" get-method="getName" set-method="setName" usage="optional" name="Name"/> <value style="attribute" name="MemberID" get-method="getMemberID" set-method="setMemberID" usage="optional"/> </structure> </collection> <collection get-method="getOffers" set-method="setOffers" create-type="java.util.ArrayList"> <structure type="org.jibx.ota.loyalty.AccountInfo$MemberPreferences$Offer" name="Offer"> <collection get-method="getCommunications" set-method="setCommunications" create-type="java.util.ArrayList"> <structure type="org.jibx.ota.loyalty.AccountInfo$MemberPreferences$Offer$Communication" name="Communication"> <value style="attribute" name="DistribType" get-method="getDistrib" set-method="setDistrib" usage="optional"/> </structure> </collection> <value style="attribute" name="Type" get-method="getType" set-method="setType" usage="optional"/> </structure> </collection> <value style="attribute" name="Awareness" get-method="getAwareness" set-method="setAwareness" usage="optional"/> <structure map-as="ns1:PromotionCodeGroup-AttributeGroup" get-method="getPromotionCodeGroup" set-method="setPromotionCodeGroup" usage="optional"/> <value style="attribute" name="AwardsPreference" get-method="getAwardsPreference" set-method="setAwardsPreference" usage="optional"/> </structure> <structure get-method="getSecurityInfo" set-method="setSecurityInfo" usage="optional" name="SecurityInfo"> <collection get-method="getPasswordHints" set-method="setPasswordHints" create-type="java.util.ArrayList"> <structure type="org.jibx.ota.loyalty.AccountInfo$SecurityInfo$PasswordHint" name="PasswordHint"> <value style="text" get-method="getString" set-method="setString"/> <value style="attribute" name="Hint" get-method="getHint" set-method="setHint" usage="optional"/> </structure> </collection> <value style="attribute" name="Username" get-method="getUsername" set-method="setUsername" usage="optional"/> <value style="attribute" name="Password" get-method="getPassword" set-method="setPassword" usage="optional"/> </structure> <collection get-method="getSubAccountBalances" set-method="setSubAccountBalances" create-type="java.util.ArrayList"> <structure type="org.jibx.ota.loyalty.AccountInfo$SubAccountBalance" name="SubAccountBalance"> <value style="attribute" name="Type" get-method="getType" set-method="setType" usage="optional"/> <value style="attribute" name="Balance" get-method="getBalance" set-method="setBalance" usage="optional"/> </structure> </collection> <value style="attribute" name="PointBalance" get-method="getPointBalance" set-method="setPointBalance" usage="optional"/> <value style="attribute" name="EnrollmentType" get-method="getEnrollment" set-method="setEnrollment" usage="optional"/> <value style="attribute" name="EnrollmentMethod" get-method="getEnrollmentMethod" set-method="setEnrollmentMethod" usage="optional"/> </mapping> <mapping abstract="true" type-name="ns1:LoyaltyTravelInfoType" class="org.jibx.ota.loyalty.LoyaltyTravelInfo"> <structure ordered="false" choice="true"> <structure test-method="ifHotelStayInfo" get-method="getHotelStayInfo" set-method="setHotelStayInfo" usage="optional" name="HotelStayInfo"> <structure map-as="ns1:UniqueID_Type" get-method="getReservationID" set-method="setReservationID" usage="optional" name="ReservationID"/> <structure get-method="getRoomStayInfo" set-method="setRoomStayInfo" usage="optional" name="RoomStayInfo"> <structure map-as="ns1:RoomTypeType" get-method="getRoom" set-method="setRoom" usage="optional" name="RoomType"/> <structure map-as="ns1:RatePlanType" get-method="getRatePlan" set-method="setRatePlan" usage="optional" name="RatePlan"/> <structure map-as="ns1:DateTimeSpanGroup-AttributeGroup" get-method="getDateTimeSpanGroup" set-method="setDateTimeSpanGroup" usage="optional"/> </structure> <structure map-as="ns1:HotelReferenceGroup-AttributeGroup" get-method="getHotelReferenceGroup" set-method="setHotelReferenceGroup" usage="optional"/> </structure> <structure test-method="ifAirFlightInfo" usage="optional" name="AirFlightInfo"> <collection get-method="getFlightSegments" set-method="setFlightSegments" create-type="java.util.ArrayList"> <structure map-as="ns1:BookFlightSegmentType" name="FlightSegment"/> </collection> </structure> <structure test-method="ifCarRentalInfo" get-method="getCarRentalInfo" set-method="setCarRentalInfo" usage="optional" name="CarRentalInfo"> <structure name="CarSegment"> <structure map-as="ns1:CompanyNameType" get-method="getCarSegmentVendor" set-method="setCarSegmentVendor" usage="optional" name="Vendor"/> <structure map-as="ns1:VehicleRentalCoreType" get-method="getCarSegmentVehRentalCore" set-method="setCarSegmentVehRentalCore" usage="optional" name="VehRentalCore"/> <structure map-as="ns1:VehicleCoreType" get-method="getCarSegmentVehicle" set-method="setCarSegmentVehicle" usage="optional" name="Vehicle"/> </structure> </structure> </structure> </mapping> </binding>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy