class CustomAllocationSplit extends AbstractAllocationLine

Create a new custom allocation split record

Methods

float|string|int
getAmount()

Get amount

setAmount(float|string|int $amount)

Set amount

string
getDepartmentId()

Get department ID

setDepartmentId(string $departmentId)

Set department ID

string
getLocationId()

Get location ID

setLocationId(string $locationId)

Set location ID

string
getProjectId()

Get project ID

setProjectId(string $projectId)

Set project ID

string
getCustomerId()

Get customer ID

setCustomerId(string $customerId)

Set customer ID

string
getVendorId()

Get vendor ID

setVendorId(string $vendorId)

Set vendor ID

string
getEmployeeId()

Get employee ID

setEmployeeId(string $employeeId)

Set employee ID

string
getItemId()

Get item ID

setItemId(string $itemId)

Set item ID

string
getClassId()

Get class ID

setClassId(string $classId)

Set class ID

string
getContractId()

Get contract ID

setContractId(string $contractId)

Set contract ID

string
getWarehouseId()

Get warehouse ID

setWarehouseId(string $warehouseId)

Set warehouse ID

writeXml(XMLWriter $xml)

Write the SPLIT block XML

Details

in AbstractAllocationLine at line line 65
float|string|int getAmount()

Get amount

Return Value

float|string|int

in AbstractAllocationLine at line line 75
setAmount(float|string|int $amount)

Set amount

Parameters

float|string|int $amount

in AbstractAllocationLine at line line 85
string getDepartmentId()

Get department ID

Return Value

string

in AbstractAllocationLine at line line 95
setDepartmentId(string $departmentId)

Set department ID

Parameters

string $departmentId

in AbstractAllocationLine at line line 105
string getLocationId()

Get location ID

Return Value

string

in AbstractAllocationLine at line line 115
setLocationId(string $locationId)

Set location ID

Parameters

string $locationId

in AbstractAllocationLine at line line 125
string getProjectId()

Get project ID

Return Value

string

in AbstractAllocationLine at line line 135
setProjectId(string $projectId)

Set project ID

Parameters

string $projectId

in AbstractAllocationLine at line line 145
string getCustomerId()

Get customer ID

Return Value

string

in AbstractAllocationLine at line line 155
setCustomerId(string $customerId)

Set customer ID

Parameters

string $customerId

in AbstractAllocationLine at line line 165
string getVendorId()

Get vendor ID

Return Value

string

in AbstractAllocationLine at line line 175
setVendorId(string $vendorId)

Set vendor ID

Parameters

string $vendorId

in AbstractAllocationLine at line line 185
string getEmployeeId()

Get employee ID

Return Value

string

in AbstractAllocationLine at line line 195
setEmployeeId(string $employeeId)

Set employee ID

Parameters

string $employeeId

in AbstractAllocationLine at line line 205
string getItemId()

Get item ID

Return Value

string

in AbstractAllocationLine at line line 215
setItemId(string $itemId)

Set item ID

Parameters

string $itemId

in AbstractAllocationLine at line line 225
string getClassId()

Get class ID

Return Value

string

in AbstractAllocationLine at line line 235
setClassId(string $classId)

Set class ID

Parameters

string $classId

in AbstractAllocationLine at line line 245
string getContractId()

Get contract ID

Return Value

string

in AbstractAllocationLine at line line 255
setContractId(string $contractId)

Set contract ID

Parameters

string $contractId

in AbstractAllocationLine at line line 265
string getWarehouseId()

Get warehouse ID

Return Value

string

in AbstractAllocationLine at line line 275
setWarehouseId(string $warehouseId)

Set warehouse ID

Parameters

string $warehouseId

at line line 34
writeXml(XMLWriter $xml)

Write the SPLIT block XML

Parameters

XMLWriter $xml