private function getDefaultMethod($price, $cost = null)
    {
        $method = $this->rateMethodFactory->create();
        $method->setData('carrier', $this->getCarrierCode());
        $method->setData('carrier_title', 'Shopgate');
        $method->setData('method', $this->method);
        $method->setData('method_title', $this->getConfigData('name'));
        $method->setData('cost', $cost ? : $price);
        $method->setPrice($price);

        return $method;
    }