Sage Intacct SDK for PHP
AttachmentFile Class Reference
Inheritance diagram for AttachmentFile:
AttachmentInterface

Public Member Functions

 getFilePath ()
 
 setFilePath ($filePath)
 
 getExtension ()
 
 setExtension ($extension)
 
 getFileName ()
 
 setFileName ($fileName)
 
 writeXml (XMLWriter &$xml)
 
 getExtension ()
 
 setExtension ($extension)
 
 getFileName ()
 
 setFileName ($fileName)
 
 writeXml (XMLWriter &$xml)
 

Protected Attributes

 $filePath
 
 $extension
 
 $fileName
 

Member Function Documentation

◆ getExtension()

getExtension ( )

Get extension

Returns
string

Implements AttachmentInterface.

◆ getFileName()

getFileName ( )

Get file name

Returns
string

Implements AttachmentInterface.

◆ getFilePath()

getFilePath ( )

Get file path

Returns
string

◆ setExtension()

setExtension (   $extension)

Set extension

Parameters
string$extension

Implements AttachmentInterface.

◆ setFileName()

setFileName (   $fileName)

Set file name

Parameters
string$fileName

Implements AttachmentInterface.

◆ setFilePath()

setFilePath (   $filePath)

Set file path

Parameters
string$filePath

◆ writeXml()

writeXml ( XMLWriter $xml)

Write the attachment block XML

Parameters
XMLWriter$xml
Exceptions
InvalidArgumentException

Implements AttachmentInterface.

Field Documentation

◆ $extension

$extension
protected

◆ $fileName

$fileName
protected

◆ $filePath

$filePath
protected