Sage Intacct SDK for PHP
AbstractAllocation Class Reference
Inheritance diagram for AbstractAllocation:
AbstractFunction FunctionInterface AllocationCreate AllocationDelete AllocationUpdate

Public Member Functions

 getAllocationId ()
 
 setAllocationId ($allocationId)
 
 getDescription ()
 
 setDescription ($description)
 
 getDocumentNo ()
 
 setDocumentNo ($documentNo)
 
 getAllocateBy ()
 
 setAllocateBy ($allocateBy)
 
 getAttachmentsId ()
 
 setAttachmentsId ($attachmentsId)
 
 isActive ()
 
 setActive ($active)
 
 getLines ()
 
 setLines (array $lines)
 
- Public Member Functions inherited from AbstractFunction
 getControlId ()
 
 setControlId (string $controlId='')
 
 __construct (string $controlId='')
 
 writeXml (XMLWriter &$xml)
 

Data Fields

const ALLOCATE_BY_PERCENTAGE = 'Percentage'
 
const ALLOCATE_BY_ABSOLUTE = 'Absolute'
 

Additional Inherited Members

- Protected Attributes inherited from AbstractFunction
 $controlId = ''
 

Member Function Documentation

◆ getAllocateBy()

getAllocateBy ( )

Get allocate by

Returns
string

◆ getAllocationId()

getAllocationId ( )

Get allocation ID

Returns
string

◆ getAttachmentsId()

getAttachmentsId ( )

Get attachments ID

Returns
string

◆ getDescription()

getDescription ( )

Get description

Returns
string

◆ getDocumentNo()

getDocumentNo ( )

Get document number

Returns
string

◆ getLines()

getLines ( )

Get allocation lines

Returns
AbstractAllocationLine[]

◆ isActive()

isActive ( )

Get active

Returns
bool

◆ setActive()

setActive (   $active)

Set active

Parameters
bool$active

◆ setAllocateBy()

setAllocateBy (   $allocateBy)

Set allocate by

Parameters
string$allocateBy

◆ setAllocationId()

setAllocationId (   $allocationId)

Set allocation ID

Parameters
string$allocationId

◆ setAttachmentsId()

setAttachmentsId (   $attachmentsId)

Set attachments ID

Parameters
string$attachmentsId

◆ setDescription()

setDescription (   $description)

Set description

Parameters
string$description

◆ setDocumentNo()

setDocumentNo (   $documentNo)

Set document number

Parameters
string$documentNo

◆ setLines()

setLines ( array  $lines)

Set allocation lines

Parameters
AbstractAllocationLine[]$lines

Field Documentation

◆ ALLOCATE_BY_ABSOLUTE

const ALLOCATE_BY_ABSOLUTE = 'Absolute'

◆ ALLOCATE_BY_PERCENTAGE

const ALLOCATE_BY_PERCENTAGE = 'Percentage'