src/PrestaShop/Invoice/Source.php
protected function setId()
    {
        $this->id = $this->source->id;
        if ($this->getType() === Source::CreditNote) {
            $this->addProperties();
        }
    }
protected function setId()
    {
        $this->id = $this->source->id;
        if ($this->getType() === Source::CreditNote) {
            $this->addProperties();
        }
    }
protected function setId ( ) { $ this -> id = $ this -> source -> id ; if ( $ this -> getType ( ) === Source :: CreditNote ) { $ this -> addProperties ( ) ; } }
Sets the id based on the loaded Order.
Sets the id based on the loaded Order .