metonimia

noun
  1. Metonimia is a figure of speech in which one word or phrase is substituted with another that is closely associated with it. It is used to convey a concept by using a related term instead of the actual term. noun
    The White House issued a statement today, where 'The White House' refers to the President or the administration.
    He drank the whole bottle, where 'bottle' refers to the liquid inside it.