public function getCheckoutUrl()
    {
        if (empty($this->_links->checkout)) {
            return null;
        }

        return $this->_links->checkout->href;
    }
public function getCheckoutUrl()
    {
        if (empty($this->_links->checkout)) {
            return null;
        }

        return $this->_links->checkout->href;
    }
public function getCheckoutUrl ( ) { if ( empty ( $ this -> _links -> checkout ) ) { return null ; } return $ this -> _links -> checkout -> href ; }
Get the checkout URL where the customer can complete the payment.

@return string|null
Get the checkout URL where the customer can complete the payment .