Type.registerNamespace('GSD.Website.Web.Services');
GSD.Website.Web.Services.PaymentOptionsService=function() {
GSD.Website.Web.Services.PaymentOptionsService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
GSD.Website.Web.Services.PaymentOptionsService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return GSD.Website.Web.Services.PaymentOptionsService._staticInstance.get_path();},
GetPaymentOptions:function(marketingItemId,offerGroupCode,selectedProds,selectedPaymentOptionId,succeededCallback, failedCallback, userContext) {
/// <param name="marketingItemId" type="Number">System.Int32</param>
/// <param name="offerGroupCode" type="String">System.String</param>
/// <param name="selectedProds" type="String">System.String</param>
/// <param name="selectedPaymentOptionId" 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(), 'GetPaymentOptions',true,{marketingItemId:marketingItemId,offerGroupCode:offerGroupCode,selectedProds:selectedProds,selectedPaymentOptionId:selectedPaymentOptionId},succeededCallback,failedCallback,userContext); }}
GSD.Website.Web.Services.PaymentOptionsService.registerClass('GSD.Website.Web.Services.PaymentOptionsService',Sys.Net.WebServiceProxy);
GSD.Website.Web.Services.PaymentOptionsService._staticInstance = new GSD.Website.Web.Services.PaymentOptionsService();
GSD.Website.Web.Services.PaymentOptionsService.set_path = function(value) {
GSD.Website.Web.Services.PaymentOptionsService._staticInstance.set_path(value); }
GSD.Website.Web.Services.PaymentOptionsService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return GSD.Website.Web.Services.PaymentOptionsService._staticInstance.get_path();}
GSD.Website.Web.Services.PaymentOptionsService.set_timeout = function(value) {
GSD.Website.Web.Services.PaymentOptionsService._staticInstance.set_timeout(value); }
GSD.Website.Web.Services.PaymentOptionsService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return GSD.Website.Web.Services.PaymentOptionsService._staticInstance.get_timeout(); }
GSD.Website.Web.Services.PaymentOptionsService.set_defaultUserContext = function(value) { 
GSD.Website.Web.Services.PaymentOptionsService._staticInstance.set_defaultUserContext(value); }
GSD.Website.Web.Services.PaymentOptionsService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return GSD.Website.Web.Services.PaymentOptionsService._staticInstance.get_defaultUserContext(); }
GSD.Website.Web.Services.PaymentOptionsService.set_defaultSucceededCallback = function(value) { 
 GSD.Website.Web.Services.PaymentOptionsService._staticInstance.set_defaultSucceededCallback(value); }
GSD.Website.Web.Services.PaymentOptionsService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return GSD.Website.Web.Services.PaymentOptionsService._staticInstance.get_defaultSucceededCallback(); }
GSD.Website.Web.Services.PaymentOptionsService.set_defaultFailedCallback = function(value) { 
GSD.Website.Web.Services.PaymentOptionsService._staticInstance.set_defaultFailedCallback(value); }
GSD.Website.Web.Services.PaymentOptionsService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return GSD.Website.Web.Services.PaymentOptionsService._staticInstance.get_defaultFailedCallback(); }
GSD.Website.Web.Services.PaymentOptionsService.set_path("/Services/PaymentOptionsService.svc");
GSD.Website.Web.Services.PaymentOptionsService.GetPaymentOptions= function(marketingItemId,offerGroupCode,selectedProds,selectedPaymentOptionId,onSuccess,onFailed,userContext) {
/// <param name="marketingItemId" type="Number">System.Int32</param>
/// <param name="offerGroupCode" type="String">System.String</param>
/// <param name="selectedProds" type="String">System.String</param>
/// <param name="selectedPaymentOptionId" 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>
GSD.Website.Web.Services.PaymentOptionsService._staticInstance.GetPaymentOptions(marketingItemId,offerGroupCode,selectedProds,selectedPaymentOptionId,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(GSD.Website.Web.Services.PaymentOptionsService.DisplayPaymentOption) === 'undefined') {
GSD.Website.Web.Services.PaymentOptionsService.DisplayPaymentOption=gtc("PaymentOptionsService.DisplayPaymentOption:http://schemas.datacontract.org/2004/07/GSD.Website.Web.Services");
GSD.Website.Web.Services.PaymentOptionsService.DisplayPaymentOption.registerClass('GSD.Website.Web.Services.PaymentOptionsService.DisplayPaymentOption');
}
