Activity

public final class Activity

Detailed information on the Activity.

Parameters

id

The numerical identifier for this particular activity

title

The display title for this activity.

description

The description of the Activity.

media

List of activity Media.

categories

A list of the Activity categories to which this particular activity belongs. Possible values are: Adventures Air, Balloon & Helicopter Tours Attractions Cruises & Water Tours Day Trips & Excursions Food & Drink Hop-on Hop-off Multi-Day & Extended Tours Nightlife Private Tours Private Transfers Shared Transfers Show & Sport Tickets Sightseeing Passes Theme Parks Tours & Sightseeing Walking & Bike Tours Water Activities Wedding Ceremonies Winter Activities

duration

The anticipated time duration for the activity. Using java jdk Duration parsing.

freeCancellation

A boolean value describing whether or not this activity reservation can be cancelled without incurring a penalty.

price
supplier
redemption
activityLocations

Container of location information where activity happens.

reviewScore

The overall Expedia score for the activity.

reviewCount

The number of Expedia reviews that went into the calculation of the ReviewScore.

links

HATEOAS links included in this response.

cancellationPolicy
highlights

Web formatted statement of the Highlight(s) for the activity.

termsAndConditions

Terms and Conditions for the Activity.

inclusions

Web formatted statement of what is included in the activity

exclusions

Web formatted statement of what is NOT included in the activity

knowBeforeYouBook

Web formatted statement of things that a purchaser should be aware of BEFORE they book this activity.

knowBeforeYouGo

Web formatted statement of things that a purchaser should be aware of BEFORE they go to this activity.

offers

Offers for the activity.

Constructors

Link copied to clipboard
public Activity Activity(    Integer id,     String title,     String description,     List<ActivitiesMedia> media,     List<String> categories,     String duration,     Boolean freeCancellation,     ActivitiesPrice price,     ActivitiesSupplier supplier,     Redemption redemption,     List<ActivitiesLocation> activityLocations,     Integer reviewScore,     Integer reviewCount,     Map<String, ActivitiesLink> links,     ActivitiesCancellationPolicy cancellationPolicy,     List<String> highlights,     List<String> termsAndConditions,     List<String> inclusions,     List<String> exclusions,     List<String> knowBeforeYouBook,     List<String> knowBeforeYouGo,     List<Offer> offers)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
@Valid()
private final List<ActivitiesLocation> activityLocations
Link copied to clipboard
Link copied to clipboard
@NotNull()
@Valid()
private final List<String> categories
Link copied to clipboard
@NotNull()
@Valid()
private final String description
Link copied to clipboard
@NotNull()
@Valid()
private final String duration
Link copied to clipboard
@Valid()
private final List<String> exclusions
Link copied to clipboard
@NotNull()
@Valid()
private final Boolean freeCancellation
Link copied to clipboard
@Valid()
private final List<String> highlights
Link copied to clipboard
private final Integer id
Link copied to clipboard
@Valid()
private final List<String> inclusions
Link copied to clipboard
@Valid()
private final List<String> knowBeforeYouBook
Link copied to clipboard
@Valid()
private final List<String> knowBeforeYouGo
Link copied to clipboard
@Valid()
private final Map<String, ActivitiesLink> links
Link copied to clipboard
@NotNull()
@Valid()
private final List<ActivitiesMedia> media
Link copied to clipboard
@Valid()
private final List<Offer> offers
Link copied to clipboard
@NotNull()
@Valid()
private final ActivitiesPrice price
Link copied to clipboard
@Valid()
private final Redemption redemption
Link copied to clipboard
private final Integer reviewCount
Link copied to clipboard
private final Integer reviewScore
Link copied to clipboard
@NotNull()
@Valid()
private final ActivitiesSupplier supplier
Link copied to clipboard
@Valid()
private final List<String> termsAndConditions
Link copied to clipboard
@NotNull()
@Valid()
private final String title

Functions

Link copied to clipboard
public final static Activity.Builder builder()
Link copied to clipboard
Link copied to clipboard
public final List<String> getCategories()
Link copied to clipboard
public final String getDescription()
Link copied to clipboard
public final String getDuration()
Link copied to clipboard
public final List<String> getExclusions()
Link copied to clipboard
Link copied to clipboard
public final List<String> getHighlights()
Link copied to clipboard
public final Integer getId()
Link copied to clipboard
public final List<String> getInclusions()
Link copied to clipboard
Link copied to clipboard
public final List<String> getKnowBeforeYouGo()
Link copied to clipboard
public final Map<String, ActivitiesLink> getLinks()
Link copied to clipboard
public final List<ActivitiesMedia> getMedia()
Link copied to clipboard
public final List<Offer> getOffers()
Link copied to clipboard
public final ActivitiesPrice getPrice()
Link copied to clipboard
public final Redemption getRedemption()
Link copied to clipboard
public final Integer getReviewCount()
Link copied to clipboard
public final Integer getReviewScore()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final String getTitle()
Link copied to clipboard
public final Activity.Builder toBuilder()