public function getArticleNumberCheckoutURL($articleNumber, Customer $customer = null)
    {
        $article = $this->getArticle($articleNumber);
        if ($article === null) {
            throw new \OutOfBoundsException('Article not found.');
        }

        return $this->getArticleCheckoutURL($article, $customer);
    }
public function getArticleNumberCheckoutURL($articleNumber, Customer $customer = null)
    {
        $article = $this->getArticle($articleNumber);
        if ($article === null) {
            throw new \OutOfBoundsException('Article not found.');
        }

        return $this->getArticleCheckoutURL($article, $customer);
    }
public function getArticleNumberCheckoutURL ( $ articleNumber , Customer $ customer = null ) { $ article = $ this -> getArticle ( $ articleNumber ) ; if ( $ article === null ) { throw new \ OutOfBoundsException ( 'Article not found.' ) ; } return $ this -> getArticleCheckoutURL ( $ article , $ customer ) ; }
Get the checkout URL for an article.

@param string $articleNumber Article number of the article to get the checkout URL.
@param Customer $customer The customer for which the checkout URL should be created.
@return string
@throws \OutOfBoundsException If the article is not found.
Get the checkout URL for an article .