public function setType( $type )
	{
		if ( $type == $this->getType() ) { return; }

		$this->_checkType( $type );

		$this->_values['type'] = (string) $type;
		$this->setModified();
	}
public function setType( $type )
	{
		if ( $type == $this->getType() ) { return; }

		$this->_checkType( $type );

		$this->_values['type'] = (string) $type;
		$this->setModified();
	}
public function setType ( $ type ) { if ( $ type == $ this -> getType ( ) ) { return ; } $ this -> _checkType ( $ type ) ; $ this -> _values [ 'type' ] = ( string ) $ type ; $ this -> setModified ( ) ; }
Sets the new type of the address which can be billing or delivery.

@param string $type New type of the address
Sets the new type of the address which can be billing or delivery .