19 protected static function extractParams(
Entity $entity)
25 $collection = $entity->getCollection();
27 $collection = $entity->getCollection();
28 elseif ($entity instanceof
Order)
30 return array(
'PRICE_PAYMENT' => $entity->getPrice());
36 $order = $collection->getOrder();
38 return array(
'PRICE_PAYMENT' => $order->getPrice());
41 return array(
'PRICE_PAYMENT' =>
null);