Type.registerNamespace('Islandus.Web.Services');
Islandus.Web.Services.OtherChargeService=function() {
Islandus.Web.Services.OtherChargeService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Islandus.Web.Services.OtherChargeService.prototype={
GetOtherCharge:function(countryId,succeededCallback, failedCallback, userContext) {
return this._invoke(Islandus.Web.Services.OtherChargeService.get_path(), 'GetOtherCharge',false,{countryId:countryId},succeededCallback,failedCallback,userContext); },
UpdateOtherCharge:function(id,oceanShipping,insurance,harbourFees,vat,maxSalesCommission,minSalesCommission,salesCommissionDefault,minimumAmount,rate,maxAmount,zipCode,offerDeposit,countryId,oceanShippingCurrencyID,updateUserID,updateDate,succeededCallback, failedCallback, userContext) {
return this._invoke(Islandus.Web.Services.OtherChargeService.get_path(), 'UpdateOtherCharge',false,{id:id,oceanShipping:oceanShipping,insurance:insurance,harbourFees:harbourFees,vat:vat,maxSalesCommission:maxSalesCommission,minSalesCommission:minSalesCommission,salesCommissionDefault:salesCommissionDefault,minimumAmount:minimumAmount,rate:rate,maxAmount:maxAmount,zipCode:zipCode,offerDeposit:offerDeposit,countryId:countryId,oceanShippingCurrencyID:oceanShippingCurrencyID,updateUserID:updateUserID,updateDate:updateDate},succeededCallback,failedCallback,userContext); }}
Islandus.Web.Services.OtherChargeService.registerClass('Islandus.Web.Services.OtherChargeService',Sys.Net.WebServiceProxy);
Islandus.Web.Services.OtherChargeService._staticInstance = new Islandus.Web.Services.OtherChargeService();
Islandus.Web.Services.OtherChargeService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; Islandus.Web.Services.OtherChargeService._staticInstance._path = value; }
Islandus.Web.Services.OtherChargeService.get_path = function() { return Islandus.Web.Services.OtherChargeService._staticInstance._path; }
Islandus.Web.Services.OtherChargeService.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
Islandus.Web.Services.OtherChargeService._staticInstance._timeout = value; }
Islandus.Web.Services.OtherChargeService.get_timeout = function() { 
return Islandus.Web.Services.OtherChargeService._staticInstance._timeout; }
Islandus.Web.Services.OtherChargeService.set_defaultUserContext = function(value) { 
Islandus.Web.Services.OtherChargeService._staticInstance._userContext = value; }
Islandus.Web.Services.OtherChargeService.get_defaultUserContext = function() { 
return Islandus.Web.Services.OtherChargeService._staticInstance._userContext; }
Islandus.Web.Services.OtherChargeService.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; Islandus.Web.Services.OtherChargeService._staticInstance._succeeded = value; }
Islandus.Web.Services.OtherChargeService.get_defaultSucceededCallback = function() { 
return Islandus.Web.Services.OtherChargeService._staticInstance._succeeded; }
Islandus.Web.Services.OtherChargeService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; Islandus.Web.Services.OtherChargeService._staticInstance._failed = value; }
Islandus.Web.Services.OtherChargeService.get_defaultFailedCallback = function() { 
return Islandus.Web.Services.OtherChargeService._staticInstance._failed; }
Islandus.Web.Services.OtherChargeService.set_path("/main/Controls/Services/OtherChargeService.asmx");
Islandus.Web.Services.OtherChargeService.GetOtherCharge= function(countryId,onSuccess,onFailed,userContext) {Islandus.Web.Services.OtherChargeService._staticInstance.GetOtherCharge(countryId,onSuccess,onFailed,userContext); }
Islandus.Web.Services.OtherChargeService.UpdateOtherCharge= function(id,oceanShipping,insurance,harbourFees,vat,maxSalesCommission,minSalesCommission,salesCommissionDefault,minimumAmount,rate,maxAmount,zipCode,offerDeposit,countryId,oceanShippingCurrencyID,updateUserID,updateDate,onSuccess,onFailed,userContext) {Islandus.Web.Services.OtherChargeService._staticInstance.UpdateOtherCharge(id,oceanShipping,insurance,harbourFees,vat,maxSalesCommission,minSalesCommission,salesCommissionDefault,minimumAmount,rate,maxAmount,zipCode,offerDeposit,countryId,oceanShippingCurrencyID,updateUserID,updateDate,onSuccess,onFailed,userContext); }
