lib/Model/Address.php
public function setLine2($line2)
    {
        if (!is_null($line2) && (strlen($line2) > 200)) {
            throw new \InvalidArgumentException('invalid length for $line2 when calling Address., must be smaller than or equal to 200.');
        }

        $this->container['line2'] = $line2;

        return $this;
    }
public function setLine2($line2)
    {
        if (!is_null($line2) && (strlen($line2) > 200)) {
            throw new \InvalidArgumentException('invalid length for $line2 when calling Address., must be smaller than or equal to 200.');
        }

        $this->container['line2'] = $line2;

        return $this;
    }
public function setLine2 ( $ line2 ) { if ( ! is_null ( $ line2 ) && ( strlen ( $ line2 ) > 200 ) ) { throw new \ InvalidArgumentException ( 'invalid length for $line2 when calling Address., must be smaller than or equal to 200.' ) ; } $ this -> container [ 'line2' ] = $ line2 ; return $ this ; }
Sets line2
@param string $line2 The (optional) second address line
@return $this
Sets line2