Tax
+ Inheritance diagram for Tax:

Description

A tax.

Public Properties

const MAP
 
- Public Properties inherited from Data
const MAP = []
 
const PATCH = []
 

Public Methods

magic string getPrice ()
 
magic Funds getPriceSet ()
 
magic string getRate ()
 
magic string getTitle ()
 
magic $this setPrice (string $price)
 
magic $this setRate (number $rate)
 
magic $this setTitle (string $title)
 
- 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

- 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...
 

Properties

◆ MAP

const MAP
Initial value:
= [
'price_set' => Funds::class
]

Methods

◆ getPrice()

magic string getPrice ( )
Returns
string

◆ getPriceSet()

magic Funds getPriceSet ( )
Returns
Funds

◆ getRate()

magic string getRate ( )
Returns
string

◆ getTitle()

magic string getTitle ( )
Returns
string

◆ setPrice()

magic $this setPrice ( string  $price)
Returns
$this

◆ setRate()

magic $this setRate ( number  $rate)
Returns
$this

◆ setTitle()

magic $this setTitle ( string  $title)
Returns
$this