/**
* Create SMS keyword subscription service.
*
* @param string $country Service country code (LT, LV etc.)
* @param string $number Service short number (1679)
* @param string $keyword_register Service register keyword on given number
* @param string $keyword_unregister [optional] Service unregister keyword on given number
* @param integer $price Register and renewal price in cents (0, 30, 100, 200, etc.)
* @param integer $period Renewal period in days (5, 7, 14, 30)
* @param string $url Project URL
* @param integer $category_id Service category id (see possible service categories)
* @param array $service_params Service additional parameters structure
notify_url - URL where notifications should be sent
notify_admin_url - [optional] URL where notifications about service changes should be sent (activate, reject, comment, archive, operator_enable, operator_disable events)
secret_key - Password, used to for secure notification sending
pay_text - [optional] Subscription renewal text
sms_notify_url - [optional] URL where register sms notification should be sent
multiple - [optional] should multiple registration for a single user in the same service be allowed
* @param array $service_langs [optional] List of service description structures:
language - Language code (LT, LV, EN etc.)
description - Service description in given language (from 32 to 160 symbols)
* @param array $price_exceptions [optional] List of price exception structures:
operator - Price operator (bite_lt, tele2_lv, etc.)
price - Register and renewal price in cents (0, 30, 100, 200, etc.)
period - Renewal period in days (5, 7, 14, 30)
* @param array $price_additional [optional] List of additional services prices in cents (0, 30, 100, 200, etc.) !not implemented!
* @param string - [optional] $partner_service_certificate Service owner certificate (Individualios veiklos nr.) e.g. (18.30-69.1) - S(A) - 531 !not implemented!
* @param string - [optional] $partner_service_certificate_date Service ownter certificate registration date e.g. 2010-10-10 !not implemented!
* @return object Service information structure
*
* Usage example:
* $client = new Zend_Soap_Client('http://partners.vero.lt/MBS/services-server?wsdl');
$client->setHttpLogin('partner_username');
$client->setHttpPassword('partner_password');
$params = array(
'country' => 'LT',
'number' => '1679',
'keyword_register' => 'MUAHAHA',
'keyword_unregister' => 'UNMUAHAHA',
'price' => 100,
'period' => 7,
'url' => 'http://my.project.com/',
'category_id' => 1,
'service_params' => array(
'notify_url' => 'http://my.project.com/notify/subscription',
'notify_admin_url' => 'http://my.project.com/notify/admin',
'secret_key' => '789_very_long_secret_key_123',
'sms_notify_url' => 'http://my.project.com/notify/register-sms',
'multiple' => 0,
),
'service_langs' => array(
array('language' => 'LT', 'description' => 'Lietuviškas paslaugos aprašymas'),
array('language' => 'EN', 'description' => 'English service description'),
),
'price_exceptions' => array(
array('operator' => 'bite_lt', 'price' => '150', 'period' => 30),
)
);
try{
$resp = $client->__call('keywordSubscriptionCreate', $params);
var_export($resp);
}catch(Exception $e){
echo "Code: {$e->getCode()} Message: {$e->getMessage()}";
}
*/