Skip to content
Snippets Groups Projects
Select Git revision
  • 0140606eb9b29fe4bffe24bb6d8d4768c9cd1e2e
  • dev default protected
  • prod protected
  • 1.0.58
  • 1.0.57
  • 1.0.52
  • 1.0.56
  • 1.0.51
  • 1.0.50
  • 1.0.33
  • 1.0.32
  • 1.0.31
  • 1.0.30
  • 1.0.29
  • 1.0.28
  • 1.0.27
  • 1.0.26
  • 1.0.25
  • 1.0.24
  • 1.0.23
  • 1.0.22
  • 1.0.21
  • 1.0.20
23 results

uSub.php

Blame
  • uSub.php 582 B
    <?php
    
    namespace uafrica\Customshipping\Model\Carrier;
    use Magento\Checkout\Api\Data\ShippingInformationInterface;
    use Magento\Framework\App\ObjectManager;
    use Magento\Framework\Exception\NoSuchEntityException;
    use Magento\Quote\Api\CartRepositoryInterface;
    
    
    class uSub {
    
    
        /**
         * @throws NoSuchEntityException
         */
        public function getDestSuburb()
        {
            $objectManager = ObjectManager::getInstance();
            $quote = $objectManager->get('Magento\Checkout\Model\ShippingInformation')->getExtensionAttributes();
            return $quote->getSuburb();
        }
    
    
    
    }