You will receive this information, once you buy a smartphone from an official provider and most of the cases, when you order online
If you don`t receive it or simply want to check it, you can get informed from the manufacturer`s site. For example, in the case of Samsung, you mention the model of your smartphone and you receive the information you need