Ejemplo n.º 1
0
 public static function From(&$where)
 {
     $us = new AuthorizeNetPayment();
     Params::ArrayToObject($where, $us);
     return $us;
 }
Ejemplo n.º 2
0
 public function purchase()
 {
     $gateway = new $this->provider();
     Params::ArrayToObject($this, $gateway);
     return $gateway->purchase();
 }