[Home](./index.md) > [bitburner](./bitburner.md) > [WarehouseAPI](./bitburner.warehouseapi.md) > [setMaterialMarketTA2](./bitburner.warehouseapi.setmaterialmarketta2.md)
## WarehouseAPI.setMaterialMarketTA2() method
Signature:
```typescript
setMaterialMarketTA2(divisionName: string, cityName: string, materialName: string, on: boolean): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| divisionName | string | |
| cityName | string | |
| materialName | string | |
| on | boolean | |
Returns:
void