public function setCouponId( $id )
	{
		if ( $id == $this->getCouponId() ) { return; }

		$this->_values['couponid'] = (int) $id;
		$this->setModified();
	}
public function setCouponId( $id )
	{
		if ( $id == $this->getCouponId() ) { return; }

		$this->_values['couponid'] = (int) $id;
		$this->setModified();
	}
public function setCouponId ( $ id ) { if ( $ id == $ this -> getCouponId ( ) ) { return ; } $ this -> _values [ 'couponid' ] = ( int ) $ id ; $ this -> setModified ( ) ; }
Sets the new unique ID of the coupon item the code belongs to.

@param integer $id Unique ID of the coupon item
Sets the new unique ID of the coupon item the code belongs to .