@ Nullable public static Bid . Builder bidWithId ( BidResponse . Builder response , String id ) { checkNotNull ( id ) ; for ( SeatBid . Builder seatbid : response . getSeatbidBuilderList ( ) ) { for ( Bid . Builder bid : seatbid . getBidBuilderList ( ) ) { if ( id . equals ( bid . getId ( ) ) ) { return bid ; } } } return null ; }
Finds a bid by ID .