Type.registerNamespace('iShootWSDL');
iShootWSDL.PaymentService=function() {
iShootWSDL.PaymentService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
iShootWSDL.PaymentService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return iShootWSDL.PaymentService._staticInstance.get_path();},
GetRateList:function(Prdcls,sellerId,sortType,succeededCallback, failedCallback, userContext) {
/// <param name="Prdcls" type="Number">System.Int32</param>
/// <param name="sellerId" type="String">System.String</param>
/// <param name="sortType" 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(), 'GetRateList',false,{Prdcls:Prdcls,sellerId:sellerId,sortType:sortType},succeededCallback,failedCallback,userContext); },
SetFixUseHistory:function(shootingUID,SellerUID,FixType,succeededCallback, failedCallback, userContext) {
/// <param name="shootingUID" type="String">System.String</param>
/// <param name="SellerUID" type="String">System.String</param>
/// <param name="FixType" type="Number">System.Int32</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(), 'SetFixUseHistory',false,{shootingUID:shootingUID,SellerUID:SellerUID,FixType:FixType},succeededCallback,failedCallback,userContext); },
SetPointUse:function(item_id,payMethodID,shootingUID,camp_type,auto_charge_type,succeededCallback, failedCallback, userContext) {
/// <param name="item_id" type="String">System.String</param>
/// <param name="payMethodID" type="String">System.String</param>
/// <param name="shootingUID" type="String">System.String</param>
/// <param name="camp_type" type="String">System.String</param>
/// <param name="auto_charge_type" 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(), 'SetPointUse',false,{item_id:item_id,payMethodID:payMethodID,shootingUID:shootingUID,camp_type:camp_type,auto_charge_type:auto_charge_type},succeededCallback,failedCallback,userContext); },
PayShooting:function(ShootingUID,succeededCallback, failedCallback, userContext) {
/// <param name="ShootingUID" 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(), 'PayShooting',false,{ShootingUID:ShootingUID},succeededCallback,failedCallback,userContext); },
CancelAutoPay:function(FlatRatePrdtHstryId,prdtNm,succeededCallback, failedCallback, userContext) {
/// <param name="FlatRatePrdtHstryId" type="Number">System.Int32</param>
/// <param name="prdtNm" 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(), 'CancelAutoPay',false,{FlatRatePrdtHstryId:FlatRatePrdtHstryId,prdtNm:prdtNm},succeededCallback,failedCallback,userContext); },
GetRecFrdList:function(expsCode,cnt,succeededCallback, failedCallback, userContext) {
/// <param name="expsCode" type="Number">System.Int32</param>
/// <param name="cnt" type="Number">System.Int32</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(), 'GetRecFrdList',false,{expsCode:expsCode,cnt:cnt},succeededCallback,failedCallback,userContext); },
GetFixPriceUseByPrdtCls:function(PrdtCls,succeededCallback, failedCallback, userContext) {
/// <param name="PrdtCls" type="Number">System.Int32</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(), 'GetFixPriceUseByPrdtCls',false,{PrdtCls:PrdtCls},succeededCallback,failedCallback,userContext); },
SetShootingGift:function(payMethodID,shooterUID,shootingUID,camp_type,auto_charge_type,succeededCallback, failedCallback, userContext) {
/// <param name="payMethodID" type="String">System.String</param>
/// <param name="shooterUID" type="String">System.String</param>
/// <param name="shootingUID" type="String">System.String</param>
/// <param name="camp_type" type="String">System.String</param>
/// <param name="auto_charge_type" 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(), 'SetShootingGift',false,{payMethodID:payMethodID,shooterUID:shooterUID,shootingUID:shootingUID,camp_type:camp_type,auto_charge_type:auto_charge_type},succeededCallback,failedCallback,userContext); }}
iShootWSDL.PaymentService.registerClass('iShootWSDL.PaymentService',Sys.Net.WebServiceProxy);
iShootWSDL.PaymentService._staticInstance = new iShootWSDL.PaymentService();
iShootWSDL.PaymentService.set_path = function(value) {
iShootWSDL.PaymentService._staticInstance.set_path(value); }
iShootWSDL.PaymentService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return iShootWSDL.PaymentService._staticInstance.get_path();}
iShootWSDL.PaymentService.set_timeout = function(value) {
iShootWSDL.PaymentService._staticInstance.set_timeout(value); }
iShootWSDL.PaymentService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return iShootWSDL.PaymentService._staticInstance.get_timeout(); }
iShootWSDL.PaymentService.set_defaultUserContext = function(value) { 
iShootWSDL.PaymentService._staticInstance.set_defaultUserContext(value); }
iShootWSDL.PaymentService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return iShootWSDL.PaymentService._staticInstance.get_defaultUserContext(); }
iShootWSDL.PaymentService.set_defaultSucceededCallback = function(value) { 
 iShootWSDL.PaymentService._staticInstance.set_defaultSucceededCallback(value); }
iShootWSDL.PaymentService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return iShootWSDL.PaymentService._staticInstance.get_defaultSucceededCallback(); }
iShootWSDL.PaymentService.set_defaultFailedCallback = function(value) { 
iShootWSDL.PaymentService._staticInstance.set_defaultFailedCallback(value); }
iShootWSDL.PaymentService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return iShootWSDL.PaymentService._staticInstance.get_defaultFailedCallback(); }
iShootWSDL.PaymentService.set_enableJsonp = function(value) { iShootWSDL.PaymentService._staticInstance.set_enableJsonp(value); }
iShootWSDL.PaymentService.get_enableJsonp = function() { 
/// <value type="Boolean">Specifies whether the service supports JSONP for cross domain calling.</value>
return iShootWSDL.PaymentService._staticInstance.get_enableJsonp(); }
iShootWSDL.PaymentService.set_jsonpCallbackParameter = function(value) { iShootWSDL.PaymentService._staticInstance.set_jsonpCallbackParameter(value); }
iShootWSDL.PaymentService.get_jsonpCallbackParameter = function() { 
/// <value type="String">Specifies the parameter name that contains the callback function name for a JSONP request.</value>
return iShootWSDL.PaymentService._staticInstance.get_jsonpCallbackParameter(); }
iShootWSDL.PaymentService.set_path("/ishootWSDL/PaymentService.asmx");
iShootWSDL.PaymentService.GetRateList= function(Prdcls,sellerId,sortType,onSuccess,onFailed,userContext) {
/// <param name="Prdcls" type="Number">System.Int32</param>
/// <param name="sellerId" type="String">System.String</param>
/// <param name="sortType" 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>
iShootWSDL.PaymentService._staticInstance.GetRateList(Prdcls,sellerId,sortType,onSuccess,onFailed,userContext); }
iShootWSDL.PaymentService.SetFixUseHistory= function(shootingUID,SellerUID,FixType,onSuccess,onFailed,userContext) {
/// <param name="shootingUID" type="String">System.String</param>
/// <param name="SellerUID" type="String">System.String</param>
/// <param name="FixType" type="Number">System.Int32</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>
iShootWSDL.PaymentService._staticInstance.SetFixUseHistory(shootingUID,SellerUID,FixType,onSuccess,onFailed,userContext); }
iShootWSDL.PaymentService.SetPointUse= function(item_id,payMethodID,shootingUID,camp_type,auto_charge_type,onSuccess,onFailed,userContext) {
/// <param name="item_id" type="String">System.String</param>
/// <param name="payMethodID" type="String">System.String</param>
/// <param name="shootingUID" type="String">System.String</param>
/// <param name="camp_type" type="String">System.String</param>
/// <param name="auto_charge_type" 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>
iShootWSDL.PaymentService._staticInstance.SetPointUse(item_id,payMethodID,shootingUID,camp_type,auto_charge_type,onSuccess,onFailed,userContext); }
iShootWSDL.PaymentService.PayShooting= function(ShootingUID,onSuccess,onFailed,userContext) {
/// <param name="ShootingUID" 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>
iShootWSDL.PaymentService._staticInstance.PayShooting(ShootingUID,onSuccess,onFailed,userContext); }
iShootWSDL.PaymentService.CancelAutoPay= function(FlatRatePrdtHstryId,prdtNm,onSuccess,onFailed,userContext) {
/// <param name="FlatRatePrdtHstryId" type="Number">System.Int32</param>
/// <param name="prdtNm" 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>
iShootWSDL.PaymentService._staticInstance.CancelAutoPay(FlatRatePrdtHstryId,prdtNm,onSuccess,onFailed,userContext); }
iShootWSDL.PaymentService.GetRecFrdList= function(expsCode,cnt,onSuccess,onFailed,userContext) {
/// <param name="expsCode" type="Number">System.Int32</param>
/// <param name="cnt" type="Number">System.Int32</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>
iShootWSDL.PaymentService._staticInstance.GetRecFrdList(expsCode,cnt,onSuccess,onFailed,userContext); }
iShootWSDL.PaymentService.GetFixPriceUseByPrdtCls= function(PrdtCls,onSuccess,onFailed,userContext) {
/// <param name="PrdtCls" type="Number">System.Int32</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>
iShootWSDL.PaymentService._staticInstance.GetFixPriceUseByPrdtCls(PrdtCls,onSuccess,onFailed,userContext); }
iShootWSDL.PaymentService.SetShootingGift= function(payMethodID,shooterUID,shootingUID,camp_type,auto_charge_type,onSuccess,onFailed,userContext) {
/// <param name="payMethodID" type="String">System.String</param>
/// <param name="shooterUID" type="String">System.String</param>
/// <param name="shootingUID" type="String">System.String</param>
/// <param name="camp_type" type="String">System.String</param>
/// <param name="auto_charge_type" 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>
iShootWSDL.PaymentService._staticInstance.SetShootingGift(payMethodID,shooterUID,shootingUID,camp_type,auto_charge_type,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('iShoot.Type');
if (typeof(iShoot.Type.Rate) === 'undefined') {
iShoot.Type.Rate=gtc("iShoot.Type.Rate");
iShoot.Type.Rate.registerClass('iShoot.Type.Rate');
}
if (typeof(iShoot.Type.FileRightDTO) === 'undefined') {
iShoot.Type.FileRightDTO=gtc("iShoot.Type.FileRightDTO");
iShoot.Type.FileRightDTO.registerClass('iShoot.Type.FileRightDTO');
}
if (typeof(iShoot.Type.ShooterInfo) === 'undefined') {
iShoot.Type.ShooterInfo=gtc("iShoot.Type.ShooterInfo");
iShoot.Type.ShooterInfo.registerClass('iShoot.Type.ShooterInfo');
}

