Sage Intacct SDK for PHP
AbstractInventoryTransaction Class Reference
Inheritance diagram for AbstractInventoryTransaction:
AbstractFunction FunctionInterface InventoryTransactionCreate InventoryTransactionDelete

Public Member Functions

 getDocumentId ()
 
 setDocumentId ($documentId)
 
 getTransactionDefinition ()
 
 setTransactionDefinition ($transactionDefinition)
 
 getTransactionDate ()
 
 setTransactionDate ($transactionDate)
 
 getCreatedFrom ()
 
 setCreatedFrom ($createdFrom)
 
 getDocumentNumber ()
 
 setDocumentNumber ($documentNumber)
 
 getReferenceNumber ()
 
 setReferenceNumber ($referenceNumber)
 
 getMessage ()
 
 setMessage ($message)
 
 getExternalId ()
 
 setExternalId ($externalId)
 
 getBaseCurrency ()
 
 setBaseCurrency ($baseCurrency)
 
 getState ()
 
 setState ($state)
 
 getSubtotals ()
 
 setSubtotals ($subtotals)
 
 getLines ()
 
 setLines ($lines)
 
- Public Member Functions inherited from AbstractFunction
 getControlId ()
 
 setControlId (string $controlId='')
 
 __construct (string $controlId='')
 
 writeXml (XMLWriter &$xml)
 

Data Fields

const STATE_DRAFT = 'Draft'
 
const STATE_PENDING = 'Pending'
 
const STATE_CLOSED = 'Closed'
 

Protected Attributes

 $documentId
 
 $transactionDefinition
 
 $transactionDate
 
 $createdFrom
 
 $documentNumber
 
 $referenceNumber
 
 $message
 
 $externalId
 
 $baseCurrency
 
 $state
 
 $subtotals = []
 
 $lines = []
 
- Protected Attributes inherited from AbstractFunction
 $controlId = ''
 

Member Function Documentation

◆ getBaseCurrency()

getBaseCurrency ( )
Returns
string

◆ getCreatedFrom()

getCreatedFrom ( )
Returns
string

◆ getDocumentId()

getDocumentId ( )
Returns
string

◆ getDocumentNumber()

getDocumentNumber ( )
Returns
string

◆ getExternalId()

getExternalId ( )
Returns
string

◆ getLines()

getLines ( )

◆ getMessage()

getMessage ( )
Returns
string

◆ getReferenceNumber()

getReferenceNumber ( )
Returns
string

◆ getState()

getState ( )
Returns
string

◆ getSubtotals()

getSubtotals ( )

◆ getTransactionDate()

getTransactionDate ( )
Returns
\DateTime

◆ getTransactionDefinition()

getTransactionDefinition ( )
Returns
string

◆ setBaseCurrency()

setBaseCurrency (   $baseCurrency)
Parameters
string$baseCurrency

◆ setCreatedFrom()

setCreatedFrom (   $createdFrom)
Parameters
string$createdFrom

◆ setDocumentId()

setDocumentId (   $documentId)
Parameters
string$documentId

◆ setDocumentNumber()

setDocumentNumber (   $documentNumber)
Parameters
string$documentNumber

◆ setExternalId()

setExternalId (   $externalId)
Parameters
string$externalId

◆ setLines()

setLines (   $lines)

◆ setMessage()

setMessage (   $message)
Parameters
string$message

◆ setReferenceNumber()

setReferenceNumber (   $referenceNumber)
Parameters
string$referenceNumber

◆ setState()

setState (   $state)
Parameters
string$state

◆ setSubtotals()

setSubtotals (   $subtotals)
Parameters
AbstractTransactionSubtotal[]$subtotals

◆ setTransactionDate()

setTransactionDate (   $transactionDate)
Parameters
\DateTime$transactionDate

◆ setTransactionDefinition()

setTransactionDefinition (   $transactionDefinition)
Parameters
string$transactionDefinition

Field Documentation

◆ $baseCurrency

$baseCurrency
protected

◆ $createdFrom

$createdFrom
protected

◆ $documentId

$documentId
protected

◆ $documentNumber

$documentNumber
protected

◆ $externalId

$externalId
protected

◆ $lines

$lines = []
protected

◆ $message

$message
protected

◆ $referenceNumber

$referenceNumber
protected

◆ $state

$state
protected

◆ $subtotals

$subtotals = []
protected

◆ $transactionDate

$transactionDate
protected

◆ $transactionDefinition

$transactionDefinition
protected

◆ STATE_CLOSED

const STATE_CLOSED = 'Closed'

◆ STATE_DRAFT

const STATE_DRAFT = 'Draft'

◆ STATE_PENDING

const STATE_PENDING = 'Pending'