[Home](./index.md) > [bitburner](./bitburner.md) > [OfficeAPI](./bitburner.officeapi.md) > [buyCoffee](./bitburner.officeapi.buycoffee.md) ## OfficeAPI.buyCoffee() method Buy coffee for your employees **Signature:** ```typescript buyCoffee(divisionName: string, city: CityName | `${CityName}`): boolean; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | divisionName | string | Name of the division | | city | [CityName](./bitburner.cityname.md) \| \`${[CityName](./bitburner.cityname.md)}\` | Name of the city | **Returns:** boolean true if buying coffee was successful, false otherwise