public static final class CreateCostUnitRequest.UnitEntityList.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
CreateCostUnitRequest.UnitEntityList |
build() |
CreateCostUnitRequest.UnitEntityList.Builder |
ownerUid(Long ownerUid)
The user ID of the owner of the cost center.
|
CreateCostUnitRequest.UnitEntityList.Builder |
parentUnitId(Long parentUnitId)
The ID of the parent cost center.
|
CreateCostUnitRequest.UnitEntityList.Builder |
unitName(String unitName)
The name of the cost center.
|
public CreateCostUnitRequest.UnitEntityList.Builder ownerUid(Long ownerUid)
The user ID of the owner of the cost center.
This parameter is required.
example:982375623
public CreateCostUnitRequest.UnitEntityList.Builder parentUnitId(Long parentUnitId)
The ID of the parent cost center. A value of -1 indicates the root cost center.
This parameter is required.
example:-1
public CreateCostUnitRequest.UnitEntityList.Builder unitName(String unitName)
The name of the cost center.
This parameter is required.
example:test
public CreateCostUnitRequest.UnitEntityList build()
Copyright © 2026. All rights reserved.