Builder

public final class Builder

Constructors

Link copied to clipboard
public Activity.Builder Activity.Builder(    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)

Functions

Link copied to clipboard
public final Activity.Builder activityLocations(List<ActivitiesLocation> activityLocations)
Link copied to clipboard
public final Activity build()
Link copied to clipboard
Link copied to clipboard
public final Activity.Builder categories(List<String> categories)
Link copied to clipboard
public final Activity.Builder description(String description)
Link copied to clipboard
public final Activity.Builder duration(String duration)
Link copied to clipboard
public final Activity.Builder exclusions(List<String> exclusions)
Link copied to clipboard
public final Activity.Builder freeCancellation(Boolean freeCancellation)
Link copied to clipboard
public final Activity.Builder highlights(List<String> highlights)
Link copied to clipboard
public final Activity.Builder id(Integer id)
Link copied to clipboard
public final Activity.Builder inclusions(List<String> inclusions)
Link copied to clipboard
public final Activity.Builder knowBeforeYouBook(List<String> knowBeforeYouBook)
Link copied to clipboard
public final Activity.Builder knowBeforeYouGo(List<String> knowBeforeYouGo)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final Activity.Builder offers(List<Offer> offers)
Link copied to clipboard
public final Activity.Builder price(ActivitiesPrice price)
Link copied to clipboard
public final Activity.Builder redemption(Redemption redemption)
Link copied to clipboard
public final Activity.Builder reviewCount(Integer reviewCount)
Link copied to clipboard
public final Activity.Builder reviewScore(Integer reviewScore)
Link copied to clipboard
Link copied to clipboard
public final Activity.Builder termsAndConditions(List<String> termsAndConditions)
Link copied to clipboard
public final Activity.Builder title(String title)