protected function addCouponCodes( array $map )
	{
		$couponId = $this->getCouponId();
		$manager = \Aimeos\MShop::create( $this->getContext(), 'coupon/code' );

		foreach( $map as $code => $ref )
		{
			$item = $manager->createItem()->setParentId( $couponId )
				->setCode( $code )->setRef( $ref )->setCount( null ); // unlimited

			$manager->saveItem( $item );
		}
	}