SaleScenario

public final class SaleScenario

Provides the special scenarios that need to be taken into account when using this rate.

Parameters

package If true, this rate has been provided to be bundled with car, air, etc. and displayed as a total package price. If shopping in a cross-sell scenario and using the cross-sell rate option, this indicates that the rate is a package rate available to be sold as an add-on to an existing itinerary.

member

If true, this rate has a \"Member Only Deal\" discount applied to the rate. Partners must be enabled to receive \"Member Only Deals\". If interested, partners should speak to their account representatives. This parameter can be used to merchandise if a \"Member Only Deal\" has been applied, which will help drive loyalty. In addition, it can be used by OTA's to create an opaque, but public shopping experience. This value will always be false for requests where the sales_environment is equal to \"hotel_package\".

corporate

If true, this rate is a corporate negotiated rate. These rates provide additional value adds (e.g. free breakfast, free wifi, discount) and same-day cancellation.

distribution

If true, this rate is an EPS Optimized Distribution rate. These rates are procured exclusively for EPS distribution and may contain benefits such as larger marketing fee, less restrictive cancellation policies, additional value adds, or unique availability.

mobilePromotion

If true, this rate has an associated mobile promotion which can be advertised as a special mobile only deal. This will only be present when include=sale_scenario.mobile_promotion is passed as a request parameter.

Constructors

Link copied to clipboard
public SaleScenario SaleScenario(Boolean package, Boolean member, Boolean corporate, Boolean distribution, Boolean mobilePromotion)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
@Valid()
private final Boolean corporate
Link copied to clipboard
@Valid()
private final Boolean distribution
Link copied to clipboard
@Valid()
private final Boolean member
Link copied to clipboard
@Valid()
private final Boolean mobilePromotion
Link copied to clipboard
@Valid()
private final Boolean package

Functions

Link copied to clipboard
public final static SaleScenario.Builder builder()
Link copied to clipboard
public final Boolean getCorporate()
Link copied to clipboard
public final Boolean getDistribution()
Link copied to clipboard
public final Boolean getMember()
Link copied to clipboard
public final Boolean getMobilePromotion()
Link copied to clipboard
public final Boolean getPackage()