Type.registerNamespace('UserPCSite');
UserPCSite.Profiles=function() {
UserPCSite.Profiles.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
UserPCSite.Profiles.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return UserPCSite.Profiles._staticInstance.get_path();},
GetUserPurchaseHistory:function(startDate,endDate,chunkSize,offset,succeededCallback, failedCallback, userContext) {
/// <param name="startDate" type="String">System.String</param>
/// <param name="endDate" type="String">System.String</param>
/// <param name="chunkSize" type="String">System.String</param>
/// <param name="offset" 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(), 'GetUserPurchaseHistory',true,{startDate:startDate,endDate:endDate,chunkSize:chunkSize,offset:offset},succeededCallback,failedCallback,userContext); }}
UserPCSite.Profiles.registerClass('UserPCSite.Profiles',Sys.Net.WebServiceProxy);
UserPCSite.Profiles._staticInstance = new UserPCSite.Profiles();
UserPCSite.Profiles.set_path = function(value) {
UserPCSite.Profiles._staticInstance.set_path(value); }
UserPCSite.Profiles.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return UserPCSite.Profiles._staticInstance.get_path();}
UserPCSite.Profiles.set_timeout = function(value) {
UserPCSite.Profiles._staticInstance.set_timeout(value); }
UserPCSite.Profiles.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return UserPCSite.Profiles._staticInstance.get_timeout(); }
UserPCSite.Profiles.set_defaultUserContext = function(value) { 
UserPCSite.Profiles._staticInstance.set_defaultUserContext(value); }
UserPCSite.Profiles.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return UserPCSite.Profiles._staticInstance.get_defaultUserContext(); }
UserPCSite.Profiles.set_defaultSucceededCallback = function(value) { 
 UserPCSite.Profiles._staticInstance.set_defaultSucceededCallback(value); }
UserPCSite.Profiles.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return UserPCSite.Profiles._staticInstance.get_defaultSucceededCallback(); }
UserPCSite.Profiles.set_defaultFailedCallback = function(value) { 
UserPCSite.Profiles._staticInstance.set_defaultFailedCallback(value); }
UserPCSite.Profiles.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return UserPCSite.Profiles._staticInstance.get_defaultFailedCallback(); }
UserPCSite.Profiles.set_path("/Services/Profiles/Profiles.svc");
UserPCSite.Profiles.GetUserPurchaseHistory= function(startDate,endDate,chunkSize,offset,onSuccess,onFailed,userContext) {
/// <param name="startDate" type="String">System.String</param>
/// <param name="endDate" type="String">System.String</param>
/// <param name="chunkSize" type="String">System.String</param>
/// <param name="offset" 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>
UserPCSite.Profiles._staticInstance.GetUserPurchaseHistory(startDate,endDate,chunkSize,offset,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('Microsoft.WindowsMobile.Service.Marketplace');
if (typeof(Microsoft.WindowsMobile.Service.Marketplace.ListOfPurchaseRecord) === 'undefined') {
Microsoft.WindowsMobile.Service.Marketplace.ListOfPurchaseRecord=gtc("ListOfPurchaseRecord:Microsoft.WindowsMobile.Service.Marketplace");
Microsoft.WindowsMobile.Service.Marketplace.ListOfPurchaseRecord.registerClass('Microsoft.WindowsMobile.Service.Marketplace.ListOfPurchaseRecord');
}
if (typeof(Microsoft.WindowsMobile.Service.Marketplace.ListResponseOfPurchaseRecord) === 'undefined') {
Microsoft.WindowsMobile.Service.Marketplace.ListResponseOfPurchaseRecord=gtc("ListResponseOfPurchaseRecord:Microsoft.WindowsMobile.Service.Marketplace");
Microsoft.WindowsMobile.Service.Marketplace.ListResponseOfPurchaseRecord.registerClass('Microsoft.WindowsMobile.Service.Marketplace.ListResponseOfPurchaseRecord');
}
if (typeof(Microsoft.WindowsMobile.Service.Marketplace.ResponseBase) === 'undefined') {
Microsoft.WindowsMobile.Service.Marketplace.ResponseBase=gtc("ResponseBase:Microsoft.WindowsMobile.Service.Marketplace");
Microsoft.WindowsMobile.Service.Marketplace.ResponseBase.registerClass('Microsoft.WindowsMobile.Service.Marketplace.ResponseBase');
}
if (typeof(Microsoft.WindowsMobile.Service.Marketplace.CountedListOfPurchaseRecordsk_PMA66X) === 'undefined') {
Microsoft.WindowsMobile.Service.Marketplace.CountedListOfPurchaseRecordsk_PMA66X=gtc("CountedListOfPurchaseRecordsk_PMA66X:Microsoft.WindowsMobile.Service.Marketplace");
Microsoft.WindowsMobile.Service.Marketplace.CountedListOfPurchaseRecordsk_PMA66X.registerClass('Microsoft.WindowsMobile.Service.Marketplace.CountedListOfPurchaseRecordsk_PMA66X');
}
if (typeof(Microsoft.WindowsMobile.Service.Marketplace.PurchaseRecord) === 'undefined') {
Microsoft.WindowsMobile.Service.Marketplace.PurchaseRecord=gtc("PurchaseRecord:Microsoft.WindowsMobile.Service.Marketplace");
Microsoft.WindowsMobile.Service.Marketplace.PurchaseRecord.registerClass('Microsoft.WindowsMobile.Service.Marketplace.PurchaseRecord');
}
