AbstractInvoice
class AbstractInvoice extends AbstractFunction
Traits
Methods
Initializes the class with the given parameters.
Get record number
Set record number
Get customer ID
Set customer ID
Get transaction date
Get GL posting date
Get action
Set action
Get summary record number
Set summary record number
Get invoice number
Set invoice number
Get description
Set description
Get external ID
Set external ID
Get base currency
Set base currency
Get transaction currency
Set transaction currency
Get exchange rate date
Get exchange rate value
Set exchange rate value
Get exchange rate type
Set exchange rate type
Get do not post to general ledger
Set do not post to general ledger
Get due date
Get payment term
Set payment term
Get reference number
Set reference number
Get on hold
Set on hold
Get bill to contact name
Set bill to contact name
Get ship to contact name
Set ship to contact name
Get attachments ID
Set attachments ID
Get invoice lines
Details
in AbstractFunction at line line 35
getControlId()
Get control ID
in AbstractFunction at line line 46
setControlId($controlId = null)
Set control ID
in AbstractFunction at line line 67
__construct(string $controlId = null)
Initializes the class with the given parameters.
in AbstractFunction at line line 72
abstract
writeXml(XMLWriter $xml)
Write the XML
in CustomFieldsTrait at line line 33
array
getCustomFields()
Get custom fields
in CustomFieldsTrait at line line 43
setCustomFields(array $customFields)
Set custom fields
at line line 104
int|string
getRecordNo()
Get record number
at line line 114
setRecordNo(int|string $recordNo)
Set record number
at line line 124
string
getCustomerId()
Get customer ID
at line line 134
setCustomerId(string $customerId)
Set customer ID
at line line 144
DateType
getTransactionDate()
Get transaction date
at line line 154
setTransactionDate(DateType $transactionDate)
Set transaction date
at line line 164
DateType
getGlPostingDate()
Get GL posting date
at line line 174
setGlPostingDate(DateType $glPostingDate)
Set GL posting date
at line line 184
string
getAction()
Get action
at line line 195
setAction(string $action)
Set action
at line line 205
int|string
getSummaryRecordNo()
Get summary record number
at line line 215
setSummaryRecordNo(int|string $summaryRecordNo)
Set summary record number
at line line 225
string
getInvoiceNumber()
Get invoice number
at line line 235
setInvoiceNumber(string $invoiceNumber)
Set invoice number
at line line 245
string
getDescription()
Get description
at line line 255
setDescription(string $description)
Set description
at line line 265
string
getExternalId()
Get external ID
at line line 275
setExternalId(string $externalId)
Set external ID
at line line 285
string
getBaseCurrency()
Get base currency
at line line 295
setBaseCurrency(string $baseCurrency)
Set base currency
at line line 305
string
getTransactionCurrency()
Get transaction currency
at line line 315
setTransactionCurrency(string $transactionCurrency)
Set transaction currency
at line line 325
DateType
getExchangeRateDate()
Get exchange rate date
at line line 335
setExchangeRateDate(DateType $exchangeRateDate)
Set exchange rate date
at line line 345
float
getExchangeRateValue()
Get exchange rate value
at line line 355
setExchangeRateValue(float $exchangeRateValue)
Set exchange rate value
at line line 365
string
getExchangeRateType()
Get exchange rate type
at line line 375
setExchangeRateType(string $exchangeRateType)
Set exchange rate type
at line line 385
boolean
isDoNotPostToGL()
Get do not post to general ledger
at line line 395
setDoNotPostToGL(boolean $doNotPostToGL)
Set do not post to general ledger
at line line 405
DateType
getDueDate()
Get due date
at line line 415
setDueDate(DateType $dueDate)
Set due date
at line line 425
string
getPaymentTerm()
Get payment term
at line line 435
setPaymentTerm(string $paymentTerm)
Set payment term
at line line 445
string
getReferenceNumber()
Get reference number
at line line 455
setReferenceNumber(string $referenceNumber)
Set reference number
at line line 465
boolean
isOnHold()
Get on hold
at line line 475
setOnHold(boolean $onHold)
Set on hold
at line line 485
string
getBillToContactName()
Get bill to contact name
at line line 495
setBillToContactName(string $billToContactName)
Set bill to contact name
at line line 505
string
getShipToContactName()
Get ship to contact name
at line line 515
setShipToContactName(string $shipToContactName)
Set ship to contact name
at line line 525
string
getAttachmentsId()
Get attachments ID
at line line 535
setAttachmentsId(string $attachmentsId)
Set attachments ID
at line line 545
AbstractInvoiceLine[]
getLines()
Get invoice lines
at line line 555
setLines(AbstractInvoiceLine[] $lines)
Set invoice lines