Skip to main content

PluginType

Plugin Type. Select the type indicated for each plugin in our documentation. (deprecated from 2025-08-25. This property is no longer recommended for use.)

enum PluginType {
PRE_STEP
HOTEL_MAP
BOARD_MAP
ROOM_MAP
CURRENCY_CONVERSION
MARKUP
AGGREGATION
POST_STEP
COMMISSION
MARKETS_GROUP
AMENITY_MAP
PROMOTION_MAP
}

Valuesโ€‹

PluginType.PRE_STEPโ€‹

PRE_STEP is the first plugin that will be executed, allowing a full range of operations: splitting arrays, joining arrays, modifying object values, and adding or removing object instances

PluginType.HOTEL_MAPโ€‹

HOTEL_MAP allows to match Seller and Buyer hotel codes based on contexts

PluginType.BOARD_MAPโ€‹

BOARD_MAP allows to match Seller and Buyer board codes based on contexts

PluginType.ROOM_MAPโ€‹

ROOM_MAP allows to match Seller and Buyer room codes based on contexts

PluginType.CURRENCY_CONVERSIONโ€‹

CURRENCY_CONVERSION allows to apply currency conversion over all the prices in one Option

PluginType.MARKUPโ€‹

MARKUP allows the application of markup over the price

PluginType.AGGREGATIONโ€‹

AGGREGATION allows aggregating multiple supplier options.

PluginType.POST_STEPโ€‹

POST_STEP is the last plugin that will be executed, allowing a full range of operations: split arrays, join arrays, modify object values, add or remove object instances

PluginType.COMMISSIONโ€‹

COMMISSION plugin allows the user to calculate the commission

PluginType.MARKETS_GROUPโ€‹

MARKETS_GROUP plugin allows the user to group search result by markets (SO3166_1_alfa_2) with shared options

PluginType.AMENITY_MAPโ€‹

AMENITY_MAP allows to match Seller and Buyer amenities codes based on contexts

PluginType.PROMOTION_MAPโ€‹

PROMOTION_MAP allows to match Seller and Buyer promotion codes based on contexts

Member Ofโ€‹

HotelXDefaultPlugin objectย โ—ย HotelXDefaultPluginInput inputย โ—ย PluginsInput input