public function deleteService( $type )
	{
		$this->_notifyListeners( 'deleteService.before', $type );

		if( isset( $this->_services[$type] ) ) {
			unset( $this->_services[$type] );
			$this->_modified = true;
		}

		$this->_notifyListeners( 'deleteService.after', $type );
	}
public function deleteService( $type )
	{
		$this->_notifyListeners( 'deleteService.before', $type );

		if( isset( $this->_services[$type] ) ) {
			unset( $this->_services[$type] );
			$this->_modified = true;
		}

		$this->_notifyListeners( 'deleteService.after', $type );
	}
public function deleteService ( $ type ) { $ this -> _notifyListeners ( 'deleteService.before' , $ type ) ; if ( isset ( $ this -> _services [ $ type ] ) ) { unset ( $ this -> _services [ $ type ] ) ; $ this -> _modified = true ; } $ this -> _notifyListeners ( 'deleteService.after' , $ type ) ; }
Deletes the delivery or payment service from the basket.
Deletes the delivery or payment service from the basket .