Invoice
+ Inheritance diagram for Invoice:

Description

A draft order invoice.

Public Methods

magic $this setBcc (string[] $bcc)
 
magic $this setCustomMessage (string $message)
 
magic $this setFrom (string $from)
 
magic $this setSubject (string $subject)
 
magic $this setTo (string $to)
 
- Public Methods inherited from Data
mixed __call (string $method, array $args)
 
 __construct ($caller, array $data=[])
 
string serialize ()
 Dehydrated JSON encode. More...
 
array toArray ()
 
void unserialize ($serialized)
 

Additional Inherited Members

- Public Properties inherited from Data
const MAP = []
 
const PATCH = []
 
- Protected Properties inherited from Data
Api $api
 
Pool $pool
 
- Protected Methods inherited from Data
mixed _hydrate (string $class, $item)
 A factory that also hydrates / caches entities. More...
 
array _select ($subject, callable $filter,... $args)
 Magic method: selectField(callable $filter) More...
 
$this _setData (array $data)
 Clears all diffs and sets all data, hydrating mapped fields. More...
 
$this _setField (string $field, $value)
 Sets a value, hydrating if mapped, and clears the diff. More...
 

Methods

◆ setBcc()

magic $this setBcc ( string[]  $bcc)
Returns
$this

◆ setCustomMessage()

magic $this setCustomMessage ( string  $message)
Returns
$this

◆ setFrom()

magic $this setFrom ( string  $from)
Returns
$this

◆ setSubject()

magic $this setSubject ( string  $subject)
Returns
$this

◆ setTo()

magic $this setTo ( string  $to)
Returns
$this