public function getComponentTypes()
    {
        $types = array(
            'cart' => $this->translation->text('Cart'),
            'payment' => $this->translation->text('Payment'),
            'shipping' => $this->translation->text('Shipping')
        );

        $this->hook->attach('order.component.types', $types);
        return $types;
    }