var ShowTimeMaps=function() {
ShowTimeMaps.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ShowTimeMaps.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return ShowTimeMaps._staticInstance.get_path();},
GetShowTimes:function(postalCode,radius,showDate,licenseKey,succeededCallback, failedCallback, userContext) {
/// <param name="postalCode" type="String">System.String</param>
/// <param name="radius" type="Number">System.Int32</param>
/// <param name="showDate" type="Date">System.DateTime</param>
/// <param name="licenseKey" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetShowTimes',false,{postalCode:postalCode,radius:radius,showDate:showDate,licenseKey:licenseKey},succeededCallback,failedCallback,userContext); },
GetShowTimesInBox:function(topLatitude,bottomLatitude,leftLongitude,rightLongitude,showDate,licenseKey,succeededCallback, failedCallback, userContext) {
/// <param name="topLatitude" type="Number">System.Single</param>
/// <param name="bottomLatitude" type="Number">System.Single</param>
/// <param name="leftLongitude" type="Number">System.Single</param>
/// <param name="rightLongitude" type="Number">System.Single</param>
/// <param name="showDate" type="Date">System.DateTime</param>
/// <param name="licenseKey" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetShowTimesInBox',false,{topLatitude:topLatitude,bottomLatitude:bottomLatitude,leftLongitude:leftLongitude,rightLongitude:rightLongitude,showDate:showDate,licenseKey:licenseKey},succeededCallback,failedCallback,userContext); },
GetTheaters:function(postalCode,radius,licenseKey,succeededCallback, failedCallback, userContext) {
/// <param name="postalCode" type="String">System.String</param>
/// <param name="radius" type="Number">System.Int32</param>
/// <param name="licenseKey" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetTheaters',false,{postalCode:postalCode,radius:radius,licenseKey:licenseKey},succeededCallback,failedCallback,userContext); },
GetTheatersInBox:function(topLatitude,bottomLatitude,leftLongitude,rightLongitude,licenseKey,succeededCallback, failedCallback, userContext) {
/// <param name="topLatitude" type="Number">System.Single</param>
/// <param name="bottomLatitude" type="Number">System.Single</param>
/// <param name="leftLongitude" type="Number">System.Single</param>
/// <param name="rightLongitude" type="Number">System.Single</param>
/// <param name="licenseKey" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetTheatersInBox',false,{topLatitude:topLatitude,bottomLatitude:bottomLatitude,leftLongitude:leftLongitude,rightLongitude:rightLongitude,licenseKey:licenseKey},succeededCallback,failedCallback,userContext); },
GetFavoriteTheaters:function(theaterIDs,showDate,licenseKey,succeededCallback, failedCallback, userContext) {
/// <param name="theaterIDs" type="Array">System.Int32[]</param>
/// <param name="showDate" type="Date">System.DateTime</param>
/// <param name="licenseKey" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetFavoriteTheaters',false,{theaterIDs:theaterIDs,showDate:showDate,licenseKey:licenseKey},succeededCallback,failedCallback,userContext); },
AddShowtimeClick:function(theaterID,movieID,startTime,licenseKey,succeededCallback, failedCallback, userContext) {
/// <param name="theaterID" type="Number">System.Int32</param>
/// <param name="movieID" type="Number">System.Int32</param>
/// <param name="startTime" type="Date">System.DateTime</param>
/// <param name="licenseKey" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'AddShowtimeClick',false,{theaterID:theaterID,movieID:movieID,startTime:startTime,licenseKey:licenseKey},succeededCallback,failedCallback,userContext); },
GetPopularShowTimes:function(lastUpdate,displayCount,licenseKey,succeededCallback, failedCallback, userContext) {
/// <param name="lastUpdate" type="Date">System.DateTime</param>
/// <param name="displayCount" type="Number">System.Int32</param>
/// <param name="licenseKey" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetPopularShowTimes',false,{lastUpdate:lastUpdate,displayCount:displayCount,licenseKey:licenseKey},succeededCallback,failedCallback,userContext); },
UpdateFavoriteTheaters:function(memberID,favoriteTheaters,licenseKey,succeededCallback, failedCallback, userContext) {
/// <param name="memberID" type="Number">System.Int32</param>
/// <param name="favoriteTheaters" type="String">System.String</param>
/// <param name="licenseKey" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'UpdateFavoriteTheaters',false,{memberID:memberID,favoriteTheaters:favoriteTheaters,licenseKey:licenseKey},succeededCallback,failedCallback,userContext); }}
ShowTimeMaps.registerClass('ShowTimeMaps',Sys.Net.WebServiceProxy);
ShowTimeMaps._staticInstance = new ShowTimeMaps();
ShowTimeMaps.set_path = function(value) {
ShowTimeMaps._staticInstance.set_path(value); }
ShowTimeMaps.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return ShowTimeMaps._staticInstance.get_path();}
ShowTimeMaps.set_timeout = function(value) {
ShowTimeMaps._staticInstance.set_timeout(value); }
ShowTimeMaps.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return ShowTimeMaps._staticInstance.get_timeout(); }
ShowTimeMaps.set_defaultUserContext = function(value) { 
ShowTimeMaps._staticInstance.set_defaultUserContext(value); }
ShowTimeMaps.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return ShowTimeMaps._staticInstance.get_defaultUserContext(); }
ShowTimeMaps.set_defaultSucceededCallback = function(value) { 
 ShowTimeMaps._staticInstance.set_defaultSucceededCallback(value); }
ShowTimeMaps.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return ShowTimeMaps._staticInstance.get_defaultSucceededCallback(); }
ShowTimeMaps.set_defaultFailedCallback = function(value) { 
ShowTimeMaps._staticInstance.set_defaultFailedCallback(value); }
ShowTimeMaps.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return ShowTimeMaps._staticInstance.get_defaultFailedCallback(); }
ShowTimeMaps.set_path("/stm/ShowTimeMaps.asmx");
ShowTimeMaps.GetShowTimes= function(postalCode,radius,showDate,licenseKey,onSuccess,onFailed,userContext) {
/// <param name="postalCode" type="String">System.String</param>
/// <param name="radius" type="Number">System.Int32</param>
/// <param name="showDate" type="Date">System.DateTime</param>
/// <param name="licenseKey" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
ShowTimeMaps._staticInstance.GetShowTimes(postalCode,radius,showDate,licenseKey,onSuccess,onFailed,userContext); }
ShowTimeMaps.GetShowTimesInBox= function(topLatitude,bottomLatitude,leftLongitude,rightLongitude,showDate,licenseKey,onSuccess,onFailed,userContext) {
/// <param name="topLatitude" type="Number">System.Single</param>
/// <param name="bottomLatitude" type="Number">System.Single</param>
/// <param name="leftLongitude" type="Number">System.Single</param>
/// <param name="rightLongitude" type="Number">System.Single</param>
/// <param name="showDate" type="Date">System.DateTime</param>
/// <param name="licenseKey" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
ShowTimeMaps._staticInstance.GetShowTimesInBox(topLatitude,bottomLatitude,leftLongitude,rightLongitude,showDate,licenseKey,onSuccess,onFailed,userContext); }
ShowTimeMaps.GetTheaters= function(postalCode,radius,licenseKey,onSuccess,onFailed,userContext) {
/// <param name="postalCode" type="String">System.String</param>
/// <param name="radius" type="Number">System.Int32</param>
/// <param name="licenseKey" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
ShowTimeMaps._staticInstance.GetTheaters(postalCode,radius,licenseKey,onSuccess,onFailed,userContext); }
ShowTimeMaps.GetTheatersInBox= function(topLatitude,bottomLatitude,leftLongitude,rightLongitude,licenseKey,onSuccess,onFailed,userContext) {
/// <param name="topLatitude" type="Number">System.Single</param>
/// <param name="bottomLatitude" type="Number">System.Single</param>
/// <param name="leftLongitude" type="Number">System.Single</param>
/// <param name="rightLongitude" type="Number">System.Single</param>
/// <param name="licenseKey" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
ShowTimeMaps._staticInstance.GetTheatersInBox(topLatitude,bottomLatitude,leftLongitude,rightLongitude,licenseKey,onSuccess,onFailed,userContext); }
ShowTimeMaps.GetFavoriteTheaters= function(theaterIDs,showDate,licenseKey,onSuccess,onFailed,userContext) {
/// <param name="theaterIDs" type="Array">System.Int32[]</param>
/// <param name="showDate" type="Date">System.DateTime</param>
/// <param name="licenseKey" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
ShowTimeMaps._staticInstance.GetFavoriteTheaters(theaterIDs,showDate,licenseKey,onSuccess,onFailed,userContext); }
ShowTimeMaps.AddShowtimeClick= function(theaterID,movieID,startTime,licenseKey,onSuccess,onFailed,userContext) {
/// <param name="theaterID" type="Number">System.Int32</param>
/// <param name="movieID" type="Number">System.Int32</param>
/// <param name="startTime" type="Date">System.DateTime</param>
/// <param name="licenseKey" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
ShowTimeMaps._staticInstance.AddShowtimeClick(theaterID,movieID,startTime,licenseKey,onSuccess,onFailed,userContext); }
ShowTimeMaps.GetPopularShowTimes= function(lastUpdate,displayCount,licenseKey,onSuccess,onFailed,userContext) {
/// <param name="lastUpdate" type="Date">System.DateTime</param>
/// <param name="displayCount" type="Number">System.Int32</param>
/// <param name="licenseKey" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
ShowTimeMaps._staticInstance.GetPopularShowTimes(lastUpdate,displayCount,licenseKey,onSuccess,onFailed,userContext); }
ShowTimeMaps.UpdateFavoriteTheaters= function(memberID,favoriteTheaters,licenseKey,onSuccess,onFailed,userContext) {
/// <param name="memberID" type="Number">System.Int32</param>
/// <param name="favoriteTheaters" type="String">System.String</param>
/// <param name="licenseKey" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
ShowTimeMaps._staticInstance.UpdateFavoriteTheaters(memberID,favoriteTheaters,licenseKey,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(Theater) === 'undefined') {
var Theater=gtc("Theater");
Theater.registerClass('Theater');
}
if (typeof(PopularShowTime) === 'undefined') {
var PopularShowTime=gtc("PopularShowTime");
PopularShowTime.registerClass('PopularShowTime');
}
