Skip to main content

PluginType

Plugin Type. Select the type indicated for each plugin in our documentation.

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