![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
travel.wink:wink-sdk-java
Advanced tools
Welcome to the Java SDK that enables you to communicate with all that the Wink Travel Platform has to offer.
This SDK contains libraries you can leverage to communicate with the Wink platform.
Maven artifacts were compiled with Java 22.
Spring is not required, but we highly recommend you use it. Our examples will be based on how to do it the "Spring way".
Download libraries from Maven Central Repository.
The Affiliate API exposes endpoints to manage affiliate accounts. This API lets you:
<dependency>
<groupId>travel.wink</groupId>
<artifactId>affiliate-sdk-java</artifactId>
<packaging>jar</packaging>
<version><!-- see Releases --></version>
</dependency>
Using Spring, @Import(AffiliateSDKConfiguration.class) or run a component scan over travel.wink.sdk.affiliate
and travel.wink.sdk.support
. That will give you access to the following Spring Beans:
The Affiliate Browse API exposes endpoints for affiliates to browse inventory. This API lets you:
<dependency>
<groupId>travel.wink</groupId>
<artifactId>affiliate-browse-sdk-java</artifactId>
<packaging>jar</packaging>
<version><!-- see Releases --></version>
</dependency>
Using Spring, @Import(AffiliateBrowseSDKConfiguration.class) or run a component scan over travel.wink.sdk.affiliate.browse
and travel.wink.sdk.support
. That will give you access to the following Spring Beans:
The Affiliate Inventory API exposes endpoints for affiliates to manage the inventory they want to sell and how they want to sell it. This API lets you:
<dependency>
<groupId>travel.wink</groupId>
<artifactId>affiliate-inventory-sdk-java</artifactId>
<packaging>jar</packaging>
<version><!-- see Releases --></version>
</dependency>
Using Spring, @Import(AffiliateInventorySDKConfiguration.class) or run a component scan over travel.wink.sdk.affiliate.inventory
and travel.wink.sdk.support
. That will give you access to the following Spring Beans:
The Sales Channel API exposes endpoints for affiliates to manage existing sales channels as well as find new ones. This API lets you:
<dependency>
<groupId>travel.wink</groupId>
<artifactId>affiliate-sales-channel-sdk-java</artifactId>
<packaging>jar</packaging>
<version><!-- see Releases --></version>
</dependency>
Using Spring, @Import(AffiliateSalesChannelSDKConfiguration.class) or run a component scan over travel.wink.sdk.affiliate.sales.channel
and travel.wink.sdk.support
. That will give you access to the following Spring Beans:
The WinkLinks API exposes endpoints to manage WinkLink entries, categories and settings. This API lets you:
<dependency>
<groupId>travel.wink</groupId>
<artifactId>affiliate-winklinks-sdk-java</artifactId>
<packaging>jar</packaging>
<version><!-- see Releases --></version>
</dependency>
Using Spring, @Import(AffiliateWinkLinksSDKConfiguration.class) or run a component scan over travel.wink.sdk.affiliate.syndication
and travel.wink.sdk.support
. That will give you access to the following Spring Beans:
The Analytics API gives you access to time series data on a variety of data sources to measure bookings and insights on properties, affiliates and traveler data.
<dependency>
<groupId>travel.wink</groupId>
<artifactId>analytics-sdk-java</artifactId>
<packaging>jar</packaging>
<version><!-- see Releases --></version>
</dependency>
Using Spring, @Import(AnalyticsSDKConfiguration.class) or run a component scan over travel.wink.sdk.analytics
and travel.wink.sdk.support
. That will give you access to the following Spring Beans:
Welcome to the Booking Engine API - A programmer-friendly way to book inventory that was found on our platform. This API lets you:
<dependency>
<groupId>travel.wink</groupId>
<artifactId>booking-sdk-java</artifactId>
<version><!-- see Releases --></version>
<packaging>jar</packaging>
</dependency>
Using Spring, @Import(BookingSDKConfiguration.class) or run a component scan over travel.wink.sdk.booking
and travel.wink.sdk.support
. That will give you access to the following Spring Beans:
The Channel Manager API enables external channel manager partners to map, exchange rate / availability information with us as well as be informed of bookings that occur on the Wink platform for one of their properties.
<dependency>
<groupId>travel.wink</groupId>
<artifactId>channel-manager-sdk-java</artifactId>
<version><!-- see Releases --></version>
<packaging>jar</packaging>
</dependency>
Using Spring, @Import(ChannelManagerSDKConfiguration.class) or run a component scan over travel.wink.sdk.channel.manager
and travel.wink.sdk.support
. That will give you access to the following Spring Beans:
A single endpoint to retrieve affiliate information needed to display the booking engine.
<dependency>
<groupId>travel.wink</groupId>
<artifactId>booking-engine-client-sdk-java</artifactId>
<version><!-- see Releases --></version>
<packaging>jar</packaging>
</dependency>
Using Spring, @Import(EngineClientSDKConfiguration.class) or run a component scan over travel.wink.sdk.booking.client
and travel.wink.sdk.support
. That will give you access to the following Spring Beans:
The Booking API exposes endpoints to manage bookings. This API lets you:
<dependency>
<groupId>travel.wink</groupId>
<artifactId>extranet-booking-sdk-java</artifactId>
<version><!-- see Releases --></version>
<packaging>jar</packaging>
</dependency>
Using Spring, @Import(ExtranetBookingSDKConfiguration.class) or run a component scan over travel.wink.sdk.extranet.booking
and travel.wink.sdk.support
. That will give you access to the following Spring Beans:
The Distribution API exposes endpoints for sales channels, connecting with affiliates, managing rates and inventory calendars and more on Wink. This API lets you:
<dependency>
<groupId>travel.wink</groupId>
<artifactId>extranet-distribution-sdk-java</artifactId>
<version><!-- see Releases --></version>
<packaging>jar</packaging>
</dependency>
Using Spring, @Import(ExtranetDistributionSDKConfiguration.class) or run a component scan over travel.wink.sdk.extranet.distribution
and travel.wink.sdk.support
. That will give you access to the following Spring Beans:
This part of the documentation concerns itself with the management of experiences, on and off the property. This API lets you create:
<dependency>
<groupId>travel.wink</groupId>
<artifactId>extranet-experiences-sdk-java</artifactId>
<version><!-- see Releases --></version>
<packaging>jar</packaging>
</dependency>
Using Spring, @Import(ExtranetExperiencesSDKConfiguration.class) or run a component scan over travel.wink.sdk.extranet.experiences
and travel.wink.sdk.support
. That will give you access to the following Spring Beans:
This part of the documentation concerns itself with the management of facilities, on and off the property. This API lets you create:
<dependency>
<groupId>travel.wink</groupId>
<artifactId>extranet-facilities-sdk-java</artifactId>
<version><!-- see Releases --></version>
<packaging>jar</packaging>
</dependency>
Using Spring, @Import(ExtranetFacilitiesSDKConfiguration.class) or run a component scan over travel.wink.sdk.extranet.facilities
and travel.wink.sdk.support
. That will give you access to the following Spring Beans:
This part of the documentation concerns itself with the management of cancellation policies, promotions, restrictions etc. This API lets you create:
<dependency>
<groupId>travel.wink</groupId>
<artifactId>extranet-monetize-sdk-java</artifactId>
<version><!-- see Releases --></version>
<packaging>jar</packaging>
</dependency>
Using Spring, @Import(ExtranetMonetizeSDKConfiguration.class) or run a component scan over travel.wink.sdk.extranet.monetize
and travel.wink.sdk.support
. That will give you access to the following Spring Beans:
This part of the documentation concerns itself with basic property management. It can:
<dependency>
<groupId>travel.wink</groupId>
<artifactId>extranet-property-sdk-java</artifactId>
<version><!-- see Releases --></version>
<packaging>jar</packaging>
</dependency>
Using Spring, @Import(ExtranetPropertySDKConfiguration.class) or run a component scan over travel.wink.sdk.extranet.property
and travel.wink.sdk.support
. That will give you access to the following Spring Beans:
This part of the documentation concerns itself about adding new properties to Wink. There are two endpoints for you to onboard a property:
<dependency>
<groupId>travel.wink</groupId>
<artifactId>extranet-property-register-sdk-java</artifactId>
<version><!-- see Releases --></version>
<packaging>jar</packaging>
</dependency>
Using Spring, @Import(ExtranetPropertyRegisterSDKConfiguration.class) or run a component scan over travel.wink.sdk.extranet.property.register
and travel.wink.sdk.support
. That will give you access to the following Spring Beans:
The Inventory API exposes endpoints to retrieve inventory you already know about. This API lets you:
<dependency>
<groupId>travel.wink</groupId>
<artifactId>inventory-sdk-java</artifactId>
<version><!-- see Releases --></version>
<packaging>jar</packaging>
</dependency>
Using Spring, @Import(InventorySDKConfiguration.class) or run a component scan over travel.wink.sdk.inventory
and travel.wink.sdk.support
. That will give you access to the following Spring Beans:
The Lookup API exposes endpoints to search for inventory by region, type. It's the entryway to bookable inventory when you don't yet know what you are looking for.
<dependency>
<groupId>travel.wink</groupId>
<artifactId>lookup-sdk-java</artifactId>
<version><!-- see Releases --></version>
<packaging>jar</packaging>
</dependency>
Using Spring, @Import(LookupSDKConfiguration.class) or run a component scan over travel.wink.sdk.lookup
and travel.wink.sdk.support
. That will give you access to the following Spring Beans:
The Notifications API is a way for us to stay in touch with your user, property or affiliate account.
<dependency>
<groupId>travel.wink</groupId>
<artifactId>notification-sdk-java</artifactId>
<version><!-- see Releases --></version>
<packaging>jar</packaging>
</dependency>
Using Spring, @Import(NotificationSDKConfiguration.class) or run a component scan over travel.wink.sdk.notification
and travel.wink.sdk.support
. That will give you access to the following Spring Beans:
Easy way to test your credentials.
<dependency>
<groupId>travel.wink</groupId>
<artifactId>ping-sdk-java</artifactId>
<version><!-- see Releases --></version>
<packaging>jar</packaging>
</dependency>
Using Spring, @Import(PingSDKConfiguration.class) or run a component scan over travel.wink.sdk.ping
and travel.wink.sdk.support
. That will give you access to the following Spring Beans:
The Reference API exposes endpoints related to supported taxonomies of reference data that this platform supports.
<dependency>
<groupId>travel.wink</groupId>
<artifactId>reference-sdk-java</artifactId>
<version><!-- see Releases --></version>
<packaging>jar</packaging>
</dependency>
Using Spring, @Import(ReferenceSDKConfiguration.class) or run a component scan over travel.wink.sdk.reference
and travel.wink.sdk.support
. That will give you access to the following Spring Beans:
The Travel Agent API exposes endpoints to manage agent-facilitated bookings. This API lets you:
<dependency>
<groupId>travel.wink</groupId>
<artifactId>travel-agent-sdk-java</artifactId>
<version><!-- see Releases --></version>
<packaging>jar</packaging>
</dependency>
Using Spring, @Import(TravelAgentSDKConfiguration.class) or run a component scan over travel.wink.sdk.travel.agent
and travel.wink.sdk.support
. That will give you access to the following Spring Beans:
The User Settings API exposes endpoints to allow 3rd party integrators to communicate with Wink. This API lets you:
<dependency>
<groupId>travel.wink</groupId>
<artifactId>user-settings-sdk-java</artifactId>
<version><!-- see Releases --></version>
<packaging>jar</packaging>
</dependency>
Using Spring, @Import(UserSettingsSDKConfiguration.class) or run a component scan over travel.wink.sdk.user.settings
and travel.wink.sdk.support
. That will give you access to the following Spring Beans:
You will need a client ID and a client secret to communicate with any of the Wink platform endpoints. You can create your account and get your credentials here:
Steps:
Add your credentials to your property file:
Create 2 environment variables in your preferred way:
FAQs
Java libraries for all wink APIs.
We found that travel.wink:wink-sdk-java demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.