getChainReference

public final Map<String, Chain> getChainReference(String customerSessionId, String billingTerms, String partnerPointOfSale, String paymentTerms, String platformName)
public final Map<String, Chain> getChainReference(String customerSessionId, String billingTerms, String partnerPointOfSale, String paymentTerms)
public final Map<String, Chain> getChainReference(String customerSessionId, String billingTerms, String partnerPointOfSale)
public final Map<String, Chain> getChainReference(String customerSessionId, String billingTerms)
public final Map<String, Chain> getChainReference(String customerSessionId)

Chain Reference Returns a complete collection of chains recognized by the Rapid API.
Chains represent a parent company which can have multiple brands associated with it. A brand can only be associated with one chain. For example, Hilton Worldwide is a chain that has multiple associated brands including Doubletree, Hampton Inn and Embassy Suites.
The response is a JSON map where the key is the chain ID and the value is a chain object. Each chain object also contains a map of its related brands.
Note that the set of chain IDs and brand IDs are totally independent of one another. It is possible for a chain and a brand to both use the same number as their ID, but this is just a coincidence that holds no meaning.
Chain and brand names are provided in English only.

Return

kotlin.collections.Map

Parameters

customerSessionId

Insert your own unique value for each user session, beginning with the first API call. Continue to pass the same value for each subsequent API call during the user's session, using a new value for every new customer session.
Including this value greatly eases EPS's internal debugging process for issues with partner requests, as it explicitly links together request paths for individual user's session. (optional)

billingTerms

This parameter is to specify the terms of how a resulting booking should be billed. If this field is needed, the value for this will be provided to you separately. (optional)

partnerPointOfSale

This parameter is to specify what point of sale is being used to shop and book. If this field is needed, the value for this will be provided to you separately. (optional)

paymentTerms

This parameter is to specify what terms should be used when being paid for a resulting booking. If this field is needed, the value for this will be provided to you separately. (optional)

platformName

This parameter is to specify what platform is being used to shop and book. If this field is needed, the value for this will be provided to you separately. (optional)

Throws