'Program\'s applicable seat types should match some or all seat types of the seats that are a part of the program.
Otherwise, ecommerce API endpoint for calculating the discounted price won\'t be called.
Returns:
seat: seat for which the discount is applicable'

def _prepare_program_for_discounted_price_calculation_endpoint(self):

    self.ecommerce_service = EcommerceService()
    seat = self.program['courses'][0]['course_runs'][0]['seats'][0]
    self.program['applicable_seat_types'] = [seat['type']]
    return seat
