Class RequestBundle


  • public class RequestBundle
    extends RequestBase<Bundle>
    The Request Bundle class returns all bundles available for all content types. A bundles is a set of items that grouped together and sold for a single price. Examples: four tv episodes sold together at a single price or a movie sold with popcorn and a soda for a single price.

    You can filter by content name, seat class and price.

    The class is returned by ContentDiscovery.getBundleRequest() (String)}. It has methods to execute request synchronously and asynchronously and also provides a set of Set methods for parameters.
    • Method Detail

      • setSeatClass

        public void setSeatClass​(java.lang.String seatClass)
        Specifies the seat class, such as first or business. If not specified, SeatClass.All will be used.
        Parameters:
        seatClass - Only accepts strings provided by SeatClass, such as first, business or all.
      • setRootContentType

        public void setRootContentType​(java.lang.String rootContentType)
        Specifies the root content type to filter result. If this is not called, contents for all types are returned.
        Parameters:
        rootContentType - Only accepts strings provided by RootContentType, such as media, games or ebooks.
      • setPrice

        public void setPrice​(java.lang.String price)
        Sets the price to filter the items. The price can be a single price or price range, such as 'between $2.99 and $5.99'.
        Parameters:
        price - Sets the price range