Ejemplo n.º 1
0
 public function &amount($value = null)
 {
     return parent::amount($this->total());
 }
Ejemplo n.º 2
0
 public function __construct(OrderAmountTax $Tax)
 {
     $this->id = $Tax->id();
     $this->name = $Tax->label();
     $this->rate = $Tax->rate();
     $this->amount = $Tax->amount();
 }