protected function prepareOrderComponentsAccountOrder(array &$order)
    {
        $this->setItemOrderCartComponent($order, $this->price);
        $this->setItemOrderPriceRuleComponent($order, $this->price, $this->price_rule);
        $this->setItemOrderPaymentComponent($order, $this->price, $this->payment, $this->order);
        $this->setItemOrderShippingComponent($order, $this->price, $this->shipping, $this->order);

        ksort($order['data']['components']);
    }
protected function prepareOrderComponentsAccountOrder(array &$order)
    {
        $this->setItemOrderCartComponent($order, $this->price);
        $this->setItemOrderPriceRuleComponent($order, $this->price, $this->price_rule);
        $this->setItemOrderPaymentComponent($order, $this->price, $this->payment, $this->order);
        $this->setItemOrderShippingComponent($order, $this->price, $this->shipping, $this->order);

        ksort($order['data']['components']);
    }
protected function prepareOrderComponentsAccountOrder ( array & $ order ) { $ this -> setItemOrderCartComponent ( $ order , $ this -> price ) ; $ this -> setItemOrderPriceRuleComponent ( $ order , $ this -> price , $ this -> price_rule ) ; $ this -> setItemOrderPaymentComponent ( $ order , $ this -> price , $ this -> payment , $ this -> order ) ; $ this -> setItemOrderShippingComponent ( $ order , $ this -> price , $ this -> shipping , $ this -> order ) ; ksort ( $ order [ 'data' ] [ 'components' ] ) ; }
Prepare order components
@param array $order
Prepare order components