<?php
namespace QuickBooksOnline\API\Core\Configuration;

/**
* Base Urls for QBO, QBD and IPP
* -----------------
* Remove QBD part from this and the sdk.config File
* Feb.7th.2017 @Hao
* -----------------
*/
class BaseUrl
{
    /**
     * Gets or sets the url for QuickBooks Online Rest Service.
     * @var string
     */
    public $Qbo;

    /**
     * Gets or sets the url for Platform Rest Service.
     * @var string
     */
    public $Ipp;

    /**
     * Initializes a new instance of the BaseUrl class.
     *
     * @param string $Qbo url for QuickBooks Online Rest Service
     * @param string $Ipp url for Platform Rest Service
     */
    public function __construct($Qbo=null, $Ipp=null)
    {
        $this->Qbo=$Qbo;
        $this->Ipp=$Ipp;
    }
}

<?php
namespace QuickBooksOnline\API\Core\Configuration;

/**
* Base Urls for QBO, QBD and IPP
* -----------------
* Remove QBD part from this and the sdk.config File
* Feb.7th.2017 @Hao
* -----------------
*/
class BaseUrl
{
    /**
     * Gets or sets the url for QuickBooks Online Rest Service.
     * @var string
     */
    public $Qbo;

    /**
     * Gets or sets the url for Platform Rest Service.
     * @var string
     */
    public $Ipp;

    /**
     * Initializes a new instance of the BaseUrl class.
     *
     * @param string $Qbo url for QuickBooks Online Rest Service
     * @param string $Ipp url for Platform Rest Service
     */
    public function __construct($Qbo=null, $Ipp=null)
    {
        $this->Qbo=$Qbo;
        if(isset($Ipp))
        {
          $this->Ipp = $Ipp;
        }else {
          $this->Ipp = "https://appcenter.intuit.com/api/";
        }
    }
}

Set the default IPP URI
Set the default IPP URI
