mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-10 01:33:54 +01:00
35 lines
718 B
Markdown
35 lines
718 B
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [bitburner](./bitburner.md) > [WarehouseAPI](./bitburner.warehouseapi.md) > [sellProduct](./bitburner.warehouseapi.sellproduct.md)
|
||
|
|
||
|
## WarehouseAPI.sellProduct() method
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
sellProduct(
|
||
|
divisionName: string,
|
||
|
cityName: string,
|
||
|
productName: string,
|
||
|
amt: number,
|
||
|
price: number,
|
||
|
all: boolean,
|
||
|
): void;
|
||
|
```
|
||
|
|
||
|
## Parameters
|
||
|
|
||
|
| Parameter | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| divisionName | string | |
|
||
|
| cityName | string | |
|
||
|
| productName | string | |
|
||
|
| amt | number | |
|
||
|
| price | number | |
|
||
|
| all | boolean | |
|
||
|
|
||
|
<b>Returns:</b>
|
||
|
|
||
|
void
|
||
|
|