예제 #1
0
 def width(self):
     return to_int_or_none(
         self._core_video_iframe.video_iframe_width
     )
예제 #2
0
 def star_rating(self):
     return to_int_or_none(
         self._core_review.star_rating
     )
예제 #3
0
 def cached_max_seats(self):
     """Maximum number of contiguous seats available."""
     return to_int_or_none(
         self._get_core_performance_attr('cached_max_seats')
     )
예제 #4
0
 def height(self):
     return to_int_or_none(
         self._core_video_iframe.video_iframe_height
     )
예제 #5
0
 def total_seats(self):
     """Number of available seats for this TicketType."""
     return to_int_or_none(self._core_price_band.raw_total_seats)
예제 #6
0
 def order_count(self):
     """Number of orders in this Bundle."""
     return to_int_or_none(
         self._core_bundle.bundle_order_count
     )
예제 #7
0
 def contiguous_seats(self):
     """Number of contiguous available seats for this Concession."""
     return to_int_or_none(self._core_discount.raw_contiguous_seats)
예제 #8
0
 def decimal_places(self):
     return to_int_or_none(
         self._core_currency.currency_places
     )
예제 #9
0
 def number_available(self):
     """Number of tickets that can be booked for this Concession."""
     return to_int_or_none(self._core_discount.number_available)
예제 #10
0
 def total_seats(self):
     """Number of available seats for this Concession."""
     return to_int_or_none(self._core_discount.raw_total_seats)
예제 #11
0
 def no_of_tickets(self):
     return to_int_or_none(self._core_discount.no_of_tickets)
예제 #12
0
 def int_percentage_saving(self):
     """Integer value of the percentage saving."""
     return to_int_or_none(self._core_price_band.percentage_saving)
예제 #13
0
 def contiguous_seats(self):
     """Number of contiguous available seats for this TicketType."""
     return to_int_or_none(self._core_price_band.raw_contiguous_seats)
예제 #14
0
 def number(self):
     return to_int_or_none(
         self._core_currency.currency_number
     )
예제 #15
0
 def int_percentage_saving(self):
     """Integer value of the percentage saving."""
     return to_int_or_none(self._core_avail_detail.percentage_saving)
예제 #16
0
 def factor(self):
     return to_int_or_none(
         self._core_currency.currency_factor
     )
예제 #17
0
 def order_count(self):
     """Number of orders in this Trolley."""
     return to_int_or_none(
         self._core_trolley.trolley_order_count
     )
예제 #18
0
 def block_length(self):
     if self._core_seat_block:
         return to_int_or_none(
             self._core_seat_block.block_length
         )
     return None
예제 #19
0
 def number_available(self):
     """Number of tickets that can be booked for this TicketType."""
     return to_int_or_none(self._core_price_band.number_available)