Sage Intacct SDK for PHP
AbstractOrderDirection Class Reference
Inheritance diagram for AbstractOrderDirection:
OrderInterface OrderAscending OrderDescending

Public Member Functions

 __construct (string $field)
 
 getDirection ()
 
 writeXML (XMLWriter &$xml)
 

Data Fields

const ASCENDING = 'ascending'
 
const DESCENDING = 'descending'
 

Constructor & Destructor Documentation

◆ __construct()

__construct ( string  $field)

AbstractOrderDirection constructor.

Parameters
string$field

Member Function Documentation

◆ getDirection()

getDirection ( )
abstract
Returns
string

Reimplemented in OrderDescending, and OrderAscending.

◆ writeXML()

writeXML ( XMLWriter $xml)
Parameters
XMLWriter&$xml

Implements OrderInterface.

Field Documentation

◆ ASCENDING

const ASCENDING = 'ascending'

◆ DESCENDING

const DESCENDING = 'descending'