src/icepay_api_order.php
public function setCity($city) {
        if (empty($city))
            throw new Exception('City must be set and cannot be empty.');

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

        return $this;
    }
public function setCity($city) {
        if (empty($city))
            throw new Exception('City must be set and cannot be empty.');

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

        return $this;
    }
public function setCity ( $ city ) { if ( empty ( $ city ) ) throw new Exception ( 'City must be set and cannot be empty.' ) ; $ this -> city = trim ( $ city ) ; return $ this ; }
Sets the address city

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