public function AddLink()
    {
        $link = Controller::join_links(
            Director::absoluteBaseURL(),
            ShoppingCart::config()->url_segment,
            "usediscount",
            $this->Code
        );

        return $link;
    }
public function AddLink()
    {
        $link = Controller::join_links(
            Director::absoluteBaseURL(),
            ShoppingCart::config()->url_segment,
            "usediscount",
            $this->Code
        );

        return $link;
    }
public function AddLink ( ) { $ link = Controller :: join_links ( Director :: absoluteBaseURL ( ) , ShoppingCart :: config ( ) -> url_segment , "usediscount" , $ this -> Code ) ; return $ link ; }
Return a URL that allows this code to be added to a cart
automatically

@return String
Return a URL that allows this code to be added to a cart automatically