Type.registerNamespace('IMPOST.FrontOffice.Services');
IMPOST.FrontOffice.Services.GoodsService=function() {
IMPOST.FrontOffice.Services.GoodsService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
IMPOST.FrontOffice.Services.GoodsService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return IMPOST.FrontOffice.Services.GoodsService._staticInstance.get_path();},
SendZayavka:function(goodItemId,name,email,phone,message,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SendZayavka',false,{goodItemId:goodItemId,name:name,email:email,phone:phone,message:message},succeededCallback,failedCallback,userContext); }}
IMPOST.FrontOffice.Services.GoodsService.registerClass('IMPOST.FrontOffice.Services.GoodsService',Sys.Net.WebServiceProxy);
IMPOST.FrontOffice.Services.GoodsService._staticInstance = new IMPOST.FrontOffice.Services.GoodsService();
IMPOST.FrontOffice.Services.GoodsService.set_path = function(value) { IMPOST.FrontOffice.Services.GoodsService._staticInstance.set_path(value); }
IMPOST.FrontOffice.Services.GoodsService.get_path = function() { return IMPOST.FrontOffice.Services.GoodsService._staticInstance.get_path(); }
IMPOST.FrontOffice.Services.GoodsService.set_timeout = function(value) { IMPOST.FrontOffice.Services.GoodsService._staticInstance.set_timeout(value); }
IMPOST.FrontOffice.Services.GoodsService.get_timeout = function() { return IMPOST.FrontOffice.Services.GoodsService._staticInstance.get_timeout(); }
IMPOST.FrontOffice.Services.GoodsService.set_defaultUserContext = function(value) { IMPOST.FrontOffice.Services.GoodsService._staticInstance.set_defaultUserContext(value); }
IMPOST.FrontOffice.Services.GoodsService.get_defaultUserContext = function() { return IMPOST.FrontOffice.Services.GoodsService._staticInstance.get_defaultUserContext(); }
IMPOST.FrontOffice.Services.GoodsService.set_defaultSucceededCallback = function(value) { IMPOST.FrontOffice.Services.GoodsService._staticInstance.set_defaultSucceededCallback(value); }
IMPOST.FrontOffice.Services.GoodsService.get_defaultSucceededCallback = function() { return IMPOST.FrontOffice.Services.GoodsService._staticInstance.get_defaultSucceededCallback(); }
IMPOST.FrontOffice.Services.GoodsService.set_defaultFailedCallback = function(value) { IMPOST.FrontOffice.Services.GoodsService._staticInstance.set_defaultFailedCallback(value); }
IMPOST.FrontOffice.Services.GoodsService.get_defaultFailedCallback = function() { return IMPOST.FrontOffice.Services.GoodsService._staticInstance.get_defaultFailedCallback(); }
IMPOST.FrontOffice.Services.GoodsService.set_path("/Services/GoodsService.asmx");
IMPOST.FrontOffice.Services.GoodsService.SendZayavka= function(goodItemId,name,email,phone,message,onSuccess,onFailed,userContext) {IMPOST.FrontOffice.Services.GoodsService._staticInstance.SendZayavka(goodItemId,name,email,phone,message,onSuccess,onFailed,userContext); }
