Sage Intacct SDK for PHP
AbstractBill Class Reference
Inheritance diagram for AbstractBill:
AbstractFunction FunctionInterface BillCreate BillDelete BillReverse

Public Member Functions

 getRecordNo ()
 
 setRecordNo ($recordNo)
 
 getVendorId ()
 
 setVendorId ($vendorId)
 
 getTransactionDate ()
 
 setTransactionDate ($transactionDate)
 
 getGlPostingDate ()
 
 setGlPostingDate ($glPostingDate)
 
 getAction ()
 
 setAction ($action)
 
 getSummaryRecordNo ()
 
 setSummaryRecordNo ($summaryRecordNo)
 
 getBillNumber ()
 
 setBillNumber ($billNumber)
 
 getDescription ()
 
 setDescription ($description)
 
 getExternalId ()
 
 setExternalId ($externalId)
 
 getBaseCurrency ()
 
 setBaseCurrency ($baseCurrency)
 
 getTransactionCurrency ()
 
 setTransactionCurrency ($transactionCurrency)
 
 getExchangeRateDate ()
 
 setExchangeRateDate ($exchangeRateDate)
 
 getExchangeRateValue ()
 
 setExchangeRateValue ($exchangeRateValue)
 
 getExchangeRateType ()
 
 setExchangeRateType ($exchangeRateType)
 
 isDoNotPostToGL ()
 
 setDoNotPostToGL ($doNotPostToGL)
 
 getDueDate ()
 
 setDueDate ($dueDate)
 
 getPaymentTerm ()
 
 setPaymentTerm ($paymentTerm)
 
 getReferenceNumber ()
 
 setReferenceNumber ($referenceNumber)
 
 isOnHold ()
 
 setOnHold ($onHold)
 
 getPayToContactName ()
 
 setPayToContactName ($payToContactName)
 
 getReturnToContactName ()
 
 setReturnToContactName ($returnToContactName)
 
 getAttachmentsId ()
 
 setAttachmentsId ($attachmentsId)
 
 getLines ()
 
 setLines ($lines)
 
- Public Member Functions inherited from AbstractFunction
 getControlId ()
 
 setControlId (string $controlId='')
 
 __construct (string $controlId='')
 
 writeXml (XMLWriter &$xml)
 

Protected Member Functions

 writeXmlMultiCurrencySection (XMLWriter &$xml)
 

Protected Attributes

 $recordNo
 
 $vendorId
 
 $transactionDate
 
 $glPostingDate
 
 $action
 
 $summaryRecordNo
 
 $billNumber
 
 $description
 
 $externalId
 
 $baseCurrency
 
 $transactionCurrency
 
 $exchangeRateDate
 
 $exchangeRateValue
 
 $exchangeRateType
 
 $doNotPostToGL
 
 $dueDate
 
 $paymentTerm
 
 $referenceNumber
 
 $onHold
 
 $payToContactName
 
 $returnToContactName
 
 $attachmentsId
 
 $lines = []
 
- Protected Attributes inherited from AbstractFunction
 $controlId = ''
 

Member Function Documentation

◆ getAction()

getAction ( )

Get action

Returns
string

◆ getAttachmentsId()

getAttachmentsId ( )

Get attachments ID

Returns
string

◆ getBaseCurrency()

getBaseCurrency ( )

Get base currency

Returns
string

◆ getBillNumber()

getBillNumber ( )

Get bill number

Returns
string

◆ getDescription()

getDescription ( )

Get description

Returns
string

◆ getDueDate()

getDueDate ( )

Get due date

Returns
\DateTime

◆ getExchangeRateDate()

getExchangeRateDate ( )

Get exchange rate date

Returns
\DateTime

◆ getExchangeRateType()

getExchangeRateType ( )

Get exchange rate type

Returns
string

◆ getExchangeRateValue()

getExchangeRateValue ( )

Get exchange rate value

Returns
float

◆ getExternalId()

getExternalId ( )

Get external ID

Returns
string

◆ getGlPostingDate()

getGlPostingDate ( )

Get GL posting date

Returns
\DateTime

◆ getLines()

getLines ( )

Get bill lines

Returns
AbstractBillLine[]

◆ getPaymentTerm()

getPaymentTerm ( )

Get payment term

Returns
string

◆ getPayToContactName()

getPayToContactName ( )

Get pay to contact name

Returns
string

◆ getRecordNo()

getRecordNo ( )

Get record number

Returns
int|string

◆ getReferenceNumber()

getReferenceNumber ( )

Get reference number

Returns
string

◆ getReturnToContactName()

getReturnToContactName ( )

Get return to contact name

Returns
string

◆ getSummaryRecordNo()

getSummaryRecordNo ( )

Get summary record number

Returns
int|string

◆ getTransactionCurrency()

getTransactionCurrency ( )

Get transaction currency

Returns
string

◆ getTransactionDate()

getTransactionDate ( )

Get transaction date

Returns
\DateTime

◆ getVendorId()

getVendorId ( )

Get vendor ID

Returns
string

◆ isDoNotPostToGL()

isDoNotPostToGL ( )

Get do not post to general ledger

Returns
bool

◆ isOnHold()

isOnHold ( )

Get on hold

Returns
bool

◆ setAction()

setAction (   $action)

Set action

Parameters
string$action

◆ setAttachmentsId()

setAttachmentsId (   $attachmentsId)

Set attachments ID

Parameters
string$attachmentsId

◆ setBaseCurrency()

setBaseCurrency (   $baseCurrency)

Set base currency

Parameters
string$baseCurrency

◆ setBillNumber()

setBillNumber (   $billNumber)

Set bill number

Parameters
string$billNumber

◆ setDescription()

setDescription (   $description)

Set description

Parameters
string$description

◆ setDoNotPostToGL()

setDoNotPostToGL (   $doNotPostToGL)

Set do not post to general ledger

Parameters
bool$doNotPostToGL

◆ setDueDate()

setDueDate (   $dueDate)

Set due date

Parameters
\DateTime$dueDate

◆ setExchangeRateDate()

setExchangeRateDate (   $exchangeRateDate)

Set exchange rate date

Parameters
\DateTime$exchangeRateDate

◆ setExchangeRateType()

setExchangeRateType (   $exchangeRateType)

Set exchange rate type

Parameters
string$exchangeRateType

◆ setExchangeRateValue()

setExchangeRateValue (   $exchangeRateValue)

Set exchange rate value

Parameters
float$exchangeRateValue

◆ setExternalId()

setExternalId (   $externalId)

Set external ID

Parameters
string$externalId

◆ setGlPostingDate()

setGlPostingDate (   $glPostingDate)

Set GL posting date

Parameters
\DateTime$glPostingDate

◆ setLines()

setLines (   $lines)

Set bill lines

Parameters
AbstractBillLine[]$lines

◆ setOnHold()

setOnHold (   $onHold)

Set on hold

Parameters
bool$onHold

◆ setPaymentTerm()

setPaymentTerm (   $paymentTerm)

Set payment term

Parameters
string$paymentTerm

◆ setPayToContactName()

setPayToContactName (   $payToContactName)

Set pay to contact name

Parameters
string$payToContactName

◆ setRecordNo()

setRecordNo (   $recordNo)

Set record number

Parameters
int | string$recordNo

◆ setReferenceNumber()

setReferenceNumber (   $referenceNumber)

Set reference number

Parameters
string$referenceNumber

◆ setReturnToContactName()

setReturnToContactName (   $returnToContactName)

Set return to contact name

Parameters
string$returnToContactName

◆ setSummaryRecordNo()

setSummaryRecordNo (   $summaryRecordNo)

Set summary record number

Parameters
int | string$summaryRecordNo

◆ setTransactionCurrency()

setTransactionCurrency (   $transactionCurrency)

Set transaction currency

Parameters
string$transactionCurrency

◆ setTransactionDate()

setTransactionDate (   $transactionDate)

Set transaction date

Parameters
\DateTime$transactionDate

◆ setVendorId()

setVendorId (   $vendorId)

Set vendor ID

Parameters
string$vendorId

◆ writeXmlMultiCurrencySection()

writeXmlMultiCurrencySection ( XMLWriter $xml)
protected
Parameters
XMLWriter$xml

Field Documentation

◆ $action

$action
protected

◆ $attachmentsId

$attachmentsId
protected

◆ $baseCurrency

$baseCurrency
protected

◆ $billNumber

$billNumber
protected

◆ $description

$description
protected

◆ $doNotPostToGL

$doNotPostToGL
protected

◆ $dueDate

$dueDate
protected

◆ $exchangeRateDate

$exchangeRateDate
protected

◆ $exchangeRateType

$exchangeRateType
protected

◆ $exchangeRateValue

$exchangeRateValue
protected

◆ $externalId

$externalId
protected

◆ $glPostingDate

$glPostingDate
protected

◆ $lines

$lines = []
protected

◆ $onHold

$onHold
protected

◆ $paymentTerm

$paymentTerm
protected

◆ $payToContactName

$payToContactName
protected

◆ $recordNo

$recordNo
protected

◆ $referenceNumber

$referenceNumber
protected

◆ $returnToContactName

$returnToContactName
protected

◆ $summaryRecordNo

$summaryRecordNo
protected

◆ $transactionCurrency

$transactionCurrency
protected

◆ $transactionDate

$transactionDate
protected

◆ $vendorId

$vendorId
protected