HotelOffer
in package
A namespaced client for the "/v3/shopping/hotel-offers/:offer_id" endpoints.
Access via the Amadeus client object.
$amadeus = Amadeus::builder("clientId", "secret")->build(); $amadeus->getShopping()->getHotelOffer();
Table of Contents
- $amadeus : Amadeus
- $offerId : string
- __construct() : mixed
- get() : HotelOffers
- Hotel Search API:
Properties
$amadeus
private
Amadeus
$amadeus
$offerId
private
string
$offerId
Methods
__construct()
public
__construct(Amadeus $amadeus, string $offerId) : mixed
Parameters
- $amadeus : Amadeus
- $offerId : string
Return values
mixed —get()
Hotel Search API:
public
get() : HotelOffers
Return details for a specific offer.
$amadeus->getShopping()->getHotelOffer("XXX")->get();
Tags
Return values
HotelOffers —an API resource