Is there a way to remove partial postcodes from GoogleMaps autocomplete dropdown?

I’m not brilliant in Java and am quite new to the GoogleMaps API, I’m hoping this is simple.

I need to remove the partial postcode (in the red box) from the suggestions dropdown on autocomplete, so that users can only select a full postcode.

How do I achieve this or does anyone have a better suggestion?

Things to remove

I think everything works as it should but my client thinks to be able to select a partial postcode is too confusing.