Type.registerNamespace('Roblox.Web.Code.Marketplace');
Roblox.Web.Code.Marketplace.EconomyServices=function() {
Roblox.Web.Code.Marketplace.EconomyServices.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Roblox.Web.Code.Marketplace.EconomyServices.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Roblox.Web.Code.Marketplace.EconomyServices._staticInstance.get_path();},
GetEstimatedTradeReturnForTickets:function(ticketsToTrade,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetEstimatedTradeReturnForTickets',false,{ticketsToTrade:ticketsToTrade},succeededCallback,failedCallback,userContext); },
GetEstimatedTradeReturnForRobux:function(robuxToTrade,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetEstimatedTradeReturnForRobux',false,{robuxToTrade:robuxToTrade},succeededCallback,failedCallback,userContext); }}
Roblox.Web.Code.Marketplace.EconomyServices.registerClass('Roblox.Web.Code.Marketplace.EconomyServices',Sys.Net.WebServiceProxy);
Roblox.Web.Code.Marketplace.EconomyServices._staticInstance = new Roblox.Web.Code.Marketplace.EconomyServices();
Roblox.Web.Code.Marketplace.EconomyServices.set_path = function(value) { Roblox.Web.Code.Marketplace.EconomyServices._staticInstance.set_path(value); }
Roblox.Web.Code.Marketplace.EconomyServices.get_path = function() { return Roblox.Web.Code.Marketplace.EconomyServices._staticInstance.get_path(); }
Roblox.Web.Code.Marketplace.EconomyServices.set_timeout = function(value) { Roblox.Web.Code.Marketplace.EconomyServices._staticInstance.set_timeout(value); }
Roblox.Web.Code.Marketplace.EconomyServices.get_timeout = function() { return Roblox.Web.Code.Marketplace.EconomyServices._staticInstance.get_timeout(); }
Roblox.Web.Code.Marketplace.EconomyServices.set_defaultUserContext = function(value) { Roblox.Web.Code.Marketplace.EconomyServices._staticInstance.set_defaultUserContext(value); }
Roblox.Web.Code.Marketplace.EconomyServices.get_defaultUserContext = function() { return Roblox.Web.Code.Marketplace.EconomyServices._staticInstance.get_defaultUserContext(); }
Roblox.Web.Code.Marketplace.EconomyServices.set_defaultSucceededCallback = function(value) { Roblox.Web.Code.Marketplace.EconomyServices._staticInstance.set_defaultSucceededCallback(value); }
Roblox.Web.Code.Marketplace.EconomyServices.get_defaultSucceededCallback = function() { return Roblox.Web.Code.Marketplace.EconomyServices._staticInstance.get_defaultSucceededCallback(); }
Roblox.Web.Code.Marketplace.EconomyServices.set_defaultFailedCallback = function(value) { Roblox.Web.Code.Marketplace.EconomyServices._staticInstance.set_defaultFailedCallback(value); }
Roblox.Web.Code.Marketplace.EconomyServices.get_defaultFailedCallback = function() { return Roblox.Web.Code.Marketplace.EconomyServices._staticInstance.get_defaultFailedCallback(); }
Roblox.Web.Code.Marketplace.EconomyServices.set_enableJsonp = function(value) { Roblox.Web.Code.Marketplace.EconomyServices._staticInstance.set_enableJsonp(value); }
Roblox.Web.Code.Marketplace.EconomyServices.get_enableJsonp = function() { return Roblox.Web.Code.Marketplace.EconomyServices._staticInstance.get_enableJsonp(); }
Roblox.Web.Code.Marketplace.EconomyServices.set_jsonpCallbackParameter = function(value) { Roblox.Web.Code.Marketplace.EconomyServices._staticInstance.set_jsonpCallbackParameter(value); }
Roblox.Web.Code.Marketplace.EconomyServices.get_jsonpCallbackParameter = function() { return Roblox.Web.Code.Marketplace.EconomyServices._staticInstance.get_jsonpCallbackParameter(); }
Roblox.Web.Code.Marketplace.EconomyServices.set_path("/Marketplace/EconomyServices.asmx");
Roblox.Web.Code.Marketplace.EconomyServices.GetEstimatedTradeReturnForTickets= function(ticketsToTrade,onSuccess,onFailed,userContext) {Roblox.Web.Code.Marketplace.EconomyServices._staticInstance.GetEstimatedTradeReturnForTickets(ticketsToTrade,onSuccess,onFailed,userContext); }
Roblox.Web.Code.Marketplace.EconomyServices.GetEstimatedTradeReturnForRobux= function(robuxToTrade,onSuccess,onFailed,userContext) {Roblox.Web.Code.Marketplace.EconomyServices._staticInstance.GetEstimatedTradeReturnForRobux(robuxToTrade,onSuccess,onFailed,userContext); }

