class BillLineCreate extends AbstractBillLine

Create a new accounts payable bill line record

Traits

Methods

array
getCustomFields()

Get custom fields

setCustomFields(array $customFields)

Set custom fields

string
getAccountLabel()

Get account label

setAccountLabel(string $accountLabel)

Set account label

string
getGlAccountNumber()

Get GL account number

setGlAccountNumber(string $glAccountNumber)

Set GL account number

string
getOffsetGLAccountNumber()

Get offset GL account number

setOffsetGLAccountNumber(string $offsetGLAccountNumber)

Set offset GL account number

float|string
getTransactionAmount()

Get transaction amount

setTransactionAmount(float|string $transactionAmount)

Set transaction amount

string
getAllocationId()

Get allocation ID

setAllocationId(string $allocationId)

Set allocation ID

string
getMemo()

Get memo

setMemo(string $memo)

Set memo

boolean
isForm1099()

Get form 1099

setForm1099(boolean $form1099)

Set form 1099

string
getKey()

Get key

setKey(string $key)

Set key

float|string
getTotalPaid()

Get total paid

setTotalPaid(float|string $totalPaid)

Set total paid

float|string
getTotalDue()

Get total due

setTotalDue(float|string $totalDue)

Set total due

boolean
isBillable()

Get billable

setBillable(boolean $billable)

Set billable

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 lineitem block XML

Details

in CustomFieldsTrait at line line 33
array getCustomFields()

Get custom fields

Return Value

array

in CustomFieldsTrait at line line 43
setCustomFields(array $customFields)

Set custom fields

Parameters

array $customFields

in AbstractBillLine at line line 96
string getAccountLabel()

Get account label

Return Value

string

in AbstractBillLine at line line 106
setAccountLabel(string $accountLabel)

Set account label

Parameters

string $accountLabel

in AbstractBillLine at line line 116
string getGlAccountNumber()

Get GL account number

Return Value

string

in AbstractBillLine at line line 126
setGlAccountNumber(string $glAccountNumber)

Set GL account number

Parameters

string $glAccountNumber

in AbstractBillLine at line line 136
string getOffsetGLAccountNumber()

Get offset GL account number

Return Value

string

in AbstractBillLine at line line 146
setOffsetGLAccountNumber(string $offsetGLAccountNumber)

Set offset GL account number

Parameters

string $offsetGLAccountNumber

in AbstractBillLine at line line 156
float|string getTransactionAmount()

Get transaction amount

Return Value

float|string

in AbstractBillLine at line line 166
setTransactionAmount(float|string $transactionAmount)

Set transaction amount

Parameters

float|string $transactionAmount

in AbstractBillLine at line line 176
string getAllocationId()

Get allocation ID

Return Value

string

in AbstractBillLine at line line 186
setAllocationId(string $allocationId)

Set allocation ID

Parameters

string $allocationId

in AbstractBillLine at line line 196
string getMemo()

Get memo

Return Value

string

in AbstractBillLine at line line 206
setMemo(string $memo)

Set memo

Parameters

string $memo

in AbstractBillLine at line line 216
boolean isForm1099()

Get form 1099

Return Value

boolean

in AbstractBillLine at line line 226
setForm1099(boolean $form1099)

Set form 1099

Parameters

boolean $form1099

in AbstractBillLine at line line 236
string getKey()

Get key

Return Value

string

in AbstractBillLine at line line 246
setKey(string $key)

Set key

Parameters

string $key

in AbstractBillLine at line line 256
float|string getTotalPaid()

Get total paid

Return Value

float|string

in AbstractBillLine at line line 266
setTotalPaid(float|string $totalPaid)

Set total paid

Parameters

float|string $totalPaid

in AbstractBillLine at line line 276
float|string getTotalDue()

Get total due

Return Value

float|string

in AbstractBillLine at line line 286
setTotalDue(float|string $totalDue)

Set total due

Parameters

float|string $totalDue

in AbstractBillLine at line line 296
boolean isBillable()

Get billable

Return Value

boolean

in AbstractBillLine at line line 306
setBillable(boolean $billable)

Set billable

Parameters

boolean $billable

in AbstractBillLine at line line 316
string getDepartmentId()

Get department ID

Return Value

string

in AbstractBillLine at line line 326
setDepartmentId(string $departmentId)

Set department ID

Parameters

string $departmentId

in AbstractBillLine at line line 336
string getLocationId()

Get location ID

Return Value

string

in AbstractBillLine at line line 346
setLocationId(string $locationId)

Set location ID

Parameters

string $locationId

in AbstractBillLine at line line 356
string getProjectId()

Get project ID

Return Value

string

in AbstractBillLine at line line 366
setProjectId(string $projectId)

Set project ID

Parameters

string $projectId

in AbstractBillLine at line line 376
string getCustomerId()

Get customer ID

Return Value

string

in AbstractBillLine at line line 386
setCustomerId(string $customerId)

Set customer ID

Parameters

string $customerId

in AbstractBillLine at line line 396
string getVendorId()

Get vendor ID

Return Value

string

in AbstractBillLine at line line 406
setVendorId(string $vendorId)

Set vendor ID

Parameters

string $vendorId

in AbstractBillLine at line line 416
string getEmployeeId()

Get employee ID

Return Value

string

in AbstractBillLine at line line 426
setEmployeeId(string $employeeId)

Set employee ID

Parameters

string $employeeId

in AbstractBillLine at line line 436
string getItemId()

Get item ID

Return Value

string

in AbstractBillLine at line line 446
setItemId(string $itemId)

Set item ID

Parameters

string $itemId

in AbstractBillLine at line line 456
string getClassId()

Get class ID

Return Value

string

in AbstractBillLine at line line 466
setClassId(string $classId)

Set class ID

Parameters

string $classId

in AbstractBillLine at line line 476
string getContractId()

Get contract ID

Return Value

string

in AbstractBillLine at line line 486
setContractId(string $contractId)

Set contract ID

Parameters

string $contractId

in AbstractBillLine at line line 496
string getWarehouseId()

Get warehouse ID

Return Value

string

in AbstractBillLine at line line 506
setWarehouseId(string $warehouseId)

Set warehouse ID

Parameters

string $warehouseId

at line line 33
writeXml(XMLWriter $xml)

Write the lineitem block XML

Parameters

XMLWriter $xml