Sage Intacct SDK for PHP
AbstractPurchasingTransaction Class Reference
Inheritance diagram for AbstractPurchasingTransaction:
AbstractFunction FunctionInterface PurchasingTransactionApprove PurchasingTransactionCreate PurchasingTransactionDecline PurchasingTransactionDelete PurchasingTransactionUpdate

Public Member Functions

 getDocumentId ()
 
 setRecordNo ($documentId)
 
 getTransactionDefinition ()
 
 setTransactionDefinition ($transactionDefinition)
 
 getTransactionDate ()
 
 setTransactionDate ($transactionDate)
 
 getGlPostingDate ()
 
 setGlPostingDate ($glPostingDate)
 
 getCreatedFrom ()
 
 setCreatedFrom ($createdFrom)
 
 getVendorId ()
 
 setVendorId ($vendorId)
 
 getVendorDocNumber ()
 
 setVendorDocNumber ($vendorDocNumber)
 
 getDocumentNumber ()
 
 setDocumentNumber ($documentNumber)
 
 getOriginalDocumentDate ()
 
 setOriginalDocumentDate ($originalDocumentDate)
 
 getReferenceNumber ()
 
 setReferenceNumber ($referenceNumber)
 
 getPaymentTerm ()
 
 setPaymentTerm ($paymentTerm)
 
 getDueDate ()
 
 setDueDate ($dueDate)
 
 getMessage ()
 
 setMessage ($message)
 
 getShippingMethod ()
 
 setShippingMethod ($shippingMethod)
 
 getReturnToContactName ()
 
 setReturnToContactName ($returnToContactName)
 
 getPayToContactName ()
 
 setPayToContactName ($payToContactName)
 
 getAttachmentsId ()
 
 setAttachmentsId ($attachmentsId)
 
 getExternalId ()
 
 setExternalId ($externalId)
 
 getBaseCurrency ()
 
 setBaseCurrency ($baseCurrency)
 
 getTransactionCurrency ()
 
 setTransactionCurrency ($transactionCurrency)
 
 getExchangeRateDate ()
 
 setExchangeRateDate ($exchangeRateDate)
 
 getExchangeRateValue ()
 
 setExchangeRateValue ($exchangeRateValue)
 
 getExchangeRateType ()
 
 setExchangeRateType ($exchangeRateType)
 
 getVsoePriceList ()
 
 setVsoePriceList ($vsoePriceList)
 
 getState ()
 
 setState ($state)
 
 getProjectId ()
 
 setProjectId ($projectId)
 
 getSubtotals ()
 
 setSubtotals ($subtotals)
 
 getLines ()
 
 setLines ($lines)
 
 getComment ()
 
 setComment ($comment)
 
- Public Member Functions inherited from AbstractFunction
 getControlId ()
 
 setControlId (string $controlId='')
 
 __construct (string $controlId='')
 
 writeXml (XMLWriter &$xml)
 
 getControlId ()
 
 setControlId (string $controlId)
 
 writeXml (XMLWriter &$xml)
 

Data Fields

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

Protected Attributes

 $documentId
 
 $transactionDefinition
 
 $transactionDate
 
 $glPostingDate
 
 $createdFrom
 
 $vendorId
 
 $vendorDocNumber
 
 $documentNumber
 
 $originalDocumentDate
 
 $referenceNumber
 
 $paymentTerm
 
 $dueDate
 
 $message
 
 $shippingMethod
 
 $returnToContactName
 
 $payToContactName
 
 $attachmentsId
 
 $externalId
 
 $baseCurrency
 
 $transactionCurrency
 
 $exchangeRateDate
 
 $exchangeRateValue
 
 $exchangeRateType
 
 $vsoePriceList
 
 $state
 
 $projectId
 
 $subtotals = []
 
 $lines = []
 
 $comment
 
- Protected Attributes inherited from AbstractFunction
 $controlId = ''
 

Member Function Documentation

◆ getAttachmentsId()

getAttachmentsId ( )
Returns
string

◆ getBaseCurrency()

getBaseCurrency ( )
Returns
string

◆ getComment()

getComment ( )
Returns
string

◆ getCreatedFrom()

getCreatedFrom ( )
Returns
string

◆ getDocumentId()

getDocumentId ( )
Returns
string

◆ getDocumentNumber()

getDocumentNumber ( )
Returns
string

◆ getDueDate()

getDueDate ( )
Returns
\DateTime

◆ getExchangeRateDate()

getExchangeRateDate ( )
Returns
\DateTime

◆ getExchangeRateType()

getExchangeRateType ( )
Returns
string

◆ getExchangeRateValue()

getExchangeRateValue ( )
Returns
float

◆ getExternalId()

getExternalId ( )
Returns
string

◆ getGlPostingDate()

getGlPostingDate ( )
Returns
\DateTime

◆ getLines()

getLines ( )

◆ getMessage()

getMessage ( )
Returns
string

◆ getOriginalDocumentDate()

getOriginalDocumentDate ( )
Returns
\DateTime

◆ getPaymentTerm()

getPaymentTerm ( )
Returns
string

◆ getPayToContactName()

getPayToContactName ( )
Returns
string

◆ getProjectId()

getProjectId ( )
Returns
string

◆ getReferenceNumber()

getReferenceNumber ( )
Returns
string

◆ getReturnToContactName()

getReturnToContactName ( )
Returns
string

◆ getShippingMethod()

getShippingMethod ( )
Returns
string

◆ getState()

getState ( )
Returns
string

◆ getSubtotals()

getSubtotals ( )
Returns
AbstractTransactionSubtotal[]

◆ getTransactionCurrency()

getTransactionCurrency ( )
Returns
string

◆ getTransactionDate()

getTransactionDate ( )
Returns
\DateTime

◆ getTransactionDefinition()

getTransactionDefinition ( )
Returns
string

◆ getVendorDocNumber()

getVendorDocNumber ( )
Returns
string

◆ getVendorId()

getVendorId ( )
Returns
string

◆ getVsoePriceList()

getVsoePriceList ( )
Returns
string

◆ setAttachmentsId()

setAttachmentsId (   $attachmentsId)
Parameters
string$attachmentsId

◆ setBaseCurrency()

setBaseCurrency (   $baseCurrency)
Parameters
string$baseCurrency

◆ setComment()

setComment (   $comment)
Parameters
$comment

◆ setCreatedFrom()

setCreatedFrom (   $createdFrom)
Parameters
string$createdFrom

◆ setDocumentNumber()

setDocumentNumber (   $documentNumber)
Parameters
string$documentNumber

◆ setDueDate()

setDueDate (   $dueDate)
Parameters
\DateTime$dueDate

◆ setExchangeRateDate()

setExchangeRateDate (   $exchangeRateDate)
Parameters
\DateTime$exchangeRateDate

◆ setExchangeRateType()

setExchangeRateType (   $exchangeRateType)
Parameters
string$exchangeRateType

◆ setExchangeRateValue()

setExchangeRateValue (   $exchangeRateValue)
Parameters
float$exchangeRateValue

◆ setExternalId()

setExternalId (   $externalId)
Parameters
string$externalId

◆ setGlPostingDate()

setGlPostingDate (   $glPostingDate)
Parameters
\DateTime$glPostingDate

◆ setLines()

setLines (   $lines)

◆ setMessage()

setMessage (   $message)
Parameters
string$message

◆ setOriginalDocumentDate()

setOriginalDocumentDate (   $originalDocumentDate)
Parameters
\DateTime$originalDocumentDate

◆ setPaymentTerm()

setPaymentTerm (   $paymentTerm)
Parameters
string$paymentTerm

◆ setPayToContactName()

setPayToContactName (   $payToContactName)
Parameters
string$payToContactName

◆ setProjectId()

setProjectId (   $projectId)
Parameters
string$projectId

◆ setRecordNo()

setRecordNo (   $documentId)
Parameters
string$documentId

◆ setReferenceNumber()

setReferenceNumber (   $referenceNumber)
Parameters
string$referenceNumber

◆ setReturnToContactName()

setReturnToContactName (   $returnToContactName)
Parameters
string$returnToContactName

◆ setShippingMethod()

setShippingMethod (   $shippingMethod)
Parameters
string$shippingMethod

◆ setState()

setState (   $state)
Parameters
string$state

◆ setSubtotals()

setSubtotals (   $subtotals)
Parameters
AbstractTransactionSubtotal[]$subtotals

◆ setTransactionCurrency()

setTransactionCurrency (   $transactionCurrency)
Parameters
string$transactionCurrency

◆ setTransactionDate()

setTransactionDate (   $transactionDate)
Parameters
\DateTime$transactionDate

◆ setTransactionDefinition()

setTransactionDefinition (   $transactionDefinition)
Parameters
string$transactionDefinition

◆ setVendorDocNumber()

setVendorDocNumber (   $vendorDocNumber)
Parameters
string$vendorDocNumber

◆ setVendorId()

setVendorId (   $vendorId)
Parameters
string$vendorId

◆ setVsoePriceList()

setVsoePriceList (   $vsoePriceList)
Parameters
string$vsoePriceList

Field Documentation

◆ $attachmentsId

$attachmentsId
protected

◆ $baseCurrency

$baseCurrency
protected

◆ $comment

$comment
protected

◆ $createdFrom

$createdFrom
protected

◆ $documentId

$documentId
protected

◆ $documentNumber

$documentNumber
protected

◆ $dueDate

$dueDate
protected

◆ $exchangeRateDate

$exchangeRateDate
protected

◆ $exchangeRateType

$exchangeRateType
protected

◆ $exchangeRateValue

$exchangeRateValue
protected

◆ $externalId

$externalId
protected

◆ $glPostingDate

$glPostingDate
protected

◆ $lines

$lines = []
protected

◆ $message

$message
protected

◆ $originalDocumentDate

$originalDocumentDate
protected

◆ $paymentTerm

$paymentTerm
protected

◆ $payToContactName

$payToContactName
protected

◆ $projectId

$projectId
protected

◆ $referenceNumber

$referenceNumber
protected

◆ $returnToContactName

$returnToContactName
protected

◆ $shippingMethod

$shippingMethod
protected

◆ $state

$state
protected

◆ $subtotals

$subtotals = []
protected

◆ $transactionCurrency

$transactionCurrency
protected

◆ $transactionDate

$transactionDate
protected

◆ $transactionDefinition

$transactionDefinition
protected

◆ $vendorDocNumber

$vendorDocNumber
protected

◆ $vendorId

$vendorId
protected

◆ $vsoePriceList

$vsoePriceList
protected

◆ STATE_CLOSED

const STATE_CLOSED = 'Closed'

◆ STATE_DRAFT

const STATE_DRAFT = 'Draft'

◆ STATE_PENDING

const STATE_PENDING = 'Pending'