src/icepay_api_order.php
public function setStreet($street) {
        if (empty($street))
            throw new Exception('Streetname must be set and cannot be empty.');

        $this->street = trim($street);

        return $this;
    }
public function setStreet($street) {
        if (empty($street))
            throw new Exception('Streetname must be set and cannot be empty.');

        $this->street = trim($street);

        return $this;
    }
public function setStreet ( $ street ) { if ( empty ( $ street ) ) throw new Exception ( 'Streetname must be set and cannot be empty.' ) ; $ this -> street = trim ( $ street ) ; return $ this ; }
Sets the streetname

@since 1.0.0
@param string A string containing the streetname
@return \Icepay_Order_Address
@throws Exception when empty
Sets the streetname