2022-10-21 17:16:00 +02:00
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home ](./index.md ) > [bitburner ](./bitburner.md ) > [Corporation ](./bitburner.corporation.md )
## Corporation interface
Corporation API
2023-02-11 19:18:50 +01:00
**Signature:**
2022-10-21 17:16:00 +02:00
```typescript
export interface Corporation extends WarehouseAPI, OfficeAPI
```
2023-02-11 19:18:50 +01:00
**Extends:** [WarehouseAPI ](./bitburner.warehouseapi.md )<!-- --> , [OfficeAPI ](./bitburner.officeapi.md )
2022-10-21 17:16:00 +02:00
## Methods
| Method | Description |
| --- | --- |
| [acceptInvestmentOffer() ](./bitburner.corporation.acceptinvestmentoffer.md ) | Accept investment based on you companies current valuation |
| [bribe(factionName, amountCash) ](./bitburner.corporation.bribe.md ) | Bribe a faction |
2023-09-20 06:36:48 +02:00
| [buyBackShares(amount) ](./bitburner.corporation.buybackshares.md ) | Buyback Shares. Spend money from the player's wallet to transfer shares from public traders to the CEO. |
2022-10-21 17:16:00 +02:00
| [createCorporation(corporationName, selfFund) ](./bitburner.corporation.createcorporation.md ) | Create a Corporation |
2022-12-30 02:28:53 +01:00
| [expandCity(divisionName, city) ](./bitburner.corporation.expandcity.md ) | Expand to a new city |
2022-10-21 17:16:00 +02:00
| [expandIndustry(industryType, divisionName) ](./bitburner.corporation.expandindustry.md ) | Expand to a new industry |
2022-11-20 18:07:22 +01:00
| [getBonusTime() ](./bitburner.corporation.getbonustime.md ) | Get bonus time. “Bonus time” is accumulated when the game is offline or if the game is inactive in the browser. “Bonus time” makes the game progress faster. |
2022-12-30 02:28:53 +01:00
| [getConstants() ](./bitburner.corporation.getconstants.md ) | Get corporation related constants |
2022-10-21 17:16:00 +02:00
| [getCorporation() ](./bitburner.corporation.getcorporation.md ) | Get corporation data |
| [getDivision(divisionName) ](./bitburner.corporation.getdivision.md ) | Get division data |
2022-12-30 02:28:53 +01:00
| [getIndustryData(industryName) ](./bitburner.corporation.getindustrydata.md ) | Get constant industry definition data for a specific industry |
2022-10-21 17:16:00 +02:00
| [getInvestmentOffer() ](./bitburner.corporation.getinvestmentoffer.md ) | Get an offer for investment based on you companies current valuation |
2022-12-30 02:28:53 +01:00
| [getMaterialData(materialName) ](./bitburner.corporation.getmaterialdata.md ) | Get constant data for a specific material |
2023-05-16 00:06:57 +02:00
| [getUnlockCost(upgradeName) ](./bitburner.corporation.getunlockcost.md ) | Gets the cost to unlock a one time unlockable upgrade |
2022-10-21 17:16:00 +02:00
| [getUpgradeLevel(upgradeName) ](./bitburner.corporation.getupgradelevel.md ) | Get the level of a levelable upgrade |
| [getUpgradeLevelCost(upgradeName) ](./bitburner.corporation.getupgradelevelcost.md ) | Gets the cost to unlock the next level of a levelable upgrade |
| [goPublic(numShares) ](./bitburner.corporation.gopublic.md ) | Go public |
2022-11-20 18:07:22 +01:00
| [hasCorporation() ](./bitburner.corporation.hascorporation.md ) | Returns whether the player has a corporation. Does not require API access. |
2023-05-16 00:06:57 +02:00
| [hasUnlock(upgradeName) ](./bitburner.corporation.hasunlock.md ) | Check if you have a one time unlockable upgrade |
2022-10-21 17:16:00 +02:00
| [issueDividends(rate) ](./bitburner.corporation.issuedividends.md ) | Issue dividends |
2022-12-30 02:28:53 +01:00
| [issueNewShares(amount) ](./bitburner.corporation.issuenewshares.md ) | Issue new shares |
2022-10-21 17:16:00 +02:00
| [levelUpgrade(upgradeName) ](./bitburner.corporation.levelupgrade.md ) | Level an upgrade. |
2023-10-23 10:24:30 +02:00
| [nextUpdate() ](./bitburner.corporation.nextupdate.md ) | Sleep until the next Corporation update has happened. |
2023-05-16 00:06:57 +02:00
| [purchaseUnlock(upgradeName) ](./bitburner.corporation.purchaseunlock.md ) | Unlock an upgrade |
2024-04-24 02:00:28 +02:00
| [sellDivision(divisionName) ](./bitburner.corporation.selldivision.md ) | Sell a division |
2023-09-20 06:36:48 +02:00
| [sellShares(amount) ](./bitburner.corporation.sellshares.md ) | Sell Shares. Transfer shares from the CEO to public traders to receive money in the player's wallet. |
2022-10-21 17:16:00 +02:00