public function setWarehouseId( $warehouseid )
	{
		if ( $warehouseid === $this->getWarehouseId() ) { return; }

		if ( $warehouseid !== null ) {
			$warehouseid = (int) $warehouseid;
		}

		$this->_values['warehouseid'] = $warehouseid;
		$this->setModified();
	}
public function setWarehouseId( $warehouseid )
	{
		if ( $warehouseid === $this->getWarehouseId() ) { return; }

		if ( $warehouseid !== null ) {
			$warehouseid = (int) $warehouseid;
		}

		$this->_values['warehouseid'] = $warehouseid;
		$this->setModified();
	}
public function setWarehouseId ( $ warehouseid ) { if ( $ warehouseid === $ this -> getWarehouseId ( ) ) { return ; } if ( $ warehouseid !== null ) { $ warehouseid = ( int ) $ warehouseid ; } $ this -> _values [ 'warehouseid' ] = $ warehouseid ; $ this -> setModified ( ) ; }
Sets the warehouse Id.

@param integer|null $warehouseid New warehouse Id
Sets the warehouse Id .