src/Common/Document/Invoice.php
public function setTo($value)
    {
        if (is_array($value)) {
            $value = new Person($value);
        }
        return $this->setParameter('to', $value);
    }
public function setTo($value)
    {
        if (is_array($value)) {
            $value = new Person($value);
        }
        return $this->setParameter('to', $value);
    }
public function setTo ( $ value ) { if ( is_array ( $ value ) ) { $ value = new Person ( $ value ) ; } return $ this -> setParameter ( 'to' , $ value ) ; }
Set document 'to'

@param array|Person $value Parameter value
@return Invoice provides a fluent interface.
Set document to