
com.ebay.widgets.createClass('com.ebay.widgets.util.Duration').methods({input:null,days:0,hours:0,minutes:0,seconds:0,constructs:function(ebayDuration){this.input=ebayDuration;if(this.parseDuration()===false){throw new ArgumentError("Invalid duration string");}},parseDuration:function(){var dayStr;var timeStr;var index;var i;var str;var splitDuration=[];if('P'!=this.input.charAt(0)){return false;}
splitDuration=this.input.split('T');dayStr=(splitDuration[0]).substring(1);timeStr=splitDuration[1];if(this.processYMD(dayStr)&&this.processHMS(timeStr)){return true;}
return false;},processYMD:function(inputStr){var value=0;for(var i=0;i<inputStr.length;i++){switch(inputStr.charAt(i)){case'0':case'1':case'2':case'3':case'4':case'5':case'6':case'7':case'8':case'9':value=value*10+(inputStr.charCodeAt(i)-"0".charCodeAt(0));break;case'D':this.days=value;value=0;break;case'Y':case'M':value=0;return false;default:value=0;return false;}}
return true;},processHMS:function(inputStr){var value=0;for(var i=0;i<inputStr.length;i++){switch(inputStr.charAt(i)){case'0':case'1':case'2':case'3':case'4':case'5':case'6':case'7':case'8':case'9':value=value*10+(inputStr.charCodeAt(i)-"0".charCodeAt(0));break;case'H':this.hours=value;value=0;break;case'M':this.minutes=value;value=0;break;case'S':this.seconds=value;value=0;break;default:return false;}}
return true;},durationValue:function(){var str="";if(this.days>0){str+=this.days.toString()+"d ";}
if(this.hours>0){str+=this.hours.toString()+"h ";}
if(this.minutes>0){str+=this.minutes.toString()+"m ";}
if(this.seconds>0){str+=this.seconds.toString()+"s";}
return str.trim();}}).props({secondsPerDay:60*60*24,secondsPerHour:60*60,secondsPerMinute:60});com.ebay.widgets.createClass('com.ebay.widgets.io.Factory').props({getTransport:function(transportType){if(transportType=='XSS'){return new com.ebay.widgets.io.XSSRequest();}else if(transportType=='XHR'){return new com.ebay.widgets.io.XHRRequest();}else if(transportType=='XQA'){return new com.ebay.widgets.io.XSSRequestMock();}}});com.ebay.widgets.createClass('com.ebay.widgets.io.XSSRequest').methods({node:null,constructs:function(){this.node=document.createElement("script");this.node.type="text/javascript";return this;},send:function(url){this.node.src=url;var element=document.getElementsByTagName("body")[0];element.appendChild(this.node);}});com.ebay.widgets.createClass('com.ebay.widgets.io.XHRRequest').methods({constructs:function(){this.xmlHttpRequest=null;try{if(window.XMLHttpRequest){this.xmlHttpRequest=new XMLHttpRequest();return;}
if(window.ActiveXObject){this.xmlHttpRequest=new ActiveXObject(this.getXmlHttpProgID());}}catch(ex){throw new Error("Your browser does not support XmlHttp objects");}
return this;},send:function(url,async){try{var self=this;if(this.xmlHttpRequest.readyState===null){this.xmlHttpRequest.readyState=1;this.xmlHttpRequest.addEventListener("load",function(){self.xmlHttpRequest.readyState=4;if(typeof this.xmlHttpRequest.onreadystatechange=="function"){self.xmlHttpRequest.onreadystatechange();}},false);}else{this.xmlHttpRequest.onreadystatechange=function(){if(self.xmlHttpRequest.readyState===4){return self.xmlHttpRequest.responseXML;}};}
this.xmlHttpRequest.open("GET",url,async);this.xmlHttpRequest.send(null);}catch(e){alert(e);}
return this.xmlHttpRequest.responseXML;},getXML:function(){return this.xmlHttpRequest.responseXML;},getXmlHttpProgID:function(){var progids=["Msxml2.XMLHTTP.5.0","Msxml2.XMLHTTP.4.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"];var o;for(var i=0;i<progids.length;i++){try{o=new ActiveXObject(progids[i]);return progids[i];}
catch(ex){}}
throw new Error("Could not find an installed XML parser");}});com.ebay.widgets.createClass('com.ebay.shoppingservice.ShoppingConfig').methods({constructs:function(props){this.siteId=props.siteId;this.appId=props.appId;this.trackingId=props.trackingId;this.trackingPartnerCode=props.trackingPartnerCode;this.affiliateUserId=props.affiliateUserId;}});com.ebay.widgets.createClass('com.ebay.shoppingservice.ShoppingCallback').methods({object:null,success:null,failure:null,timeout:null,constructs:function(props){this.object=props?props.object:undefined;this.success=props?props.success:undefined;this.failure=props?props.failure:undefined;this.timeout=props?props.timeout:undefined;}});com.ebay.widgets.createClass('com.ebay.shoppingservice.InsuranceOptionCodeType').props({Optional:null,Required:null,NotOffered:null,IncludedInShippingHandling:null,NotOfferedOnSite:null,CustomCode:null}).methods({constructs:function(object){this.value=object.hasOwnProperty('value')?object.value:object;},toString:function(){return this.value;},getValue:function(){return this.value;}}).inits(function(){com.ebay.shoppingservice.InsuranceOptionCodeType.Optional=new com.ebay.shoppingservice.InsuranceOptionCodeType("Optional");com.ebay.shoppingservice.InsuranceOptionCodeType.Required=new com.ebay.shoppingservice.InsuranceOptionCodeType("Required");com.ebay.shoppingservice.InsuranceOptionCodeType.NotOffered=new com.ebay.shoppingservice.InsuranceOptionCodeType("NotOffered");com.ebay.shoppingservice.InsuranceOptionCodeType.IncludedInShippingHandling=new com.ebay.shoppingservice.InsuranceOptionCodeType("IncludedInShippingHandling");com.ebay.shoppingservice.InsuranceOptionCodeType.NotOfferedOnSite=new com.ebay.shoppingservice.InsuranceOptionCodeType("NotOfferedOnSite");com.ebay.shoppingservice.InsuranceOptionCodeType.CustomCode=new com.ebay.shoppingservice.InsuranceOptionCodeType("CustomCode");});com.ebay.widgets.createClass('com.ebay.shoppingservice.ShippingTypeCodeType').props({Flat:null,Calculated:null,Freight:null,Free:null,NotSpecified:null,FlatDomesticCalculatedInternational:null,CalculatedDomesticFlatInternational:null,CustomCode:null}).methods({constructs:function(object){this.value=object.hasOwnProperty('value')?object.value:object;},toString:function(){return this.value;},getValue:function(){return this.value;}}).inits(function(){com.ebay.shoppingservice.ShippingTypeCodeType.Flat=new com.ebay.shoppingservice.ShippingTypeCodeType("Flat");com.ebay.shoppingservice.ShippingTypeCodeType.Calculated=new com.ebay.shoppingservice.ShippingTypeCodeType("Calculated");com.ebay.shoppingservice.ShippingTypeCodeType.Freight=new com.ebay.shoppingservice.ShippingTypeCodeType("Freight");com.ebay.shoppingservice.ShippingTypeCodeType.Free=new com.ebay.shoppingservice.ShippingTypeCodeType("Free");com.ebay.shoppingservice.ShippingTypeCodeType.NotSpecified=new com.ebay.shoppingservice.ShippingTypeCodeType("NotSpecified");com.ebay.shoppingservice.ShippingTypeCodeType.FlatDomesticCalculatedInternational=new com.ebay.shoppingservice.ShippingTypeCodeType("FlatDomesticCalculatedInternational");com.ebay.shoppingservice.ShippingTypeCodeType.CalculatedDomesticFlatInternational=new com.ebay.shoppingservice.ShippingTypeCodeType("CalculatedDomesticFlatInternational");com.ebay.shoppingservice.ShippingTypeCodeType.CustomCode=new com.ebay.shoppingservice.ShippingTypeCodeType("CustomCode");});com.ebay.widgets.createClass('com.ebay.shoppingservice.CurrencyCodeType').props({AFA:null,ALL:null,DZD:null,ADP:null,AOA:null,ARS:null,AMD:null,AWG:null,AZM:null,BSD:null,BHD:null,BDT:null,BBD:null,BYR:null,BZD:null,BMD:null,BTN:null,INR:null,BOV:null,BOB:null,BAM:null,BWP:null,BRL:null,BND:null,BGL:null,BGN:null,BIF:null,KHR:null,CAD:null,CVE:null,KYD:null,XAF:null,CLF:null,CLP:null,CNY:null,COP:null,KMF:null,CDF:null,CRC:null,HRK:null,CUP:null,CYP:null,CZK:null,DKK:null,DJF:null,DOP:null,TPE:null,ECV:null,ECS:null,EGP:null,SVC:null,ERN:null,EEK:null,ETB:null,FKP:null,FJD:null,GMD:null,GEL:null,GHC:null,GIP:null,GTQ:null,GNF:null,GWP:null,GYD:null,HTG:null,HNL:null,HKD:null,HUF:null,ISK:null,IDR:null,IRR:null,IQD:null,ILS:null,JMD:null,JPY:null,JOD:null,KZT:null,KES:null,AUD:null,KPW:null,KRW:null,KWD:null,KGS:null,LAK:null,LVL:null,LBP:null,LSL:null,LRD:null,LYD:null,CHF:null,LTL:null,MOP:null,MKD:null,MGF:null,MWK:null,MYR:null,MVR:null,MTL:null,EUR:null,MRO:null,MUR:null,MXN:null,MXV:null,MDL:null,MNT:null,XCD:null,MZM:null,MMK:null,ZAR:null,NAD:null,NPR:null,ANG:null,XPF:null,NZD:null,NIO:null,NGN:null,NOK:null,OMR:null,PKR:null,PAB:null,PGK:null,PYG:null,PEN:null,PHP:null,PLN:null,USD:null,QAR:null,ROL:null,RUB:null,RUR:null,RWF:null,SHP:null,WST:null,STD:null,SAR:null,SCR:null,SLL:null,SGD:null,SKK:null,SIT:null,SBD:null,SOS:null,LKR:null,SDD:null,SRG:null,SZL:null,SEK:null,SYP:null,TWD:null,TJS:null,TZS:null,THB:null,XOF:null,TOP:null,TTD:null,TND:null,TRL:null,TMM:null,UGX:null,UAH:null,AED:null,GBP:null,USS:null,USN:null,UYU:null,UZS:null,VUV:null,VEB:null,VND:null,MAD:null,YER:null,YUM:null,ZMK:null,ZWD:null,ATS:null,CustomCode:null}).methods({constructs:function(object){this.value=object.hasOwnProperty('value')?object.value:object;},toString:function(){return this.value;},getValue:function(){return this.value;}}).inits(function(){com.ebay.shoppingservice.CurrencyCodeType.AFA=new com.ebay.shoppingservice.CurrencyCodeType("AFA");com.ebay.shoppingservice.CurrencyCodeType.ALL=new com.ebay.shoppingservice.CurrencyCodeType("ALL");com.ebay.shoppingservice.CurrencyCodeType.DZD=new com.ebay.shoppingservice.CurrencyCodeType("DZD");com.ebay.shoppingservice.CurrencyCodeType.ADP=new com.ebay.shoppingservice.CurrencyCodeType("ADP");com.ebay.shoppingservice.CurrencyCodeType.AOA=new com.ebay.shoppingservice.CurrencyCodeType("AOA");com.ebay.shoppingservice.CurrencyCodeType.ARS=new com.ebay.shoppingservice.CurrencyCodeType("ARS");com.ebay.shoppingservice.CurrencyCodeType.AMD=new com.ebay.shoppingservice.CurrencyCodeType("AMD");com.ebay.shoppingservice.CurrencyCodeType.AWG=new com.ebay.shoppingservice.CurrencyCodeType("AWG");com.ebay.shoppingservice.CurrencyCodeType.AZM=new com.ebay.shoppingservice.CurrencyCodeType("AZM");com.ebay.shoppingservice.CurrencyCodeType.BSD=new com.ebay.shoppingservice.CurrencyCodeType("BSD");com.ebay.shoppingservice.CurrencyCodeType.BHD=new com.ebay.shoppingservice.CurrencyCodeType("BHD");com.ebay.shoppingservice.CurrencyCodeType.BDT=new com.ebay.shoppingservice.CurrencyCodeType("BDT");com.ebay.shoppingservice.CurrencyCodeType.BBD=new com.ebay.shoppingservice.CurrencyCodeType("BBD");com.ebay.shoppingservice.CurrencyCodeType.BYR=new com.ebay.shoppingservice.CurrencyCodeType("BYR");com.ebay.shoppingservice.CurrencyCodeType.BZD=new com.ebay.shoppingservice.CurrencyCodeType("BZD");com.ebay.shoppingservice.CurrencyCodeType.BMD=new com.ebay.shoppingservice.CurrencyCodeType("BMD");com.ebay.shoppingservice.CurrencyCodeType.BTN=new com.ebay.shoppingservice.CurrencyCodeType("BTN");com.ebay.shoppingservice.CurrencyCodeType.INR=new com.ebay.shoppingservice.CurrencyCodeType("INR");com.ebay.shoppingservice.CurrencyCodeType.BOV=new com.ebay.shoppingservice.CurrencyCodeType("BOV");com.ebay.shoppingservice.CurrencyCodeType.BOB=new com.ebay.shoppingservice.CurrencyCodeType("BOB");com.ebay.shoppingservice.CurrencyCodeType.BAM=new com.ebay.shoppingservice.CurrencyCodeType("BAM");com.ebay.shoppingservice.CurrencyCodeType.BWP=new com.ebay.shoppingservice.CurrencyCodeType("BWP");com.ebay.shoppingservice.CurrencyCodeType.BRL=new com.ebay.shoppingservice.CurrencyCodeType("BRL");com.ebay.shoppingservice.CurrencyCodeType.BND=new com.ebay.shoppingservice.CurrencyCodeType("BND");com.ebay.shoppingservice.CurrencyCodeType.BGL=new com.ebay.shoppingservice.CurrencyCodeType("BGL");com.ebay.shoppingservice.CurrencyCodeType.BGN=new com.ebay.shoppingservice.CurrencyCodeType("BGN");com.ebay.shoppingservice.CurrencyCodeType.BIF=new com.ebay.shoppingservice.CurrencyCodeType("BIF");com.ebay.shoppingservice.CurrencyCodeType.KHR=new com.ebay.shoppingservice.CurrencyCodeType("KHR");com.ebay.shoppingservice.CurrencyCodeType.CAD=new com.ebay.shoppingservice.CurrencyCodeType("CAD");com.ebay.shoppingservice.CurrencyCodeType.CVE=new com.ebay.shoppingservice.CurrencyCodeType("CVE");com.ebay.shoppingservice.CurrencyCodeType.KYD=new com.ebay.shoppingservice.CurrencyCodeType("KYD");com.ebay.shoppingservice.CurrencyCodeType.XAF=new com.ebay.shoppingservice.CurrencyCodeType("XAF");com.ebay.shoppingservice.CurrencyCodeType.CLF=new com.ebay.shoppingservice.CurrencyCodeType("CLF");com.ebay.shoppingservice.CurrencyCodeType.CLP=new com.ebay.shoppingservice.CurrencyCodeType("CLP");com.ebay.shoppingservice.CurrencyCodeType.CNY=new com.ebay.shoppingservice.CurrencyCodeType("CNY");com.ebay.shoppingservice.CurrencyCodeType.COP=new com.ebay.shoppingservice.CurrencyCodeType("COP");com.ebay.shoppingservice.CurrencyCodeType.KMF=new com.ebay.shoppingservice.CurrencyCodeType("KMF");com.ebay.shoppingservice.CurrencyCodeType.CDF=new com.ebay.shoppingservice.CurrencyCodeType("CDF");com.ebay.shoppingservice.CurrencyCodeType.CRC=new com.ebay.shoppingservice.CurrencyCodeType("CRC");com.ebay.shoppingservice.CurrencyCodeType.HRK=new com.ebay.shoppingservice.CurrencyCodeType("HRK");com.ebay.shoppingservice.CurrencyCodeType.CUP=new com.ebay.shoppingservice.CurrencyCodeType("CUP");com.ebay.shoppingservice.CurrencyCodeType.CYP=new com.ebay.shoppingservice.CurrencyCodeType("CYP");com.ebay.shoppingservice.CurrencyCodeType.CZK=new com.ebay.shoppingservice.CurrencyCodeType("CZK");com.ebay.shoppingservice.CurrencyCodeType.DKK=new com.ebay.shoppingservice.CurrencyCodeType("DKK");com.ebay.shoppingservice.CurrencyCodeType.DJF=new com.ebay.shoppingservice.CurrencyCodeType("DJF");com.ebay.shoppingservice.CurrencyCodeType.DOP=new com.ebay.shoppingservice.CurrencyCodeType("DOP");com.ebay.shoppingservice.CurrencyCodeType.TPE=new com.ebay.shoppingservice.CurrencyCodeType("TPE");com.ebay.shoppingservice.CurrencyCodeType.ECV=new com.ebay.shoppingservice.CurrencyCodeType("ECV");com.ebay.shoppingservice.CurrencyCodeType.ECS=new com.ebay.shoppingservice.CurrencyCodeType("ECS");com.ebay.shoppingservice.CurrencyCodeType.EGP=new com.ebay.shoppingservice.CurrencyCodeType("EGP");com.ebay.shoppingservice.CurrencyCodeType.SVC=new com.ebay.shoppingservice.CurrencyCodeType("SVC");com.ebay.shoppingservice.CurrencyCodeType.ERN=new com.ebay.shoppingservice.CurrencyCodeType("ERN");com.ebay.shoppingservice.CurrencyCodeType.EEK=new com.ebay.shoppingservice.CurrencyCodeType("EEK");com.ebay.shoppingservice.CurrencyCodeType.ETB=new com.ebay.shoppingservice.CurrencyCodeType("ETB");com.ebay.shoppingservice.CurrencyCodeType.FKP=new com.ebay.shoppingservice.CurrencyCodeType("FKP");com.ebay.shoppingservice.CurrencyCodeType.FJD=new com.ebay.shoppingservice.CurrencyCodeType("FJD");com.ebay.shoppingservice.CurrencyCodeType.GMD=new com.ebay.shoppingservice.CurrencyCodeType("GMD");com.ebay.shoppingservice.CurrencyCodeType.GEL=new com.ebay.shoppingservice.CurrencyCodeType("GEL");com.ebay.shoppingservice.CurrencyCodeType.GHC=new com.ebay.shoppingservice.CurrencyCodeType("GHC");com.ebay.shoppingservice.CurrencyCodeType.GIP=new com.ebay.shoppingservice.CurrencyCodeType("GIP");com.ebay.shoppingservice.CurrencyCodeType.GTQ=new com.ebay.shoppingservice.CurrencyCodeType("GTQ");com.ebay.shoppingservice.CurrencyCodeType.GNF=new com.ebay.shoppingservice.CurrencyCodeType("GNF");com.ebay.shoppingservice.CurrencyCodeType.GWP=new com.ebay.shoppingservice.CurrencyCodeType("GWP");com.ebay.shoppingservice.CurrencyCodeType.GYD=new com.ebay.shoppingservice.CurrencyCodeType("GYD");com.ebay.shoppingservice.CurrencyCodeType.HTG=new com.ebay.shoppingservice.CurrencyCodeType("HTG");com.ebay.shoppingservice.CurrencyCodeType.HNL=new com.ebay.shoppingservice.CurrencyCodeType("HNL");com.ebay.shoppingservice.CurrencyCodeType.HKD=new com.ebay.shoppingservice.CurrencyCodeType("HKD");com.ebay.shoppingservice.CurrencyCodeType.HUF=new com.ebay.shoppingservice.CurrencyCodeType("HUF");com.ebay.shoppingservice.CurrencyCodeType.ISK=new com.ebay.shoppingservice.CurrencyCodeType("ISK");com.ebay.shoppingservice.CurrencyCodeType.IDR=new com.ebay.shoppingservice.CurrencyCodeType("IDR");com.ebay.shoppingservice.CurrencyCodeType.IRR=new com.ebay.shoppingservice.CurrencyCodeType("IRR");com.ebay.shoppingservice.CurrencyCodeType.IQD=new com.ebay.shoppingservice.CurrencyCodeType("IQD");com.ebay.shoppingservice.CurrencyCodeType.ILS=new com.ebay.shoppingservice.CurrencyCodeType("ILS");com.ebay.shoppingservice.CurrencyCodeType.JMD=new com.ebay.shoppingservice.CurrencyCodeType("JMD");com.ebay.shoppingservice.CurrencyCodeType.JPY=new com.ebay.shoppingservice.CurrencyCodeType("JPY");com.ebay.shoppingservice.CurrencyCodeType.JOD=new com.ebay.shoppingservice.CurrencyCodeType("JOD");com.ebay.shoppingservice.CurrencyCodeType.KZT=new com.ebay.shoppingservice.CurrencyCodeType("KZT");com.ebay.shoppingservice.CurrencyCodeType.KES=new com.ebay.shoppingservice.CurrencyCodeType("KES");com.ebay.shoppingservice.CurrencyCodeType.AUD=new com.ebay.shoppingservice.CurrencyCodeType("AUD");com.ebay.shoppingservice.CurrencyCodeType.KPW=new com.ebay.shoppingservice.CurrencyCodeType("KPW");com.ebay.shoppingservice.CurrencyCodeType.KRW=new com.ebay.shoppingservice.CurrencyCodeType("KRW");com.ebay.shoppingservice.CurrencyCodeType.KWD=new com.ebay.shoppingservice.CurrencyCodeType("KWD");com.ebay.shoppingservice.CurrencyCodeType.KGS=new com.ebay.shoppingservice.CurrencyCodeType("KGS");com.ebay.shoppingservice.CurrencyCodeType.LAK=new com.ebay.shoppingservice.CurrencyCodeType("LAK");com.ebay.shoppingservice.CurrencyCodeType.LVL=new com.ebay.shoppingservice.CurrencyCodeType("LVL");com.ebay.shoppingservice.CurrencyCodeType.LBP=new com.ebay.shoppingservice.CurrencyCodeType("LBP");com.ebay.shoppingservice.CurrencyCodeType.LSL=new com.ebay.shoppingservice.CurrencyCodeType("LSL");com.ebay.shoppingservice.CurrencyCodeType.LRD=new com.ebay.shoppingservice.CurrencyCodeType("LRD");com.ebay.shoppingservice.CurrencyCodeType.LYD=new com.ebay.shoppingservice.CurrencyCodeType("LYD");com.ebay.shoppingservice.CurrencyCodeType.CHF=new com.ebay.shoppingservice.CurrencyCodeType("CHF");com.ebay.shoppingservice.CurrencyCodeType.LTL=new com.ebay.shoppingservice.CurrencyCodeType("LTL");com.ebay.shoppingservice.CurrencyCodeType.MOP=new com.ebay.shoppingservice.CurrencyCodeType("MOP");com.ebay.shoppingservice.CurrencyCodeType.MKD=new com.ebay.shoppingservice.CurrencyCodeType("MKD");com.ebay.shoppingservice.CurrencyCodeType.MGF=new com.ebay.shoppingservice.CurrencyCodeType("MGF");com.ebay.shoppingservice.CurrencyCodeType.MWK=new com.ebay.shoppingservice.CurrencyCodeType("MWK");com.ebay.shoppingservice.CurrencyCodeType.MYR=new com.ebay.shoppingservice.CurrencyCodeType("MYR");com.ebay.shoppingservice.CurrencyCodeType.MVR=new com.ebay.shoppingservice.CurrencyCodeType("MVR");com.ebay.shoppingservice.CurrencyCodeType.MTL=new com.ebay.shoppingservice.CurrencyCodeType("MTL");com.ebay.shoppingservice.CurrencyCodeType.EUR=new com.ebay.shoppingservice.CurrencyCodeType("EUR");com.ebay.shoppingservice.CurrencyCodeType.MRO=new com.ebay.shoppingservice.CurrencyCodeType("MRO");com.ebay.shoppingservice.CurrencyCodeType.MUR=new com.ebay.shoppingservice.CurrencyCodeType("MUR");com.ebay.shoppingservice.CurrencyCodeType.MXN=new com.ebay.shoppingservice.CurrencyCodeType("MXN");com.ebay.shoppingservice.CurrencyCodeType.MXV=new com.ebay.shoppingservice.CurrencyCodeType("MXV");com.ebay.shoppingservice.CurrencyCodeType.MDL=new com.ebay.shoppingservice.CurrencyCodeType("MDL");com.ebay.shoppingservice.CurrencyCodeType.MNT=new com.ebay.shoppingservice.CurrencyCodeType("MNT");com.ebay.shoppingservice.CurrencyCodeType.XCD=new com.ebay.shoppingservice.CurrencyCodeType("XCD");com.ebay.shoppingservice.CurrencyCodeType.MZM=new com.ebay.shoppingservice.CurrencyCodeType("MZM");com.ebay.shoppingservice.CurrencyCodeType.MMK=new com.ebay.shoppingservice.CurrencyCodeType("MMK");com.ebay.shoppingservice.CurrencyCodeType.ZAR=new com.ebay.shoppingservice.CurrencyCodeType("ZAR");com.ebay.shoppingservice.CurrencyCodeType.NAD=new com.ebay.shoppingservice.CurrencyCodeType("NAD");com.ebay.shoppingservice.CurrencyCodeType.NPR=new com.ebay.shoppingservice.CurrencyCodeType("NPR");com.ebay.shoppingservice.CurrencyCodeType.ANG=new com.ebay.shoppingservice.CurrencyCodeType("ANG");com.ebay.shoppingservice.CurrencyCodeType.XPF=new com.ebay.shoppingservice.CurrencyCodeType("XPF");com.ebay.shoppingservice.CurrencyCodeType.NZD=new com.ebay.shoppingservice.CurrencyCodeType("NZD");com.ebay.shoppingservice.CurrencyCodeType.NIO=new com.ebay.shoppingservice.CurrencyCodeType("NIO");com.ebay.shoppingservice.CurrencyCodeType.NGN=new com.ebay.shoppingservice.CurrencyCodeType("NGN");com.ebay.shoppingservice.CurrencyCodeType.NOK=new com.ebay.shoppingservice.CurrencyCodeType("NOK");com.ebay.shoppingservice.CurrencyCodeType.OMR=new com.ebay.shoppingservice.CurrencyCodeType("OMR");com.ebay.shoppingservice.CurrencyCodeType.PKR=new com.ebay.shoppingservice.CurrencyCodeType("PKR");com.ebay.shoppingservice.CurrencyCodeType.PAB=new com.ebay.shoppingservice.CurrencyCodeType("PAB");com.ebay.shoppingservice.CurrencyCodeType.PGK=new com.ebay.shoppingservice.CurrencyCodeType("PGK");com.ebay.shoppingservice.CurrencyCodeType.PYG=new com.ebay.shoppingservice.CurrencyCodeType("PYG");com.ebay.shoppingservice.CurrencyCodeType.PEN=new com.ebay.shoppingservice.CurrencyCodeType("PEN");com.ebay.shoppingservice.CurrencyCodeType.PHP=new com.ebay.shoppingservice.CurrencyCodeType("PHP");com.ebay.shoppingservice.CurrencyCodeType.PLN=new com.ebay.shoppingservice.CurrencyCodeType("PLN");com.ebay.shoppingservice.CurrencyCodeType.USD=new com.ebay.shoppingservice.CurrencyCodeType("USD");com.ebay.shoppingservice.CurrencyCodeType.QAR=new com.ebay.shoppingservice.CurrencyCodeType("QAR");com.ebay.shoppingservice.CurrencyCodeType.ROL=new com.ebay.shoppingservice.CurrencyCodeType("ROL");com.ebay.shoppingservice.CurrencyCodeType.RUB=new com.ebay.shoppingservice.CurrencyCodeType("RUB");com.ebay.shoppingservice.CurrencyCodeType.RUR=new com.ebay.shoppingservice.CurrencyCodeType("RUR");com.ebay.shoppingservice.CurrencyCodeType.RWF=new com.ebay.shoppingservice.CurrencyCodeType("RWF");com.ebay.shoppingservice.CurrencyCodeType.SHP=new com.ebay.shoppingservice.CurrencyCodeType("SHP");com.ebay.shoppingservice.CurrencyCodeType.WST=new com.ebay.shoppingservice.CurrencyCodeType("WST");com.ebay.shoppingservice.CurrencyCodeType.STD=new com.ebay.shoppingservice.CurrencyCodeType("STD");com.ebay.shoppingservice.CurrencyCodeType.SAR=new com.ebay.shoppingservice.CurrencyCodeType("SAR");com.ebay.shoppingservice.CurrencyCodeType.SCR=new com.ebay.shoppingservice.CurrencyCodeType("SCR");com.ebay.shoppingservice.CurrencyCodeType.SLL=new com.ebay.shoppingservice.CurrencyCodeType("SLL");com.ebay.shoppingservice.CurrencyCodeType.SGD=new com.ebay.shoppingservice.CurrencyCodeType("SGD");com.ebay.shoppingservice.CurrencyCodeType.SKK=new com.ebay.shoppingservice.CurrencyCodeType("SKK");com.ebay.shoppingservice.CurrencyCodeType.SIT=new com.ebay.shoppingservice.CurrencyCodeType("SIT");com.ebay.shoppingservice.CurrencyCodeType.SBD=new com.ebay.shoppingservice.CurrencyCodeType("SBD");com.ebay.shoppingservice.CurrencyCodeType.SOS=new com.ebay.shoppingservice.CurrencyCodeType("SOS");com.ebay.shoppingservice.CurrencyCodeType.LKR=new com.ebay.shoppingservice.CurrencyCodeType("LKR");com.ebay.shoppingservice.CurrencyCodeType.SDD=new com.ebay.shoppingservice.CurrencyCodeType("SDD");com.ebay.shoppingservice.CurrencyCodeType.SRG=new com.ebay.shoppingservice.CurrencyCodeType("SRG");com.ebay.shoppingservice.CurrencyCodeType.SZL=new com.ebay.shoppingservice.CurrencyCodeType("SZL");com.ebay.shoppingservice.CurrencyCodeType.SEK=new com.ebay.shoppingservice.CurrencyCodeType("SEK");com.ebay.shoppingservice.CurrencyCodeType.SYP=new com.ebay.shoppingservice.CurrencyCodeType("SYP");com.ebay.shoppingservice.CurrencyCodeType.TWD=new com.ebay.shoppingservice.CurrencyCodeType("TWD");com.ebay.shoppingservice.CurrencyCodeType.TJS=new com.ebay.shoppingservice.CurrencyCodeType("TJS");com.ebay.shoppingservice.CurrencyCodeType.TZS=new com.ebay.shoppingservice.CurrencyCodeType("TZS");com.ebay.shoppingservice.CurrencyCodeType.THB=new com.ebay.shoppingservice.CurrencyCodeType("THB");com.ebay.shoppingservice.CurrencyCodeType.XOF=new com.ebay.shoppingservice.CurrencyCodeType("XOF");com.ebay.shoppingservice.CurrencyCodeType.TOP=new com.ebay.shoppingservice.CurrencyCodeType("TOP");com.ebay.shoppingservice.CurrencyCodeType.TTD=new com.ebay.shoppingservice.CurrencyCodeType("TTD");com.ebay.shoppingservice.CurrencyCodeType.TND=new com.ebay.shoppingservice.CurrencyCodeType("TND");com.ebay.shoppingservice.CurrencyCodeType.TRL=new com.ebay.shoppingservice.CurrencyCodeType("TRL");com.ebay.shoppingservice.CurrencyCodeType.TMM=new com.ebay.shoppingservice.CurrencyCodeType("TMM");com.ebay.shoppingservice.CurrencyCodeType.UGX=new com.ebay.shoppingservice.CurrencyCodeType("UGX");com.ebay.shoppingservice.CurrencyCodeType.UAH=new com.ebay.shoppingservice.CurrencyCodeType("UAH");com.ebay.shoppingservice.CurrencyCodeType.AED=new com.ebay.shoppingservice.CurrencyCodeType("AED");com.ebay.shoppingservice.CurrencyCodeType.GBP=new com.ebay.shoppingservice.CurrencyCodeType("GBP");com.ebay.shoppingservice.CurrencyCodeType.USS=new com.ebay.shoppingservice.CurrencyCodeType("USS");com.ebay.shoppingservice.CurrencyCodeType.USN=new com.ebay.shoppingservice.CurrencyCodeType("USN");com.ebay.shoppingservice.CurrencyCodeType.UYU=new com.ebay.shoppingservice.CurrencyCodeType("UYU");com.ebay.shoppingservice.CurrencyCodeType.UZS=new com.ebay.shoppingservice.CurrencyCodeType("UZS");com.ebay.shoppingservice.CurrencyCodeType.VUV=new com.ebay.shoppingservice.CurrencyCodeType("VUV");com.ebay.shoppingservice.CurrencyCodeType.VEB=new com.ebay.shoppingservice.CurrencyCodeType("VEB");com.ebay.shoppingservice.CurrencyCodeType.VND=new com.ebay.shoppingservice.CurrencyCodeType("VND");com.ebay.shoppingservice.CurrencyCodeType.MAD=new com.ebay.shoppingservice.CurrencyCodeType("MAD");com.ebay.shoppingservice.CurrencyCodeType.YER=new com.ebay.shoppingservice.CurrencyCodeType("YER");com.ebay.shoppingservice.CurrencyCodeType.YUM=new com.ebay.shoppingservice.CurrencyCodeType("YUM");com.ebay.shoppingservice.CurrencyCodeType.ZMK=new com.ebay.shoppingservice.CurrencyCodeType("ZMK");com.ebay.shoppingservice.CurrencyCodeType.ZWD=new com.ebay.shoppingservice.CurrencyCodeType("ZWD");com.ebay.shoppingservice.CurrencyCodeType.ATS=new com.ebay.shoppingservice.CurrencyCodeType("ATS");com.ebay.shoppingservice.CurrencyCodeType.CustomCode=new com.ebay.shoppingservice.CurrencyCodeType("CustomCode");});com.ebay.widgets.createClass('com.ebay.shoppingservice.AmountType').methods({currencyID:null,value:null,constructs:function(props){this.value=com.ebay.shoppingservice.Utils.parseFloat(props.Value,props.value);this.currencyID=new com.ebay.shoppingservice.CurrencyCodeType(props.currencyID||props.CurrencyID);},toString:function(){return this.value.toString?this.value.toString():this.value;}});com.ebay.widgets.createClass('com.ebay.shoppingservice.ShippingCostSummaryType').methods({shippingServiceName:null,shippingServiceCost:null,insuranceCost:null,shippingType:null,insuranceOption:null,any:null,constructs:function(props){this.shippingServiceName=props.ShippingServiceName||props.shippingServiceName;this.shippingServiceCost=(props.ShippingServiceCost||props.shippingServiceCost)?new com.ebay.shoppingservice.AmountType(props.ShippingServiceCost||props.shippingServiceCost):null;this.insuranceCost=(props.InsuranceCost||props.insuranceCost)?new com.ebay.shoppingservice.AmountType(props.InsuranceCost||props.insuranceCost):null;this.shippingType=(props.ShippingType||props.shippingType)?new com.ebay.shoppingservice.ShippingTypeCodeType(props.ShippingType||props.shippingType):null;this.insuranceOption=(props.InsuranceOption||props.insuranceOption)?new com.ebay.shoppingservice.InsuranceOptionCodeType(props.InsuranceOption||props.insuranceOption):null;this.any=props.any;}});com.ebay.widgets.createClass('com.ebay.shoppingservice.TaxJurisdictionType').methods({jurisdictionID:null,salesTaxPercent:null,shippingIncludedInTax:null,any:null,constructs:function(props){this.jurisdictionID=props.JurisdictionID||props.jurisdictionID;this.salesTaxPercent=com.ebay.shoppingservice.Utils.parseFloat(props.SalesTaxPercent,props.salesTaxPercent);this.shippingIncludedInTax=Boolean(props.ShippingIncludedInTax||props.shippingIncludedInTax);this.any=props.any;}});com.ebay.widgets.createClass('com.ebay.shoppingservice.TaxTableType').methods({taxJurisdiction:null,constructs:function(props){this.taxJurisdiction=com.ebay.shoppingservice.Utils.convertTaxJurisdictionType(props.TaxJurisdiction,props.taxJurisdiction);}});com.ebay.widgets.createClass('com.ebay.shoppingservice.ShippingServiceOptionType').methods({shippingInsuranceCost:null,shippingServiceName:null,shippingServiceCost:null,shippingServiceAdditionalCost:null,shippingServicePriority:null,expeditedService:null,shippingTimeMin:null,shippingTimeMax:null,shippingSurcharge:null,shipsTo:null,any:null,constructs:function(props){this.shippingInsuranceCost=(props.ShippingInsuranceCost||props.shippingInsuranceCost)?new com.ebay.shoppingservice.AmountType(props.ShippingInsuranceCost||props.shippingInsuranceCost):null;this.shippingServiceName=props.ShippingServiceName||props.shippingServiceName;this.shippingServiceCost=(props.ShippingServiceCost||props.shippingServiceCost)?new com.ebay.shoppingservice.AmountType(props.ShippingServiceCost||props.shippingServiceCost):null;this.shippingServiceAdditionalCost=(props.ShippingServiceAdditionalCost||props.shippingServiceAdditionalCost)?new com.ebay.shoppingservice.AmountType(props.ShippingServiceAdditionalCost||props.shippingServiceAdditionalCost):null;this.shippingServicePriority=com.ebay.shoppingservice.Utils.parseInt(props.ShippingServicePriority,props.shippingServicePriority);this.expeditedService=Boolean(props.ExpeditedService||props.expeditedService);this.shippingTimeMin=com.ebay.shoppingservice.Utils.parseInt(props.ShippingTimeMin,props.shippingTimeMin);this.shippingTimeMax=com.ebay.shoppingservice.Utils.parseInt(props.ShippingTimeMax,props.shippingTimeMax);this.shippingSurcharge=(props.ShippingSurcharge||props.shippingSurcharge)?new com.ebay.shoppingservice.AmountType(props.ShippingSurcharge||props.shippingSurcharge):null;this.shipsTo=com.ebay.shoppingservice.Utils.convertString(props.ShipsTo,props.shipsTo);this.any=props.any;}});com.ebay.widgets.createClass('com.ebay.shoppingservice.SalesTaxType').methods({salesTaxPercent:null,salesTaxState:null,shippingIncludedInTax:null,salesTaxAmount:null,any:null,constructs:function(props){this.salesTaxPercent=com.ebay.shoppingservice.Utils.parseFloat(props.SalesTaxPercent,props.salesTaxPercent);this.salesTaxState=props.SalesTaxState||props.salesTaxState;this.shippingIncludedInTax=Boolean(props.ShippingIncludedInTax||props.shippingIncludedInTax);this.salesTaxAmount=(props.SalesTaxAmount||props.salesTaxAmount)?new com.ebay.shoppingservice.AmountType(props.SalesTaxAmount||props.salesTaxAmount):null;this.any=props.any;}});com.ebay.widgets.createClass('com.ebay.shoppingservice.InternationalShippingServiceOptionType').methods({shippingInsuranceCost:null,shippingServiceName:null,shippingServiceAdditionalCost:null,shippingServiceCost:null,shippingServicePriority:null,shipsTo:null,any:null,constructs:function(props){this.shippingInsuranceCost=(props.ShippingInsuranceCost||props.shippingInsuranceCost)?new com.ebay.shoppingservice.AmountType(props.ShippingInsuranceCost||props.shippingInsuranceCost):null;this.shippingServiceName=props.ShippingServiceName||props.shippingServiceName;this.shippingServiceAdditionalCost=(props.ShippingServiceAdditionalCost||props.shippingServiceAdditionalCost)?new com.ebay.shoppingservice.AmountType(props.ShippingServiceAdditionalCost||props.shippingServiceAdditionalCost):null;this.shippingServiceCost=(props.ShippingServiceCost||props.shippingServiceCost)?new com.ebay.shoppingservice.AmountType(props.ShippingServiceCost||props.shippingServiceCost):null;this.shippingServicePriority=com.ebay.shoppingservice.Utils.parseInt(props.ShippingServicePriority,props.shippingServicePriority);this.shipsTo=com.ebay.shoppingservice.Utils.convertString(props.ShipsTo,props.shipsTo);this.any=props.any;}});com.ebay.widgets.createClass('com.ebay.shoppingservice.InsuranceOptionCodeType').props({Optional:null,Required:null,NotOffered:null,IncludedInShippingHandling:null,NotOfferedOnSite:null,CustomCode:null}).methods({constructs:function(object){this.value=object.hasOwnProperty('value')?object.value:object;},toString:function(){return this.value;},getValue:function(){return this.value;}}).inits(function(){com.ebay.shoppingservice.InsuranceOptionCodeType.Optional=new com.ebay.shoppingservice.InsuranceOptionCodeType("Optional");com.ebay.shoppingservice.InsuranceOptionCodeType.Required=new com.ebay.shoppingservice.InsuranceOptionCodeType("Required");com.ebay.shoppingservice.InsuranceOptionCodeType.NotOffered=new com.ebay.shoppingservice.InsuranceOptionCodeType("NotOffered");com.ebay.shoppingservice.InsuranceOptionCodeType.IncludedInShippingHandling=new com.ebay.shoppingservice.InsuranceOptionCodeType("IncludedInShippingHandling");com.ebay.shoppingservice.InsuranceOptionCodeType.NotOfferedOnSite=new com.ebay.shoppingservice.InsuranceOptionCodeType("NotOfferedOnSite");com.ebay.shoppingservice.InsuranceOptionCodeType.CustomCode=new com.ebay.shoppingservice.InsuranceOptionCodeType("CustomCode");});com.ebay.widgets.createClass('com.ebay.shoppingservice.CurrencyCodeType').props({AFA:null,ALL:null,DZD:null,ADP:null,AOA:null,ARS:null,AMD:null,AWG:null,AZM:null,BSD:null,BHD:null,BDT:null,BBD:null,BYR:null,BZD:null,BMD:null,BTN:null,INR:null,BOV:null,BOB:null,BAM:null,BWP:null,BRL:null,BND:null,BGL:null,BGN:null,BIF:null,KHR:null,CAD:null,CVE:null,KYD:null,XAF:null,CLF:null,CLP:null,CNY:null,COP:null,KMF:null,CDF:null,CRC:null,HRK:null,CUP:null,CYP:null,CZK:null,DKK:null,DJF:null,DOP:null,TPE:null,ECV:null,ECS:null,EGP:null,SVC:null,ERN:null,EEK:null,ETB:null,FKP:null,FJD:null,GMD:null,GEL:null,GHC:null,GIP:null,GTQ:null,GNF:null,GWP:null,GYD:null,HTG:null,HNL:null,HKD:null,HUF:null,ISK:null,IDR:null,IRR:null,IQD:null,ILS:null,JMD:null,JPY:null,JOD:null,KZT:null,KES:null,AUD:null,KPW:null,KRW:null,KWD:null,KGS:null,LAK:null,LVL:null,LBP:null,LSL:null,LRD:null,LYD:null,CHF:null,LTL:null,MOP:null,MKD:null,MGF:null,MWK:null,MYR:null,MVR:null,MTL:null,EUR:null,MRO:null,MUR:null,MXN:null,MXV:null,MDL:null,MNT:null,XCD:null,MZM:null,MMK:null,ZAR:null,NAD:null,NPR:null,ANG:null,XPF:null,NZD:null,NIO:null,NGN:null,NOK:null,OMR:null,PKR:null,PAB:null,PGK:null,PYG:null,PEN:null,PHP:null,PLN:null,USD:null,QAR:null,ROL:null,RUB:null,RUR:null,RWF:null,SHP:null,WST:null,STD:null,SAR:null,SCR:null,SLL:null,SGD:null,SKK:null,SIT:null,SBD:null,SOS:null,LKR:null,SDD:null,SRG:null,SZL:null,SEK:null,SYP:null,TWD:null,TJS:null,TZS:null,THB:null,XOF:null,TOP:null,TTD:null,TND:null,TRL:null,TMM:null,UGX:null,UAH:null,AED:null,GBP:null,USS:null,USN:null,UYU:null,UZS:null,VUV:null,VEB:null,VND:null,MAD:null,YER:null,YUM:null,ZMK:null,ZWD:null,ATS:null,CustomCode:null}).methods({constructs:function(object){this.value=object.hasOwnProperty('value')?object.value:object;},toString:function(){return this.value;},getValue:function(){return this.value;}}).inits(function(){com.ebay.shoppingservice.CurrencyCodeType.AFA=new com.ebay.shoppingservice.CurrencyCodeType("AFA");com.ebay.shoppingservice.CurrencyCodeType.ALL=new com.ebay.shoppingservice.CurrencyCodeType("ALL");com.ebay.shoppingservice.CurrencyCodeType.DZD=new com.ebay.shoppingservice.CurrencyCodeType("DZD");com.ebay.shoppingservice.CurrencyCodeType.ADP=new com.ebay.shoppingservice.CurrencyCodeType("ADP");com.ebay.shoppingservice.CurrencyCodeType.AOA=new com.ebay.shoppingservice.CurrencyCodeType("AOA");com.ebay.shoppingservice.CurrencyCodeType.ARS=new com.ebay.shoppingservice.CurrencyCodeType("ARS");com.ebay.shoppingservice.CurrencyCodeType.AMD=new com.ebay.shoppingservice.CurrencyCodeType("AMD");com.ebay.shoppingservice.CurrencyCodeType.AWG=new com.ebay.shoppingservice.CurrencyCodeType("AWG");com.ebay.shoppingservice.CurrencyCodeType.AZM=new com.ebay.shoppingservice.CurrencyCodeType("AZM");com.ebay.shoppingservice.CurrencyCodeType.BSD=new com.ebay.shoppingservice.CurrencyCodeType("BSD");com.ebay.shoppingservice.CurrencyCodeType.BHD=new com.ebay.shoppingservice.CurrencyCodeType("BHD");com.ebay.shoppingservice.CurrencyCodeType.BDT=new com.ebay.shoppingservice.CurrencyCodeType("BDT");com.ebay.shoppingservice.CurrencyCodeType.BBD=new com.ebay.shoppingservice.CurrencyCodeType("BBD");com.ebay.shoppingservice.CurrencyCodeType.BYR=new com.ebay.shoppingservice.CurrencyCodeType("BYR");com.ebay.shoppingservice.CurrencyCodeType.BZD=new com.ebay.shoppingservice.CurrencyCodeType("BZD");com.ebay.shoppingservice.CurrencyCodeType.BMD=new com.ebay.shoppingservice.CurrencyCodeType("BMD");com.ebay.shoppingservice.CurrencyCodeType.BTN=new com.ebay.shoppingservice.CurrencyCodeType("BTN");com.ebay.shoppingservice.CurrencyCodeType.INR=new com.ebay.shoppingservice.CurrencyCodeType("INR");com.ebay.shoppingservice.CurrencyCodeType.BOV=new com.ebay.shoppingservice.CurrencyCodeType("BOV");com.ebay.shoppingservice.CurrencyCodeType.BOB=new com.ebay.shoppingservice.CurrencyCodeType("BOB");com.ebay.shoppingservice.CurrencyCodeType.BAM=new com.ebay.shoppingservice.CurrencyCodeType("BAM");com.ebay.shoppingservice.CurrencyCodeType.BWP=new com.ebay.shoppingservice.CurrencyCodeType("BWP");com.ebay.shoppingservice.CurrencyCodeType.BRL=new com.ebay.shoppingservice.CurrencyCodeType("BRL");com.ebay.shoppingservice.CurrencyCodeType.BND=new com.ebay.shoppingservice.CurrencyCodeType("BND");com.ebay.shoppingservice.CurrencyCodeType.BGL=new com.ebay.shoppingservice.CurrencyCodeType("BGL");com.ebay.shoppingservice.CurrencyCodeType.BGN=new com.ebay.shoppingservice.CurrencyCodeType("BGN");com.ebay.shoppingservice.CurrencyCodeType.BIF=new com.ebay.shoppingservice.CurrencyCodeType("BIF");com.ebay.shoppingservice.CurrencyCodeType.KHR=new com.ebay.shoppingservice.CurrencyCodeType("KHR");com.ebay.shoppingservice.CurrencyCodeType.CAD=new com.ebay.shoppingservice.CurrencyCodeType("CAD");com.ebay.shoppingservice.CurrencyCodeType.CVE=new com.ebay.shoppingservice.CurrencyCodeType("CVE");com.ebay.shoppingservice.CurrencyCodeType.KYD=new com.ebay.shoppingservice.CurrencyCodeType("KYD");com.ebay.shoppingservice.CurrencyCodeType.XAF=new com.ebay.shoppingservice.CurrencyCodeType("XAF");com.ebay.shoppingservice.CurrencyCodeType.CLF=new com.ebay.shoppingservice.CurrencyCodeType("CLF");com.ebay.shoppingservice.CurrencyCodeType.CLP=new com.ebay.shoppingservice.CurrencyCodeType("CLP");com.ebay.shoppingservice.CurrencyCodeType.CNY=new com.ebay.shoppingservice.CurrencyCodeType("CNY");com.ebay.shoppingservice.CurrencyCodeType.COP=new com.ebay.shoppingservice.CurrencyCodeType("COP");com.ebay.shoppingservice.CurrencyCodeType.KMF=new com.ebay.shoppingservice.CurrencyCodeType("KMF");com.ebay.shoppingservice.CurrencyCodeType.CDF=new com.ebay.shoppingservice.CurrencyCodeType("CDF");com.ebay.shoppingservice.CurrencyCodeType.CRC=new com.ebay.shoppingservice.CurrencyCodeType("CRC");com.ebay.shoppingservice.CurrencyCodeType.HRK=new com.ebay.shoppingservice.CurrencyCodeType("HRK");com.ebay.shoppingservice.CurrencyCodeType.CUP=new com.ebay.shoppingservice.CurrencyCodeType("CUP");com.ebay.shoppingservice.CurrencyCodeType.CYP=new com.ebay.shoppingservice.CurrencyCodeType("CYP");com.ebay.shoppingservice.CurrencyCodeType.CZK=new com.ebay.shoppingservice.CurrencyCodeType("CZK");com.ebay.shoppingservice.CurrencyCodeType.DKK=new com.ebay.shoppingservice.CurrencyCodeType("DKK");com.ebay.shoppingservice.CurrencyCodeType.DJF=new com.ebay.shoppingservice.CurrencyCodeType("DJF");com.ebay.shoppingservice.CurrencyCodeType.DOP=new com.ebay.shoppingservice.CurrencyCodeType("DOP");com.ebay.shoppingservice.CurrencyCodeType.TPE=new com.ebay.shoppingservice.CurrencyCodeType("TPE");com.ebay.shoppingservice.CurrencyCodeType.ECV=new com.ebay.shoppingservice.CurrencyCodeType("ECV");com.ebay.shoppingservice.CurrencyCodeType.ECS=new com.ebay.shoppingservice.CurrencyCodeType("ECS");com.ebay.shoppingservice.CurrencyCodeType.EGP=new com.ebay.shoppingservice.CurrencyCodeType("EGP");com.ebay.shoppingservice.CurrencyCodeType.SVC=new com.ebay.shoppingservice.CurrencyCodeType("SVC");com.ebay.shoppingservice.CurrencyCodeType.ERN=new com.ebay.shoppingservice.CurrencyCodeType("ERN");com.ebay.shoppingservice.CurrencyCodeType.EEK=new com.ebay.shoppingservice.CurrencyCodeType("EEK");com.ebay.shoppingservice.CurrencyCodeType.ETB=new com.ebay.shoppingservice.CurrencyCodeType("ETB");com.ebay.shoppingservice.CurrencyCodeType.FKP=new com.ebay.shoppingservice.CurrencyCodeType("FKP");com.ebay.shoppingservice.CurrencyCodeType.FJD=new com.ebay.shoppingservice.CurrencyCodeType("FJD");com.ebay.shoppingservice.CurrencyCodeType.GMD=new com.ebay.shoppingservice.CurrencyCodeType("GMD");com.ebay.shoppingservice.CurrencyCodeType.GEL=new com.ebay.shoppingservice.CurrencyCodeType("GEL");com.ebay.shoppingservice.CurrencyCodeType.GHC=new com.ebay.shoppingservice.CurrencyCodeType("GHC");com.ebay.shoppingservice.CurrencyCodeType.GIP=new com.ebay.shoppingservice.CurrencyCodeType("GIP");com.ebay.shoppingservice.CurrencyCodeType.GTQ=new com.ebay.shoppingservice.CurrencyCodeType("GTQ");com.ebay.shoppingservice.CurrencyCodeType.GNF=new com.ebay.shoppingservice.CurrencyCodeType("GNF");com.ebay.shoppingservice.CurrencyCodeType.GWP=new com.ebay.shoppingservice.CurrencyCodeType("GWP");com.ebay.shoppingservice.CurrencyCodeType.GYD=new com.ebay.shoppingservice.CurrencyCodeType("GYD");com.ebay.shoppingservice.CurrencyCodeType.HTG=new com.ebay.shoppingservice.CurrencyCodeType("HTG");com.ebay.shoppingservice.CurrencyCodeType.HNL=new com.ebay.shoppingservice.CurrencyCodeType("HNL");com.ebay.shoppingservice.CurrencyCodeType.HKD=new com.ebay.shoppingservice.CurrencyCodeType("HKD");com.ebay.shoppingservice.CurrencyCodeType.HUF=new com.ebay.shoppingservice.CurrencyCodeType("HUF");com.ebay.shoppingservice.CurrencyCodeType.ISK=new com.ebay.shoppingservice.CurrencyCodeType("ISK");com.ebay.shoppingservice.CurrencyCodeType.IDR=new com.ebay.shoppingservice.CurrencyCodeType("IDR");com.ebay.shoppingservice.CurrencyCodeType.IRR=new com.ebay.shoppingservice.CurrencyCodeType("IRR");com.ebay.shoppingservice.CurrencyCodeType.IQD=new com.ebay.shoppingservice.CurrencyCodeType("IQD");com.ebay.shoppingservice.CurrencyCodeType.ILS=new com.ebay.shoppingservice.CurrencyCodeType("ILS");com.ebay.shoppingservice.CurrencyCodeType.JMD=new com.ebay.shoppingservice.CurrencyCodeType("JMD");com.ebay.shoppingservice.CurrencyCodeType.JPY=new com.ebay.shoppingservice.CurrencyCodeType("JPY");com.ebay.shoppingservice.CurrencyCodeType.JOD=new com.ebay.shoppingservice.CurrencyCodeType("JOD");com.ebay.shoppingservice.CurrencyCodeType.KZT=new com.ebay.shoppingservice.CurrencyCodeType("KZT");com.ebay.shoppingservice.CurrencyCodeType.KES=new com.ebay.shoppingservice.CurrencyCodeType("KES");com.ebay.shoppingservice.CurrencyCodeType.AUD=new com.ebay.shoppingservice.CurrencyCodeType("AUD");com.ebay.shoppingservice.CurrencyCodeType.KPW=new com.ebay.shoppingservice.CurrencyCodeType("KPW");com.ebay.shoppingservice.CurrencyCodeType.KRW=new com.ebay.shoppingservice.CurrencyCodeType("KRW");com.ebay.shoppingservice.CurrencyCodeType.KWD=new com.ebay.shoppingservice.CurrencyCodeType("KWD");com.ebay.shoppingservice.CurrencyCodeType.KGS=new com.ebay.shoppingservice.CurrencyCodeType("KGS");com.ebay.shoppingservice.CurrencyCodeType.LAK=new com.ebay.shoppingservice.CurrencyCodeType("LAK");com.ebay.shoppingservice.CurrencyCodeType.LVL=new com.ebay.shoppingservice.CurrencyCodeType("LVL");com.ebay.shoppingservice.CurrencyCodeType.LBP=new com.ebay.shoppingservice.CurrencyCodeType("LBP");com.ebay.shoppingservice.CurrencyCodeType.LSL=new com.ebay.shoppingservice.CurrencyCodeType("LSL");com.ebay.shoppingservice.CurrencyCodeType.LRD=new com.ebay.shoppingservice.CurrencyCodeType("LRD");com.ebay.shoppingservice.CurrencyCodeType.LYD=new com.ebay.shoppingservice.CurrencyCodeType("LYD");com.ebay.shoppingservice.CurrencyCodeType.CHF=new com.ebay.shoppingservice.CurrencyCodeType("CHF");com.ebay.shoppingservice.CurrencyCodeType.LTL=new com.ebay.shoppingservice.CurrencyCodeType("LTL");com.ebay.shoppingservice.CurrencyCodeType.MOP=new com.ebay.shoppingservice.CurrencyCodeType("MOP");com.ebay.shoppingservice.CurrencyCodeType.MKD=new com.ebay.shoppingservice.CurrencyCodeType("MKD");com.ebay.shoppingservice.CurrencyCodeType.MGF=new com.ebay.shoppingservice.CurrencyCodeType("MGF");com.ebay.shoppingservice.CurrencyCodeType.MWK=new com.ebay.shoppingservice.CurrencyCodeType("MWK");com.ebay.shoppingservice.CurrencyCodeType.MYR=new com.ebay.shoppingservice.CurrencyCodeType("MYR");com.ebay.shoppingservice.CurrencyCodeType.MVR=new com.ebay.shoppingservice.CurrencyCodeType("MVR");com.ebay.shoppingservice.CurrencyCodeType.MTL=new com.ebay.shoppingservice.CurrencyCodeType("MTL");com.ebay.shoppingservice.CurrencyCodeType.EUR=new com.ebay.shoppingservice.CurrencyCodeType("EUR");com.ebay.shoppingservice.CurrencyCodeType.MRO=new com.ebay.shoppingservice.CurrencyCodeType("MRO");com.ebay.shoppingservice.CurrencyCodeType.MUR=new com.ebay.shoppingservice.CurrencyCodeType("MUR");com.ebay.shoppingservice.CurrencyCodeType.MXN=new com.ebay.shoppingservice.CurrencyCodeType("MXN");com.ebay.shoppingservice.CurrencyCodeType.MXV=new com.ebay.shoppingservice.CurrencyCodeType("MXV");com.ebay.shoppingservice.CurrencyCodeType.MDL=new com.ebay.shoppingservice.CurrencyCodeType("MDL");com.ebay.shoppingservice.CurrencyCodeType.MNT=new com.ebay.shoppingservice.CurrencyCodeType("MNT");com.ebay.shoppingservice.CurrencyCodeType.XCD=new com.ebay.shoppingservice.CurrencyCodeType("XCD");com.ebay.shoppingservice.CurrencyCodeType.MZM=new com.ebay.shoppingservice.CurrencyCodeType("MZM");com.ebay.shoppingservice.CurrencyCodeType.MMK=new com.ebay.shoppingservice.CurrencyCodeType("MMK");com.ebay.shoppingservice.CurrencyCodeType.ZAR=new com.ebay.shoppingservice.CurrencyCodeType("ZAR");com.ebay.shoppingservice.CurrencyCodeType.NAD=new com.ebay.shoppingservice.CurrencyCodeType("NAD");com.ebay.shoppingservice.CurrencyCodeType.NPR=new com.ebay.shoppingservice.CurrencyCodeType("NPR");com.ebay.shoppingservice.CurrencyCodeType.ANG=new com.ebay.shoppingservice.CurrencyCodeType("ANG");com.ebay.shoppingservice.CurrencyCodeType.XPF=new com.ebay.shoppingservice.CurrencyCodeType("XPF");com.ebay.shoppingservice.CurrencyCodeType.NZD=new com.ebay.shoppingservice.CurrencyCodeType("NZD");com.ebay.shoppingservice.CurrencyCodeType.NIO=new com.ebay.shoppingservice.CurrencyCodeType("NIO");com.ebay.shoppingservice.CurrencyCodeType.NGN=new com.ebay.shoppingservice.CurrencyCodeType("NGN");com.ebay.shoppingservice.CurrencyCodeType.NOK=new com.ebay.shoppingservice.CurrencyCodeType("NOK");com.ebay.shoppingservice.CurrencyCodeType.OMR=new com.ebay.shoppingservice.CurrencyCodeType("OMR");com.ebay.shoppingservice.CurrencyCodeType.PKR=new com.ebay.shoppingservice.CurrencyCodeType("PKR");com.ebay.shoppingservice.CurrencyCodeType.PAB=new com.ebay.shoppingservice.CurrencyCodeType("PAB");com.ebay.shoppingservice.CurrencyCodeType.PGK=new com.ebay.shoppingservice.CurrencyCodeType("PGK");com.ebay.shoppingservice.CurrencyCodeType.PYG=new com.ebay.shoppingservice.CurrencyCodeType("PYG");com.ebay.shoppingservice.CurrencyCodeType.PEN=new com.ebay.shoppingservice.CurrencyCodeType("PEN");com.ebay.shoppingservice.CurrencyCodeType.PHP=new com.ebay.shoppingservice.CurrencyCodeType("PHP");com.ebay.shoppingservice.CurrencyCodeType.PLN=new com.ebay.shoppingservice.CurrencyCodeType("PLN");com.ebay.shoppingservice.CurrencyCodeType.USD=new com.ebay.shoppingservice.CurrencyCodeType("USD");com.ebay.shoppingservice.CurrencyCodeType.QAR=new com.ebay.shoppingservice.CurrencyCodeType("QAR");com.ebay.shoppingservice.CurrencyCodeType.ROL=new com.ebay.shoppingservice.CurrencyCodeType("ROL");com.ebay.shoppingservice.CurrencyCodeType.RUB=new com.ebay.shoppingservice.CurrencyCodeType("RUB");com.ebay.shoppingservice.CurrencyCodeType.RUR=new com.ebay.shoppingservice.CurrencyCodeType("RUR");com.ebay.shoppingservice.CurrencyCodeType.RWF=new com.ebay.shoppingservice.CurrencyCodeType("RWF");com.ebay.shoppingservice.CurrencyCodeType.SHP=new com.ebay.shoppingservice.CurrencyCodeType("SHP");com.ebay.shoppingservice.CurrencyCodeType.WST=new com.ebay.shoppingservice.CurrencyCodeType("WST");com.ebay.shoppingservice.CurrencyCodeType.STD=new com.ebay.shoppingservice.CurrencyCodeType("STD");com.ebay.shoppingservice.CurrencyCodeType.SAR=new com.ebay.shoppingservice.CurrencyCodeType("SAR");com.ebay.shoppingservice.CurrencyCodeType.SCR=new com.ebay.shoppingservice.CurrencyCodeType("SCR");com.ebay.shoppingservice.CurrencyCodeType.SLL=new com.ebay.shoppingservice.CurrencyCodeType("SLL");com.ebay.shoppingservice.CurrencyCodeType.SGD=new com.ebay.shoppingservice.CurrencyCodeType("SGD");com.ebay.shoppingservice.CurrencyCodeType.SKK=new com.ebay.shoppingservice.CurrencyCodeType("SKK");com.ebay.shoppingservice.CurrencyCodeType.SIT=new com.ebay.shoppingservice.CurrencyCodeType("SIT");com.ebay.shoppingservice.CurrencyCodeType.SBD=new com.ebay.shoppingservice.CurrencyCodeType("SBD");com.ebay.shoppingservice.CurrencyCodeType.SOS=new com.ebay.shoppingservice.CurrencyCodeType("SOS");com.ebay.shoppingservice.CurrencyCodeType.LKR=new com.ebay.shoppingservice.CurrencyCodeType("LKR");com.ebay.shoppingservice.CurrencyCodeType.SDD=new com.ebay.shoppingservice.CurrencyCodeType("SDD");com.ebay.shoppingservice.CurrencyCodeType.SRG=new com.ebay.shoppingservice.CurrencyCodeType("SRG");com.ebay.shoppingservice.CurrencyCodeType.SZL=new com.ebay.shoppingservice.CurrencyCodeType("SZL");com.ebay.shoppingservice.CurrencyCodeType.SEK=new com.ebay.shoppingservice.CurrencyCodeType("SEK");com.ebay.shoppingservice.CurrencyCodeType.SYP=new com.ebay.shoppingservice.CurrencyCodeType("SYP");com.ebay.shoppingservice.CurrencyCodeType.TWD=new com.ebay.shoppingservice.CurrencyCodeType("TWD");com.ebay.shoppingservice.CurrencyCodeType.TJS=new com.ebay.shoppingservice.CurrencyCodeType("TJS");com.ebay.shoppingservice.CurrencyCodeType.TZS=new com.ebay.shoppingservice.CurrencyCodeType("TZS");com.ebay.shoppingservice.CurrencyCodeType.THB=new com.ebay.shoppingservice.CurrencyCodeType("THB");com.ebay.shoppingservice.CurrencyCodeType.XOF=new com.ebay.shoppingservice.CurrencyCodeType("XOF");com.ebay.shoppingservice.CurrencyCodeType.TOP=new com.ebay.shoppingservice.CurrencyCodeType("TOP");com.ebay.shoppingservice.CurrencyCodeType.TTD=new com.ebay.shoppingservice.CurrencyCodeType("TTD");com.ebay.shoppingservice.CurrencyCodeType.TND=new com.ebay.shoppingservice.CurrencyCodeType("TND");com.ebay.shoppingservice.CurrencyCodeType.TRL=new com.ebay.shoppingservice.CurrencyCodeType("TRL");com.ebay.shoppingservice.CurrencyCodeType.TMM=new com.ebay.shoppingservice.CurrencyCodeType("TMM");com.ebay.shoppingservice.CurrencyCodeType.UGX=new com.ebay.shoppingservice.CurrencyCodeType("UGX");com.ebay.shoppingservice.CurrencyCodeType.UAH=new com.ebay.shoppingservice.CurrencyCodeType("UAH");com.ebay.shoppingservice.CurrencyCodeType.AED=new com.ebay.shoppingservice.CurrencyCodeType("AED");com.ebay.shoppingservice.CurrencyCodeType.GBP=new com.ebay.shoppingservice.CurrencyCodeType("GBP");com.ebay.shoppingservice.CurrencyCodeType.USS=new com.ebay.shoppingservice.CurrencyCodeType("USS");com.ebay.shoppingservice.CurrencyCodeType.USN=new com.ebay.shoppingservice.CurrencyCodeType("USN");com.ebay.shoppingservice.CurrencyCodeType.UYU=new com.ebay.shoppingservice.CurrencyCodeType("UYU");com.ebay.shoppingservice.CurrencyCodeType.UZS=new com.ebay.shoppingservice.CurrencyCodeType("UZS");com.ebay.shoppingservice.CurrencyCodeType.VUV=new com.ebay.shoppingservice.CurrencyCodeType("VUV");com.ebay.shoppingservice.CurrencyCodeType.VEB=new com.ebay.shoppingservice.CurrencyCodeType("VEB");com.ebay.shoppingservice.CurrencyCodeType.VND=new com.ebay.shoppingservice.CurrencyCodeType("VND");com.ebay.shoppingservice.CurrencyCodeType.MAD=new com.ebay.shoppingservice.CurrencyCodeType("MAD");com.ebay.shoppingservice.CurrencyCodeType.YER=new com.ebay.shoppingservice.CurrencyCodeType("YER");com.ebay.shoppingservice.CurrencyCodeType.YUM=new com.ebay.shoppingservice.CurrencyCodeType("YUM");com.ebay.shoppingservice.CurrencyCodeType.ZMK=new com.ebay.shoppingservice.CurrencyCodeType("ZMK");com.ebay.shoppingservice.CurrencyCodeType.ZWD=new com.ebay.shoppingservice.CurrencyCodeType("ZWD");com.ebay.shoppingservice.CurrencyCodeType.ATS=new com.ebay.shoppingservice.CurrencyCodeType("ATS");com.ebay.shoppingservice.CurrencyCodeType.CustomCode=new com.ebay.shoppingservice.CurrencyCodeType("CustomCode");});com.ebay.widgets.createClass('com.ebay.shoppingservice.AmountType').methods({currencyID:null,value:null,constructs:function(props){this.value=com.ebay.shoppingservice.Utils.parseFloat(props.Value,props.value);this.currencyID=new com.ebay.shoppingservice.CurrencyCodeType(props.currencyID||props.CurrencyID);},toString:function(){return this.value.toString?this.value.toString():this.value;}});com.ebay.widgets.createClass('com.ebay.shoppingservice.ShippingDetailsType').methods({getItFast:null,insuranceCost:null,insuranceOption:null,internationalShippingServiceOption:null,salesTax:null,shippingRateErrorMessage:null,shippingServiceOption:null,taxTable:null,internationalInsuranceCost:null,internationalInsuranceOption:null,any:null,constructs:function(props){this.getItFast=Boolean(props.GetItFast||props.getItFast);this.insuranceCost=(props.InsuranceCost||props.insuranceCost)?new com.ebay.shoppingservice.AmountType(props.InsuranceCost||props.insuranceCost):null;this.insuranceOption=(props.InsuranceOption||props.insuranceOption)?new com.ebay.shoppingservice.InsuranceOptionCodeType(props.InsuranceOption||props.insuranceOption):null;this.internationalShippingServiceOption=com.ebay.shoppingservice.Utils.convertInternationalShippingServiceOptionType(props.InternationalShippingServiceOption,props.internationalShippingServiceOption);this.salesTax=(props.SalesTax||props.salesTax)?new com.ebay.shoppingservice.SalesTaxType(props.SalesTax||props.salesTax):null;this.shippingRateErrorMessage=props.ShippingRateErrorMessage||props.shippingRateErrorMessage;this.shippingServiceOption=com.ebay.shoppingservice.Utils.convertShippingServiceOptionType(props.ShippingServiceOption,props.shippingServiceOption);this.taxTable=(props.TaxTable||props.taxTable)?new com.ebay.shoppingservice.TaxTableType(props.TaxTable||props.taxTable):null;this.internationalInsuranceCost=(props.InternationalInsuranceCost||props.internationalInsuranceCost)?new com.ebay.shoppingservice.AmountType(props.InternationalInsuranceCost||props.internationalInsuranceCost):null;this.internationalInsuranceOption=(props.InternationalInsuranceOption||props.internationalInsuranceOption)?new com.ebay.shoppingservice.InsuranceOptionCodeType(props.InternationalInsuranceOption||props.internationalInsuranceOption):null;this.any=props.any;}});com.ebay.widgets.createClass('com.ebay.shoppingservice.ErrorClassificationCodeType').props({RequestError:null,SystemError:null,CustomCode:null}).methods({constructs:function(object){this.value=object.hasOwnProperty('value')?object.value:object;},toString:function(){return this.value;},getValue:function(){return this.value;}}).inits(function(){com.ebay.shoppingservice.ErrorClassificationCodeType.RequestError=new com.ebay.shoppingservice.ErrorClassificationCodeType("RequestError");com.ebay.shoppingservice.ErrorClassificationCodeType.SystemError=new com.ebay.shoppingservice.ErrorClassificationCodeType("SystemError");com.ebay.shoppingservice.ErrorClassificationCodeType.CustomCode=new com.ebay.shoppingservice.ErrorClassificationCodeType("CustomCode");});com.ebay.widgets.createClass('com.ebay.shoppingservice.ErrorParameterType').methods({value:null,any:null,paramID:null,constructs:function(props){this.value=props.Value||props.value;this.any=props.any;this.ParamID=props.ParamID||props.ParamID;}});com.ebay.widgets.createClass('com.ebay.shoppingservice.SeverityCodeType').props({Warning:null,Error:null,CustomCode:null}).methods({constructs:function(object){this.value=object.hasOwnProperty('value')?object.value:object;},toString:function(){return this.value;},getValue:function(){return this.value;}}).inits(function(){com.ebay.shoppingservice.SeverityCodeType.Warning=new com.ebay.shoppingservice.SeverityCodeType("Warning");com.ebay.shoppingservice.SeverityCodeType.Error=new com.ebay.shoppingservice.SeverityCodeType("Error");com.ebay.shoppingservice.SeverityCodeType.CustomCode=new com.ebay.shoppingservice.SeverityCodeType("CustomCode");});com.ebay.widgets.createClass('com.ebay.shoppingservice.ErrorType').methods({shortMessage:null,longMessage:null,errorCode:null,userDisplayHint:null,severityCode:null,errorParameters:null,errorClassification:null,any:null,constructs:function(props){this.shortMessage=props.ShortMessage||props.shortMessage;this.longMessage=props.LongMessage||props.longMessage;this.errorCode=props.ErrorCode||props.errorCode;this.userDisplayHint=Boolean(props.UserDisplayHint||props.userDisplayHint);this.severityCode=(props.SeverityCode||props.severityCode)?new com.ebay.shoppingservice.SeverityCodeType(props.SeverityCode||props.severityCode):null;this.errorParameters=com.ebay.shoppingservice.Utils.convertErrorParameterType(props.ErrorParameters,props.errorParameters);this.errorClassification=(props.ErrorClassification||props.errorClassification)?new com.ebay.shoppingservice.ErrorClassificationCodeType(props.ErrorClassification||props.errorClassification):null;this.any=props.any;}});com.ebay.widgets.createClass('com.ebay.shoppingservice.AckCodeType').props({Success:null,Failure:null,Warning:null,PartialFailure:null,CustomCode:null}).methods({constructs:function(object){this.value=object.hasOwnProperty('value')?object.value:object;},toString:function(){return this.value;},getValue:function(){return this.value;}}).inits(function(){com.ebay.shoppingservice.AckCodeType.Success=new com.ebay.shoppingservice.AckCodeType("Success");com.ebay.shoppingservice.AckCodeType.Failure=new com.ebay.shoppingservice.AckCodeType("Failure");com.ebay.shoppingservice.AckCodeType.Warning=new com.ebay.shoppingservice.AckCodeType("Warning");com.ebay.shoppingservice.AckCodeType.PartialFailure=new com.ebay.shoppingservice.AckCodeType("PartialFailure");com.ebay.shoppingservice.AckCodeType.CustomCode=new com.ebay.shoppingservice.AckCodeType("CustomCode");});com.ebay.widgets.createClass('com.ebay.shoppingservice.AbstractResponseType').methods({timestamp:null,ack:null,errors:null,build:null,version:null,correlationID:null,any:null,constructs:function(props){this.timestamp=com.ebay.shoppingservice.Utils.convertISO8601(props.Timestamp,props.timestamp);this.ack=(props.Ack||props.ack)?new com.ebay.shoppingservice.AckCodeType(props.Ack||props.ack):null;this.errors=com.ebay.shoppingservice.Utils.convertErrorType(props.Errors,props.errors);this.build=props.Build||props.build;this.version=props.Version||props.version;this.correlationID=props.CorrelationID||props.correlationID;this.any=props.any;}});com.ebay.widgets.createClass('com.ebay.shoppingservice.GetShippingCostsResponseType').inherits('com.ebay.shoppingservice.AbstractResponseType').methods({shippingDetails:null,shippingCostSummary:null,constructs:function(props){this.base(props);this.shippingDetails=(props.ShippingDetails||props.shippingDetails)?new com.ebay.shoppingservice.ShippingDetailsType(props.ShippingDetails||props.shippingDetails):null;this.shippingCostSummary=(props.ShippingCostSummary||props.shippingCostSummary)?new com.ebay.shoppingservice.ShippingCostSummaryType(props.ShippingCostSummary||props.shippingCostSummary):null;}});com.ebay.widgets.createClass('com.ebay.shoppingservice.CountryCodeType').props({AF:null,AL:null,DZ:null,AS:null,AD:null,AO:null,AI:null,AQ:null,AG:null,AR:null,AM:null,AW:null,AU:null,AT:null,AZ:null,BS:null,BH:null,BD:null,BB:null,BY:null,BE:null,BZ:null,BJ:null,BM:null,BT:null,BO:null,BA:null,BW:null,BV:null,BR:null,IO:null,BN:null,BG:null,BF:null,BI:null,KH:null,CM:null,CA:null,CV:null,KY:null,CF:null,TD:null,CL:null,CN:null,CX:null,CC:null,CO:null,KM:null,CG:null,CD:null,CK:null,CR:null,CI:null,HR:null,CU:null,CY:null,CZ:null,DK:null,DJ:null,DM:null,DO:null,TP:null,EC:null,EG:null,SV:null,GQ:null,ER:null,EE:null,ET:null,FK:null,FO:null,FJ:null,FI:null,FR:null,GF:null,PF:null,TF:null,GA:null,GM:null,GE:null,DE:null,GH:null,GI:null,GR:null,GL:null,GD:null,GP:null,GU:null,GT:null,GN:null,GW:null,GY:null,HT:null,HM:null,VA:null,HN:null,HK:null,HU:null,IS:null,IN:null,ID:null,IR:null,IQ:null,IE:null,IL:null,IT:null,JM:null,JP:null,JO:null,KZ:null,KE:null,KI:null,KP:null,KR:null,KW:null,KG:null,LA:null,LV:null,LB:null,LS:null,LR:null,LY:null,LI:null,LT:null,LU:null,MO:null,MK:null,MG:null,MW:null,MY:null,MV:null,ML:null,MT:null,MH:null,MQ:null,MR:null,MU:null,YT:null,MX:null,FM:null,MD:null,MC:null,MN:null,MS:null,MA:null,MZ:null,MM:null,NA:null,NR:null,NP:null,NL:null,AN:null,NC:null,NZ:null,NI:null,NE:null,NG:null,NU:null,NF:null,MP:null,NO:null,OM:null,PK:null,PW:null,PS:null,PA:null,PG:null,PY:null,PE:null,PH:null,PN:null,PL:null,PT:null,PR:null,QA:null,RE:null,RO:null,RU:null,RW:null,SH:null,KN:null,LC:null,PM:null,VC:null,WS:null,SM:null,ST:null,SA:null,SN:null,SC:null,SL:null,SG:null,SK:null,SI:null,SB:null,SO:null,ZA:null,GS:null,ES:null,LK:null,SD:null,SR:null,SJ:null,SZ:null,SE:null,CH:null,SY:null,TW:null,TJ:null,TZ:null,TH:null,TG:null,TK:null,TO:null,TT:null,TN:null,TR:null,TM:null,TC:null,TV:null,UG:null,UA:null,AE:null,GB:null,US:null,UM:null,UY:null,UZ:null,VU:null,VE:null,VN:null,VG:null,VI:null,WF:null,EH:null,YE:null,YU:null,ZM:null,ZW:null,AA:null,QM:null,QN:null,QO:null,QP:null,CustomCode:null}).methods({constructs:function(object){this.value=object.hasOwnProperty('value')?object.value:object;},toString:function(){return this.value;},getValue:function(){return this.value;}}).inits(function(){com.ebay.shoppingservice.CountryCodeType.AF=new com.ebay.shoppingservice.CountryCodeType("AF");com.ebay.shoppingservice.CountryCodeType.AL=new com.ebay.shoppingservice.CountryCodeType("AL");com.ebay.shoppingservice.CountryCodeType.DZ=new com.ebay.shoppingservice.CountryCodeType("DZ");com.ebay.shoppingservice.CountryCodeType.AS=new com.ebay.shoppingservice.CountryCodeType("AS");com.ebay.shoppingservice.CountryCodeType.AD=new com.ebay.shoppingservice.CountryCodeType("AD");com.ebay.shoppingservice.CountryCodeType.AO=new com.ebay.shoppingservice.CountryCodeType("AO");com.ebay.shoppingservice.CountryCodeType.AI=new com.ebay.shoppingservice.CountryCodeType("AI");com.ebay.shoppingservice.CountryCodeType.AQ=new com.ebay.shoppingservice.CountryCodeType("AQ");com.ebay.shoppingservice.CountryCodeType.AG=new com.ebay.shoppingservice.CountryCodeType("AG");com.ebay.shoppingservice.CountryCodeType.AR=new com.ebay.shoppingservice.CountryCodeType("AR");com.ebay.shoppingservice.CountryCodeType.AM=new com.ebay.shoppingservice.CountryCodeType("AM");com.ebay.shoppingservice.CountryCodeType.AW=new com.ebay.shoppingservice.CountryCodeType("AW");com.ebay.shoppingservice.CountryCodeType.AU=new com.ebay.shoppingservice.CountryCodeType("AU");com.ebay.shoppingservice.CountryCodeType.AT=new com.ebay.shoppingservice.CountryCodeType("AT");com.ebay.shoppingservice.CountryCodeType.AZ=new com.ebay.shoppingservice.CountryCodeType("AZ");com.ebay.shoppingservice.CountryCodeType.BS=new com.ebay.shoppingservice.CountryCodeType("BS");com.ebay.shoppingservice.CountryCodeType.BH=new com.ebay.shoppingservice.CountryCodeType("BH");com.ebay.shoppingservice.CountryCodeType.BD=new com.ebay.shoppingservice.CountryCodeType("BD");com.ebay.shoppingservice.CountryCodeType.BB=new com.ebay.shoppingservice.CountryCodeType("BB");com.ebay.shoppingservice.CountryCodeType.BY=new com.ebay.shoppingservice.CountryCodeType("BY");com.ebay.shoppingservice.CountryCodeType.BE=new com.ebay.shoppingservice.CountryCodeType("BE");com.ebay.shoppingservice.CountryCodeType.BZ=new com.ebay.shoppingservice.CountryCodeType("BZ");com.ebay.shoppingservice.CountryCodeType.BJ=new com.ebay.shoppingservice.CountryCodeType("BJ");com.ebay.shoppingservice.CountryCodeType.BM=new com.ebay.shoppingservice.CountryCodeType("BM");com.ebay.shoppingservice.CountryCodeType.BT=new com.ebay.shoppingservice.CountryCodeType("BT");com.ebay.shoppingservice.CountryCodeType.BO=new com.ebay.shoppingservice.CountryCodeType("BO");com.ebay.shoppingservice.CountryCodeType.BA=new com.ebay.shoppingservice.CountryCodeType("BA");com.ebay.shoppingservice.CountryCodeType.BW=new com.ebay.shoppingservice.CountryCodeType("BW");com.ebay.shoppingservice.CountryCodeType.BV=new com.ebay.shoppingservice.CountryCodeType("BV");com.ebay.shoppingservice.CountryCodeType.BR=new com.ebay.shoppingservice.CountryCodeType("BR");com.ebay.shoppingservice.CountryCodeType.IO=new com.ebay.shoppingservice.CountryCodeType("IO");com.ebay.shoppingservice.CountryCodeType.BN=new com.ebay.shoppingservice.CountryCodeType("BN");com.ebay.shoppingservice.CountryCodeType.BG=new com.ebay.shoppingservice.CountryCodeType("BG");com.ebay.shoppingservice.CountryCodeType.BF=new com.ebay.shoppingservice.CountryCodeType("BF");com.ebay.shoppingservice.CountryCodeType.BI=new com.ebay.shoppingservice.CountryCodeType("BI");com.ebay.shoppingservice.CountryCodeType.KH=new com.ebay.shoppingservice.CountryCodeType("KH");com.ebay.shoppingservice.CountryCodeType.CM=new com.ebay.shoppingservice.CountryCodeType("CM");com.ebay.shoppingservice.CountryCodeType.CA=new com.ebay.shoppingservice.CountryCodeType("CA");com.ebay.shoppingservice.CountryCodeType.CV=new com.ebay.shoppingservice.CountryCodeType("CV");com.ebay.shoppingservice.CountryCodeType.KY=new com.ebay.shoppingservice.CountryCodeType("KY");com.ebay.shoppingservice.CountryCodeType.CF=new com.ebay.shoppingservice.CountryCodeType("CF");com.ebay.shoppingservice.CountryCodeType.TD=new com.ebay.shoppingservice.CountryCodeType("TD");com.ebay.shoppingservice.CountryCodeType.CL=new com.ebay.shoppingservice.CountryCodeType("CL");com.ebay.shoppingservice.CountryCodeType.CN=new com.ebay.shoppingservice.CountryCodeType("CN");com.ebay.shoppingservice.CountryCodeType.CX=new com.ebay.shoppingservice.CountryCodeType("CX");com.ebay.shoppingservice.CountryCodeType.CC=new com.ebay.shoppingservice.CountryCodeType("CC");com.ebay.shoppingservice.CountryCodeType.CO=new com.ebay.shoppingservice.CountryCodeType("CO");com.ebay.shoppingservice.CountryCodeType.KM=new com.ebay.shoppingservice.CountryCodeType("KM");com.ebay.shoppingservice.CountryCodeType.CG=new com.ebay.shoppingservice.CountryCodeType("CG");com.ebay.shoppingservice.CountryCodeType.CD=new com.ebay.shoppingservice.CountryCodeType("CD");com.ebay.shoppingservice.CountryCodeType.CK=new com.ebay.shoppingservice.CountryCodeType("CK");com.ebay.shoppingservice.CountryCodeType.CR=new com.ebay.shoppingservice.CountryCodeType("CR");com.ebay.shoppingservice.CountryCodeType.CI=new com.ebay.shoppingservice.CountryCodeType("CI");com.ebay.shoppingservice.CountryCodeType.HR=new com.ebay.shoppingservice.CountryCodeType("HR");com.ebay.shoppingservice.CountryCodeType.CU=new com.ebay.shoppingservice.CountryCodeType("CU");com.ebay.shoppingservice.CountryCodeType.CY=new com.ebay.shoppingservice.CountryCodeType("CY");com.ebay.shoppingservice.CountryCodeType.CZ=new com.ebay.shoppingservice.CountryCodeType("CZ");com.ebay.shoppingservice.CountryCodeType.DK=new com.ebay.shoppingservice.CountryCodeType("DK");com.ebay.shoppingservice.CountryCodeType.DJ=new com.ebay.shoppingservice.CountryCodeType("DJ");com.ebay.shoppingservice.CountryCodeType.DM=new com.ebay.shoppingservice.CountryCodeType("DM");com.ebay.shoppingservice.CountryCodeType.DO=new com.ebay.shoppingservice.CountryCodeType("DO");com.ebay.shoppingservice.CountryCodeType.TP=new com.ebay.shoppingservice.CountryCodeType("TP");com.ebay.shoppingservice.CountryCodeType.EC=new com.ebay.shoppingservice.CountryCodeType("EC");com.ebay.shoppingservice.CountryCodeType.EG=new com.ebay.shoppingservice.CountryCodeType("EG");com.ebay.shoppingservice.CountryCodeType.SV=new com.ebay.shoppingservice.CountryCodeType("SV");com.ebay.shoppingservice.CountryCodeType.GQ=new com.ebay.shoppingservice.CountryCodeType("GQ");com.ebay.shoppingservice.CountryCodeType.ER=new com.ebay.shoppingservice.CountryCodeType("ER");com.ebay.shoppingservice.CountryCodeType.EE=new com.ebay.shoppingservice.CountryCodeType("EE");com.ebay.shoppingservice.CountryCodeType.ET=new com.ebay.shoppingservice.CountryCodeType("ET");com.ebay.shoppingservice.CountryCodeType.FK=new com.ebay.shoppingservice.CountryCodeType("FK");com.ebay.shoppingservice.CountryCodeType.FO=new com.ebay.shoppingservice.CountryCodeType("FO");com.ebay.shoppingservice.CountryCodeType.FJ=new com.ebay.shoppingservice.CountryCodeType("FJ");com.ebay.shoppingservice.CountryCodeType.FI=new com.ebay.shoppingservice.CountryCodeType("FI");com.ebay.shoppingservice.CountryCodeType.FR=new com.ebay.shoppingservice.CountryCodeType("FR");com.ebay.shoppingservice.CountryCodeType.GF=new com.ebay.shoppingservice.CountryCodeType("GF");com.ebay.shoppingservice.CountryCodeType.PF=new com.ebay.shoppingservice.CountryCodeType("PF");com.ebay.shoppingservice.CountryCodeType.TF=new com.ebay.shoppingservice.CountryCodeType("TF");com.ebay.shoppingservice.CountryCodeType.GA=new com.ebay.shoppingservice.CountryCodeType("GA");com.ebay.shoppingservice.CountryCodeType.GM=new com.ebay.shoppingservice.CountryCodeType("GM");com.ebay.shoppingservice.CountryCodeType.GE=new com.ebay.shoppingservice.CountryCodeType("GE");com.ebay.shoppingservice.CountryCodeType.DE=new com.ebay.shoppingservice.CountryCodeType("DE");com.ebay.shoppingservice.CountryCodeType.GH=new com.ebay.shoppingservice.CountryCodeType("GH");com.ebay.shoppingservice.CountryCodeType.GI=new com.ebay.shoppingservice.CountryCodeType("GI");com.ebay.shoppingservice.CountryCodeType.GR=new com.ebay.shoppingservice.CountryCodeType("GR");com.ebay.shoppingservice.CountryCodeType.GL=new com.ebay.shoppingservice.CountryCodeType("GL");com.ebay.shoppingservice.CountryCodeType.GD=new com.ebay.shoppingservice.CountryCodeType("GD");com.ebay.shoppingservice.CountryCodeType.GP=new com.ebay.shoppingservice.CountryCodeType("GP");com.ebay.shoppingservice.CountryCodeType.GU=new com.ebay.shoppingservice.CountryCodeType("GU");com.ebay.shoppingservice.CountryCodeType.GT=new com.ebay.shoppingservice.CountryCodeType("GT");com.ebay.shoppingservice.CountryCodeType.GN=new com.ebay.shoppingservice.CountryCodeType("GN");com.ebay.shoppingservice.CountryCodeType.GW=new com.ebay.shoppingservice.CountryCodeType("GW");com.ebay.shoppingservice.CountryCodeType.GY=new com.ebay.shoppingservice.CountryCodeType("GY");com.ebay.shoppingservice.CountryCodeType.HT=new com.ebay.shoppingservice.CountryCodeType("HT");com.ebay.shoppingservice.CountryCodeType.HM=new com.ebay.shoppingservice.CountryCodeType("HM");com.ebay.shoppingservice.CountryCodeType.VA=new com.ebay.shoppingservice.CountryCodeType("VA");com.ebay.shoppingservice.CountryCodeType.HN=new com.ebay.shoppingservice.CountryCodeType("HN");com.ebay.shoppingservice.CountryCodeType.HK=new com.ebay.shoppingservice.CountryCodeType("HK");com.ebay.shoppingservice.CountryCodeType.HU=new com.ebay.shoppingservice.CountryCodeType("HU");com.ebay.shoppingservice.CountryCodeType.IS=new com.ebay.shoppingservice.CountryCodeType("IS");com.ebay.shoppingservice.CountryCodeType.IN=new com.ebay.shoppingservice.CountryCodeType("IN");com.ebay.shoppingservice.CountryCodeType.ID=new com.ebay.shoppingservice.CountryCodeType("ID");com.ebay.shoppingservice.CountryCodeType.IR=new com.ebay.shoppingservice.CountryCodeType("IR");com.ebay.shoppingservice.CountryCodeType.IQ=new com.ebay.shoppingservice.CountryCodeType("IQ");com.ebay.shoppingservice.CountryCodeType.IE=new com.ebay.shoppingservice.CountryCodeType("IE");com.ebay.shoppingservice.CountryCodeType.IL=new com.ebay.shoppingservice.CountryCodeType("IL");com.ebay.shoppingservice.CountryCodeType.IT=new com.ebay.shoppingservice.CountryCodeType("IT");com.ebay.shoppingservice.CountryCodeType.JM=new com.ebay.shoppingservice.CountryCodeType("JM");com.ebay.shoppingservice.CountryCodeType.JP=new com.ebay.shoppingservice.CountryCodeType("JP");com.ebay.shoppingservice.CountryCodeType.JO=new com.ebay.shoppingservice.CountryCodeType("JO");com.ebay.shoppingservice.CountryCodeType.KZ=new com.ebay.shoppingservice.CountryCodeType("KZ");com.ebay.shoppingservice.CountryCodeType.KE=new com.ebay.shoppingservice.CountryCodeType("KE");com.ebay.shoppingservice.CountryCodeType.KI=new com.ebay.shoppingservice.CountryCodeType("KI");com.ebay.shoppingservice.CountryCodeType.KP=new com.ebay.shoppingservice.CountryCodeType("KP");com.ebay.shoppingservice.CountryCodeType.KR=new com.ebay.shoppingservice.CountryCodeType("KR");com.ebay.shoppingservice.CountryCodeType.KW=new com.ebay.shoppingservice.CountryCodeType("KW");com.ebay.shoppingservice.CountryCodeType.KG=new com.ebay.shoppingservice.CountryCodeType("KG");com.ebay.shoppingservice.CountryCodeType.LA=new com.ebay.shoppingservice.CountryCodeType("LA");com.ebay.shoppingservice.CountryCodeType.LV=new com.ebay.shoppingservice.CountryCodeType("LV");com.ebay.shoppingservice.CountryCodeType.LB=new com.ebay.shoppingservice.CountryCodeType("LB");com.ebay.shoppingservice.CountryCodeType.LS=new com.ebay.shoppingservice.CountryCodeType("LS");com.ebay.shoppingservice.CountryCodeType.LR=new com.ebay.shoppingservice.CountryCodeType("LR");com.ebay.shoppingservice.CountryCodeType.LY=new com.ebay.shoppingservice.CountryCodeType("LY");com.ebay.shoppingservice.CountryCodeType.LI=new com.ebay.shoppingservice.CountryCodeType("LI");com.ebay.shoppingservice.CountryCodeType.LT=new com.ebay.shoppingservice.CountryCodeType("LT");com.ebay.shoppingservice.CountryCodeType.LU=new com.ebay.shoppingservice.CountryCodeType("LU");com.ebay.shoppingservice.CountryCodeType.MO=new com.ebay.shoppingservice.CountryCodeType("MO");com.ebay.shoppingservice.CountryCodeType.MK=new com.ebay.shoppingservice.CountryCodeType("MK");com.ebay.shoppingservice.CountryCodeType.MG=new com.ebay.shoppingservice.CountryCodeType("MG");com.ebay.shoppingservice.CountryCodeType.MW=new com.ebay.shoppingservice.CountryCodeType("MW");com.ebay.shoppingservice.CountryCodeType.MY=new com.ebay.shoppingservice.CountryCodeType("MY");com.ebay.shoppingservice.CountryCodeType.MV=new com.ebay.shoppingservice.CountryCodeType("MV");com.ebay.shoppingservice.CountryCodeType.ML=new com.ebay.shoppingservice.CountryCodeType("ML");com.ebay.shoppingservice.CountryCodeType.MT=new com.ebay.shoppingservice.CountryCodeType("MT");com.ebay.shoppingservice.CountryCodeType.MH=new com.ebay.shoppingservice.CountryCodeType("MH");com.ebay.shoppingservice.CountryCodeType.MQ=new com.ebay.shoppingservice.CountryCodeType("MQ");com.ebay.shoppingservice.CountryCodeType.MR=new com.ebay.shoppingservice.CountryCodeType("MR");com.ebay.shoppingservice.CountryCodeType.MU=new com.ebay.shoppingservice.CountryCodeType("MU");com.ebay.shoppingservice.CountryCodeType.YT=new com.ebay.shoppingservice.CountryCodeType("YT");com.ebay.shoppingservice.CountryCodeType.MX=new com.ebay.shoppingservice.CountryCodeType("MX");com.ebay.shoppingservice.CountryCodeType.FM=new com.ebay.shoppingservice.CountryCodeType("FM");com.ebay.shoppingservice.CountryCodeType.MD=new com.ebay.shoppingservice.CountryCodeType("MD");com.ebay.shoppingservice.CountryCodeType.MC=new com.ebay.shoppingservice.CountryCodeType("MC");com.ebay.shoppingservice.CountryCodeType.MN=new com.ebay.shoppingservice.CountryCodeType("MN");com.ebay.shoppingservice.CountryCodeType.MS=new com.ebay.shoppingservice.CountryCodeType("MS");com.ebay.shoppingservice.CountryCodeType.MA=new com.ebay.shoppingservice.CountryCodeType("MA");com.ebay.shoppingservice.CountryCodeType.MZ=new com.ebay.shoppingservice.CountryCodeType("MZ");com.ebay.shoppingservice.CountryCodeType.MM=new com.ebay.shoppingservice.CountryCodeType("MM");com.ebay.shoppingservice.CountryCodeType.NA=new com.ebay.shoppingservice.CountryCodeType("NA");com.ebay.shoppingservice.CountryCodeType.NR=new com.ebay.shoppingservice.CountryCodeType("NR");com.ebay.shoppingservice.CountryCodeType.NP=new com.ebay.shoppingservice.CountryCodeType("NP");com.ebay.shoppingservice.CountryCodeType.NL=new com.ebay.shoppingservice.CountryCodeType("NL");com.ebay.shoppingservice.CountryCodeType.AN=new com.ebay.shoppingservice.CountryCodeType("AN");com.ebay.shoppingservice.CountryCodeType.NC=new com.ebay.shoppingservice.CountryCodeType("NC");com.ebay.shoppingservice.CountryCodeType.NZ=new com.ebay.shoppingservice.CountryCodeType("NZ");com.ebay.shoppingservice.CountryCodeType.NI=new com.ebay.shoppingservice.CountryCodeType("NI");com.ebay.shoppingservice.CountryCodeType.NE=new com.ebay.shoppingservice.CountryCodeType("NE");com.ebay.shoppingservice.CountryCodeType.NG=new com.ebay.shoppingservice.CountryCodeType("NG");com.ebay.shoppingservice.CountryCodeType.NU=new com.ebay.shoppingservice.CountryCodeType("NU");com.ebay.shoppingservice.CountryCodeType.NF=new com.ebay.shoppingservice.CountryCodeType("NF");com.ebay.shoppingservice.CountryCodeType.MP=new com.ebay.shoppingservice.CountryCodeType("MP");com.ebay.shoppingservice.CountryCodeType.NO=new com.ebay.shoppingservice.CountryCodeType("NO");com.ebay.shoppingservice.CountryCodeType.OM=new com.ebay.shoppingservice.CountryCodeType("OM");com.ebay.shoppingservice.CountryCodeType.PK=new com.ebay.shoppingservice.CountryCodeType("PK");com.ebay.shoppingservice.CountryCodeType.PW=new com.ebay.shoppingservice.CountryCodeType("PW");com.ebay.shoppingservice.CountryCodeType.PS=new com.ebay.shoppingservice.CountryCodeType("PS");com.ebay.shoppingservice.CountryCodeType.PA=new com.ebay.shoppingservice.CountryCodeType("PA");com.ebay.shoppingservice.CountryCodeType.PG=new com.ebay.shoppingservice.CountryCodeType("PG");com.ebay.shoppingservice.CountryCodeType.PY=new com.ebay.shoppingservice.CountryCodeType("PY");com.ebay.shoppingservice.CountryCodeType.PE=new com.ebay.shoppingservice.CountryCodeType("PE");com.ebay.shoppingservice.CountryCodeType.PH=new com.ebay.shoppingservice.CountryCodeType("PH");com.ebay.shoppingservice.CountryCodeType.PN=new com.ebay.shoppingservice.CountryCodeType("PN");com.ebay.shoppingservice.CountryCodeType.PL=new com.ebay.shoppingservice.CountryCodeType("PL");com.ebay.shoppingservice.CountryCodeType.PT=new com.ebay.shoppingservice.CountryCodeType("PT");com.ebay.shoppingservice.CountryCodeType.PR=new com.ebay.shoppingservice.CountryCodeType("PR");com.ebay.shoppingservice.CountryCodeType.QA=new com.ebay.shoppingservice.CountryCodeType("QA");com.ebay.shoppingservice.CountryCodeType.RE=new com.ebay.shoppingservice.CountryCodeType("RE");com.ebay.shoppingservice.CountryCodeType.RO=new com.ebay.shoppingservice.CountryCodeType("RO");com.ebay.shoppingservice.CountryCodeType.RU=new com.ebay.shoppingservice.CountryCodeType("RU");com.ebay.shoppingservice.CountryCodeType.RW=new com.ebay.shoppingservice.CountryCodeType("RW");com.ebay.shoppingservice.CountryCodeType.SH=new com.ebay.shoppingservice.CountryCodeType("SH");com.ebay.shoppingservice.CountryCodeType.KN=new com.ebay.shoppingservice.CountryCodeType("KN");com.ebay.shoppingservice.CountryCodeType.LC=new com.ebay.shoppingservice.CountryCodeType("LC");com.ebay.shoppingservice.CountryCodeType.PM=new com.ebay.shoppingservice.CountryCodeType("PM");com.ebay.shoppingservice.CountryCodeType.VC=new com.ebay.shoppingservice.CountryCodeType("VC");com.ebay.shoppingservice.CountryCodeType.WS=new com.ebay.shoppingservice.CountryCodeType("WS");com.ebay.shoppingservice.CountryCodeType.SM=new com.ebay.shoppingservice.CountryCodeType("SM");com.ebay.shoppingservice.CountryCodeType.ST=new com.ebay.shoppingservice.CountryCodeType("ST");com.ebay.shoppingservice.CountryCodeType.SA=new com.ebay.shoppingservice.CountryCodeType("SA");com.ebay.shoppingservice.CountryCodeType.SN=new com.ebay.shoppingservice.CountryCodeType("SN");com.ebay.shoppingservice.CountryCodeType.SC=new com.ebay.shoppingservice.CountryCodeType("SC");com.ebay.shoppingservice.CountryCodeType.SL=new com.ebay.shoppingservice.CountryCodeType("SL");com.ebay.shoppingservice.CountryCodeType.SG=new com.ebay.shoppingservice.CountryCodeType("SG");com.ebay.shoppingservice.CountryCodeType.SK=new com.ebay.shoppingservice.CountryCodeType("SK");com.ebay.shoppingservice.CountryCodeType.SI=new com.ebay.shoppingservice.CountryCodeType("SI");com.ebay.shoppingservice.CountryCodeType.SB=new com.ebay.shoppingservice.CountryCodeType("SB");com.ebay.shoppingservice.CountryCodeType.SO=new com.ebay.shoppingservice.CountryCodeType("SO");com.ebay.shoppingservice.CountryCodeType.ZA=new com.ebay.shoppingservice.CountryCodeType("ZA");com.ebay.shoppingservice.CountryCodeType.GS=new com.ebay.shoppingservice.CountryCodeType("GS");com.ebay.shoppingservice.CountryCodeType.ES=new com.ebay.shoppingservice.CountryCodeType("ES");com.ebay.shoppingservice.CountryCodeType.LK=new com.ebay.shoppingservice.CountryCodeType("LK");com.ebay.shoppingservice.CountryCodeType.SD=new com.ebay.shoppingservice.CountryCodeType("SD");com.ebay.shoppingservice.CountryCodeType.SR=new com.ebay.shoppingservice.CountryCodeType("SR");com.ebay.shoppingservice.CountryCodeType.SJ=new com.ebay.shoppingservice.CountryCodeType("SJ");com.ebay.shoppingservice.CountryCodeType.SZ=new com.ebay.shoppingservice.CountryCodeType("SZ");com.ebay.shoppingservice.CountryCodeType.SE=new com.ebay.shoppingservice.CountryCodeType("SE");com.ebay.shoppingservice.CountryCodeType.CH=new com.ebay.shoppingservice.CountryCodeType("CH");com.ebay.shoppingservice.CountryCodeType.SY=new com.ebay.shoppingservice.CountryCodeType("SY");com.ebay.shoppingservice.CountryCodeType.TW=new com.ebay.shoppingservice.CountryCodeType("TW");com.ebay.shoppingservice.CountryCodeType.TJ=new com.ebay.shoppingservice.CountryCodeType("TJ");com.ebay.shoppingservice.CountryCodeType.TZ=new com.ebay.shoppingservice.CountryCodeType("TZ");com.ebay.shoppingservice.CountryCodeType.TH=new com.ebay.shoppingservice.CountryCodeType("TH");com.ebay.shoppingservice.CountryCodeType.TG=new com.ebay.shoppingservice.CountryCodeType("TG");com.ebay.shoppingservice.CountryCodeType.TK=new com.ebay.shoppingservice.CountryCodeType("TK");com.ebay.shoppingservice.CountryCodeType.TO=new com.ebay.shoppingservice.CountryCodeType("TO");com.ebay.shoppingservice.CountryCodeType.TT=new com.ebay.shoppingservice.CountryCodeType("TT");com.ebay.shoppingservice.CountryCodeType.TN=new com.ebay.shoppingservice.CountryCodeType("TN");com.ebay.shoppingservice.CountryCodeType.TR=new com.ebay.shoppingservice.CountryCodeType("TR");com.ebay.shoppingservice.CountryCodeType.TM=new com.ebay.shoppingservice.CountryCodeType("TM");com.ebay.shoppingservice.CountryCodeType.TC=new com.ebay.shoppingservice.CountryCodeType("TC");com.ebay.shoppingservice.CountryCodeType.TV=new com.ebay.shoppingservice.CountryCodeType("TV");com.ebay.shoppingservice.CountryCodeType.UG=new com.ebay.shoppingservice.CountryCodeType("UG");com.ebay.shoppingservice.CountryCodeType.UA=new com.ebay.shoppingservice.CountryCodeType("UA");com.ebay.shoppingservice.CountryCodeType.AE=new com.ebay.shoppingservice.CountryCodeType("AE");com.ebay.shoppingservice.CountryCodeType.GB=new com.ebay.shoppingservice.CountryCodeType("GB");com.ebay.shoppingservice.CountryCodeType.US=new com.ebay.shoppingservice.CountryCodeType("US");com.ebay.shoppingservice.CountryCodeType.UM=new com.ebay.shoppingservice.CountryCodeType("UM");com.ebay.shoppingservice.CountryCodeType.UY=new com.ebay.shoppingservice.CountryCodeType("UY");com.ebay.shoppingservice.CountryCodeType.UZ=new com.ebay.shoppingservice.CountryCodeType("UZ");com.ebay.shoppingservice.CountryCodeType.VU=new com.ebay.shoppingservice.CountryCodeType("VU");com.ebay.shoppingservice.CountryCodeType.VE=new com.ebay.shoppingservice.CountryCodeType("VE");com.ebay.shoppingservice.CountryCodeType.VN=new com.ebay.shoppingservice.CountryCodeType("VN");com.ebay.shoppingservice.CountryCodeType.VG=new com.ebay.shoppingservice.CountryCodeType("VG");com.ebay.shoppingservice.CountryCodeType.VI=new com.ebay.shoppingservice.CountryCodeType("VI");com.ebay.shoppingservice.CountryCodeType.WF=new com.ebay.shoppingservice.CountryCodeType("WF");com.ebay.shoppingservice.CountryCodeType.EH=new com.ebay.shoppingservice.CountryCodeType("EH");com.ebay.shoppingservice.CountryCodeType.YE=new com.ebay.shoppingservice.CountryCodeType("YE");com.ebay.shoppingservice.CountryCodeType.YU=new com.ebay.shoppingservice.CountryCodeType("YU");com.ebay.shoppingservice.CountryCodeType.ZM=new com.ebay.shoppingservice.CountryCodeType("ZM");com.ebay.shoppingservice.CountryCodeType.ZW=new com.ebay.shoppingservice.CountryCodeType("ZW");com.ebay.shoppingservice.CountryCodeType.AA=new com.ebay.shoppingservice.CountryCodeType("AA");com.ebay.shoppingservice.CountryCodeType.QM=new com.ebay.shoppingservice.CountryCodeType("QM");com.ebay.shoppingservice.CountryCodeType.QN=new com.ebay.shoppingservice.CountryCodeType("QN");com.ebay.shoppingservice.CountryCodeType.QO=new com.ebay.shoppingservice.CountryCodeType("QO");com.ebay.shoppingservice.CountryCodeType.QP=new com.ebay.shoppingservice.CountryCodeType("QP");com.ebay.shoppingservice.CountryCodeType.CustomCode=new com.ebay.shoppingservice.CountryCodeType("CustomCode");});com.ebay.widgets.createClass('com.ebay.shoppingservice.AbstractRequestType').methods({messageID:null,any:null,constructs:function(props){this.messageID=props.MessageID||props.messageID;this.any=props.any;}});com.ebay.widgets.createClass('com.ebay.shoppingservice.GetShippingCostsRequestType').inherits('com.ebay.shoppingservice.AbstractRequestType').methods({itemID:null,quantitySold:null,destinationPostalCode:null,destinationCountryCode:null,includeDetails:null,constructs:function(props){this.base(props);this.itemID=props.ItemID||props.itemID;this.quantitySold=com.ebay.shoppingservice.Utils.parseInt(props.QuantitySold,props.quantitySold);this.destinationPostalCode=props.DestinationPostalCode||props.destinationPostalCode;this.destinationCountryCode=(props.DestinationCountryCode||props.destinationCountryCode)?new com.ebay.shoppingservice.CountryCodeType(props.DestinationCountryCode||props.destinationCountryCode):null;this.includeDetails=Boolean(props.IncludeDetails||props.includeDetails);}});com.ebay.widgets.createClass('com.ebay.shoppingservice.Utils').props({convertString:function(array1,array2){if(!array1&&!array2){return null;}
if(array1){var retArray1=[];if(com.ebay.widgets.typeOf(array1)=='array'){for(var i1=0;i1<array1.length;++i1){var item1=String(array1[i1]);retArray1.push(item1);}}else{retArray1.push(String(array1));}
return retArray1;}else if(array2){var retArray2=[];if(com.ebay.widgets.typeOf(array2)=='array'){for(var i2=0;i2<array2.length;++i2){var item2=String(array2[i2]);retArray2.push(item2);}}else{retArray2.push(String(array2));}
return retArray2;}},parseInt:function(value1,value2){if(com.ebay.widgets.typeOf(value1)=='string'){return parseInt(value1,10);}else if(com.ebay.widgets.typeOf(value1)=='number'){return value1||0;}else if(com.ebay.widgets.typeOf(value2)=='string'){return parseInt(value2,10);}else if(com.ebay.widgets.typeOf(value2)=='number'){return value2||0;}
return value1||value2;},convertISO8601:function(date1,date2){var date=new Date();if(date1){var rdate1=date.fromISO8601(date1);return rdate1;}else if(date2){var rdate2=date.fromISO8601(date2);return rdate2;}
return null;},convertErrorParameterType:function(array1,array2){if(!array1&&!array2){return null;}
if(array1){var retArray1=[];if(com.ebay.widgets.typeOf(array1)=='array'){for(var i1=0;i1<array1.length;++i1){var item1=new com.ebay.shoppingservice.ErrorParameterType(array1[i1]);retArray1.push(item1);}}else{retArray1.push(new com.ebay.shoppingservice.ErrorParameterType(array1));}
return retArray1;}else if(array2){var retArray2=[];if(com.ebay.widgets.typeOf(array2)=='array'){for(var i2=0;i2<array2.length;++i2){var item2=new com.ebay.shoppingservice.ErrorParameterType(array2[i2]);retArray2.push(item2);}}else{retArray2.push(new com.ebay.shoppingservice.ErrorParameterType(array2));}
return retArray2;}},convertErrorType:function(array1,array2){if(!array1&&!array2){return null;}
if(array1){var retArray1=[];if(com.ebay.widgets.typeOf(array1)=='array'){for(var i1=0;i1<array1.length;++i1){var item1=new com.ebay.shoppingservice.ErrorType(array1[i1]);retArray1.push(item1);}}else{retArray1.push(new com.ebay.shoppingservice.ErrorType(array1));}
return retArray1;}else if(array2){var retArray2=[];if(com.ebay.widgets.typeOf(array2)=='array'){for(var i2=0;i2<array2.length;++i2){var item2=new com.ebay.shoppingservice.ErrorType(array2[i2]);retArray2.push(item2);}}else{retArray2.push(new com.ebay.shoppingservice.ErrorType(array2));}
return retArray2;}},convertHistogramEntryType:function(array1,array2){if(!array1&&!array2){return null;}
if(array1){var retArray1=[];if(com.ebay.widgets.typeOf(array1)=='array'){for(var i1=0;i1<array1.length;++i1){var item1=new com.ebay.shoppingservice.HistogramEntryType(array1[i1]);retArray1.push(item1);}}else{retArray1.push(new com.ebay.shoppingservice.HistogramEntryType(array1));}
return retArray1;}else if(array2){var retArray2=[];if(com.ebay.widgets.typeOf(array2)=='array'){for(var i2=0;i2<array2.length;++i2){var item2=new com.ebay.shoppingservice.HistogramEntryType(array2[i2]);retArray2.push(item2);}}else{retArray2.push(new com.ebay.shoppingservice.HistogramEntryType(array2));}
return retArray2;}},parseFloat:function(value1,value2){if(com.ebay.widgets.typeOf(value1)=='string'){return parseFloat(value1,10);}else if(com.ebay.widgets.typeOf(value1)=='number'){return value1||0.0;}else if(com.ebay.widgets.typeOf(value2)=='string'){return parseFloat(value2,10);}else if(com.ebay.widgets.typeOf(value2)=='number'){return value2||0.0;}
return value1||value2;},convertProductIDType:function(array1,array2){if(!array1&&!array2){return null;}
if(array1){var retArray1=[];if(com.ebay.widgets.typeOf(array1)=='array'){for(var i1=0;i1<array1.length;++i1){var item1=new com.ebay.shoppingservice.ProductIDType(array1[i1]);retArray1.push(item1);}}else{retArray1.push(new com.ebay.shoppingservice.ProductIDType(array1));}
return retArray1;}else if(array2){var retArray2=[];if(com.ebay.widgets.typeOf(array2)=='array'){for(var i2=0;i2<array2.length;++i2){var item2=new com.ebay.shoppingservice.ProductIDType(array2[i2]);retArray2.push(item2);}}else{retArray2.push(new com.ebay.shoppingservice.ProductIDType(array2));}
return retArray2;}},convertNameValueListType:function(array1,array2){if(!array1&&!array2){return null;}
if(array1){var retArray1=[];if(com.ebay.widgets.typeOf(array1)=='array'){for(var i1=0;i1<array1.length;++i1){var item1=new com.ebay.shoppingservice.NameValueListType(array1[i1]);retArray1.push(item1);}}else{retArray1.push(new com.ebay.shoppingservice.NameValueListType(array1));}
return retArray1;}else if(array2){var retArray2=[];if(com.ebay.widgets.typeOf(array2)=='array'){for(var i2=0;i2<array2.length;++i2){var item2=new com.ebay.shoppingservice.NameValueListType(array2[i2]);retArray2.push(item2);}}else{retArray2.push(new com.ebay.shoppingservice.NameValueListType(array2));}
return retArray2;}},convertBuyerPaymentMethodCodeType:function(array1,array2){if(!array1&&!array2){return null;}
if(array1){var retArray1=[];if(com.ebay.widgets.typeOf(array1)=='array'){for(var i1=0;i1<array1.length;++i1){var item1=new com.ebay.shoppingservice.BuyerPaymentMethodCodeType(array1[i1]);retArray1.push(item1);}}else{retArray1.push(new com.ebay.shoppingservice.BuyerPaymentMethodCodeType(array1));}
return retArray1;}else if(array2){var retArray2=[];if(com.ebay.widgets.typeOf(array2)=='array'){for(var i2=0;i2<array2.length;++i2){var item2=new com.ebay.shoppingservice.BuyerPaymentMethodCodeType(array2[i2]);retArray2.push(item2);}}else{retArray2.push(new com.ebay.shoppingservice.BuyerPaymentMethodCodeType(array2));}
return retArray2;}},parseInt:function(value1,value2){if(com.ebay.widgets.typeOf(value1)=='string'){return parseInt(value1,10);}else if(com.ebay.widgets.typeOf(value1)=='number'){return value1||0;}else if(com.ebay.widgets.typeOf(value2)=='string'){return parseInt(value2,10);}else if(com.ebay.widgets.typeOf(value2)=='number'){return value2||0;}
return value1||value2;},convertDuration:function(duration1,duration2){if(duration1){var rduration1=new com.ebay.widgets.util.Duration(duration1).durationValue();return rduration1;}else if(duration2){var rduration2=new com.ebay.widgets.util.Duration(duration2).durationValue();return rduration2;}
return null;},convertSimpleItemType:function(array1,array2){if(!array1&&!array2){return null;}
if(array1){var retArray1=[];if(com.ebay.widgets.typeOf(array1)=='array'){for(var i1=0;i1<array1.length;++i1){var item1=new com.ebay.shoppingservice.SimpleItemType(array1[i1]);retArray1.push(item1);}}else{retArray1.push(new com.ebay.shoppingservice.SimpleItemType(array1));}
return retArray1;}else if(array2){var retArray2=[];if(com.ebay.widgets.typeOf(array2)=='array'){for(var i2=0;i2<array2.length;++i2){var item2=new com.ebay.shoppingservice.SimpleItemType(array2[i2]);retArray2.push(item2);}}else{retArray2.push(new com.ebay.shoppingservice.SimpleItemType(array2));}
return retArray2;}},convertHalfCatalogProductType:function(array1,array2){if(!array1&&!array2){return null;}
if(array1){var retArray1=[];if(com.ebay.widgets.typeOf(array1)=='array'){for(var i1=0;i1<array1.length;++i1){var item1=new com.ebay.shoppingservice.HalfCatalogProductType(array1[i1]);retArray1.push(item1);}}else{retArray1.push(new com.ebay.shoppingservice.HalfCatalogProductType(array1));}
return retArray1;}else if(array2){var retArray2=[];if(com.ebay.widgets.typeOf(array2)=='array'){for(var i2=0;i2<array2.length;++i2){var item2=new com.ebay.shoppingservice.HalfCatalogProductType(array2[i2]);retArray2.push(item2);}}else{retArray2.push(new com.ebay.shoppingservice.HalfCatalogProductType(array2));}
return retArray2;}},convertSearchFlagCodeType:function(array1,array2){if(!array1&&!array2){return null;}
if(array1){var retArray1=[];if(com.ebay.widgets.typeOf(array1)=='array'){for(var i1=0;i1<array1.length;++i1){var item1=new com.ebay.shoppingservice.SearchFlagCodeType(array1[i1]);retArray1.push(item1);}}else{retArray1.push(new com.ebay.shoppingservice.SearchFlagCodeType(array1));}
return retArray1;}else if(array2){var retArray2=[];if(com.ebay.widgets.typeOf(array2)=='array'){for(var i2=0;i2<array2.length;++i2){var item2=new com.ebay.shoppingservice.SearchFlagCodeType(array2[i2]);retArray2.push(item2);}}else{retArray2.push(new com.ebay.shoppingservice.SearchFlagCodeType(array2));}
return retArray2;}},convertSearchResultType:function(array1,array2){if(!array1&&!array2){return null;}
if(array1){var retArray1=[];if(com.ebay.widgets.typeOf(array1)=='array'){for(var i1=0;i1<array1.length;++i1){var item1=new com.ebay.shoppingservice.SearchResultType(array1[i1]);retArray1.push(item1);}}else{retArray1.push(new com.ebay.shoppingservice.SearchResultType(array1));}
return retArray1;}else if(array2){var retArray2=[];if(com.ebay.widgets.typeOf(array2)=='array'){for(var i2=0;i2<array2.length;++i2){var item2=new com.ebay.shoppingservice.SearchResultType(array2[i2]);retArray2.push(item2);}}else{retArray2.push(new com.ebay.shoppingservice.SearchResultType(array2));}
return retArray2;}},convertCategoryType:function(array1,array2){if(!array1&&!array2){return null;}
if(array1){var retArray1=[];if(com.ebay.widgets.typeOf(array1)=='array'){for(var i1=0;i1<array1.length;++i1){var item1=new com.ebay.shoppingservice.CategoryType(array1[i1]);retArray1.push(item1);}}else{retArray1.push(new com.ebay.shoppingservice.CategoryType(array1));}
return retArray1;}else if(array2){var retArray2=[];if(com.ebay.widgets.typeOf(array2)=='array'){for(var i2=0;i2<array2.length;++i2){var item2=new com.ebay.shoppingservice.CategoryType(array2[i2]);retArray2.push(item2);}}else{retArray2.push(new com.ebay.shoppingservice.CategoryType(array2));}
return retArray2;}},convertCatalogProductType:function(array1,array2){if(!array1&&!array2){return null;}
if(array1){var retArray1=[];if(com.ebay.widgets.typeOf(array1)=='array'){for(var i1=0;i1<array1.length;++i1){var item1=new com.ebay.shoppingservice.CatalogProductType(array1[i1]);retArray1.push(item1);}}else{retArray1.push(new com.ebay.shoppingservice.CatalogProductType(array1));}
return retArray1;}else if(array2){var retArray2=[];if(com.ebay.widgets.typeOf(array2)=='array'){for(var i2=0;i2<array2.length;++i2){var item2=new com.ebay.shoppingservice.CatalogProductType(array2[i2]);retArray2.push(item2);}}else{retArray2.push(new com.ebay.shoppingservice.CatalogProductType(array2));}
return retArray2;}},convertInternationalShippingServiceOptionType:function(array1,array2){if(!array1&&!array2){return null;}
if(array1){var retArray1=[];if(com.ebay.widgets.typeOf(array1)=='array'){for(var i1=0;i1<array1.length;++i1){var item1=new com.ebay.shoppingservice.InternationalShippingServiceOptionType(array1[i1]);retArray1.push(item1);}}else{retArray1.push(new com.ebay.shoppingservice.InternationalShippingServiceOptionType(array1));}
return retArray1;}else if(array2){var retArray2=[];if(com.ebay.widgets.typeOf(array2)=='array'){for(var i2=0;i2<array2.length;++i2){var item2=new com.ebay.shoppingservice.InternationalShippingServiceOptionType(array2[i2]);retArray2.push(item2);}}else{retArray2.push(new com.ebay.shoppingservice.InternationalShippingServiceOptionType(array2));}
return retArray2;}},parseFloat:function(value1,value2){if(com.ebay.widgets.typeOf(value1)=='string'){return parseFloat(value1,10);}else if(com.ebay.widgets.typeOf(value1)=='number'){return value1||0.0;}else if(com.ebay.widgets.typeOf(value2)=='string'){return parseFloat(value2,10);}else if(com.ebay.widgets.typeOf(value2)=='number'){return value2||0.0;}
return value1||value2;},convertShippingServiceOptionType:function(array1,array2){if(!array1&&!array2){return null;}
if(array1){var retArray1=[];if(com.ebay.widgets.typeOf(array1)=='array'){for(var i1=0;i1<array1.length;++i1){var item1=new com.ebay.shoppingservice.ShippingServiceOptionType(array1[i1]);retArray1.push(item1);}}else{retArray1.push(new com.ebay.shoppingservice.ShippingServiceOptionType(array1));}
return retArray1;}else if(array2){var retArray2=[];if(com.ebay.widgets.typeOf(array2)=='array'){for(var i2=0;i2<array2.length;++i2){var item2=new com.ebay.shoppingservice.ShippingServiceOptionType(array2[i2]);retArray2.push(item2);}}else{retArray2.push(new com.ebay.shoppingservice.ShippingServiceOptionType(array2));}
return retArray2;}},convertTaxJurisdictionType:function(array1,array2){if(!array1&&!array2){return null;}
if(array1){var retArray1=[];if(com.ebay.widgets.typeOf(array1)=='array'){for(var i1=0;i1<array1.length;++i1){var item1=new com.ebay.shoppingservice.TaxJurisdictionType(array1[i1]);retArray1.push(item1);}}else{retArray1.push(new com.ebay.shoppingservice.TaxJurisdictionType(array1));}
return retArray1;}else if(array2){var retArray2=[];if(com.ebay.widgets.typeOf(array2)=='array'){for(var i2=0;i2<array2.length;++i2){var item2=new com.ebay.shoppingservice.TaxJurisdictionType(array2[i2]);retArray2.push(item2);}}else{retArray2.push(new com.ebay.shoppingservice.TaxJurisdictionType(array2));}
return retArray2;}},convertFeedbackPeriodType:function(array1,array2){if(!array1&&!array2){return null;}
if(array1){var retArray1=[];if(com.ebay.widgets.typeOf(array1)=='array'){for(var i1=0;i1<array1.length;++i1){var item1=new com.ebay.shoppingservice.FeedbackPeriodType(array1[i1]);retArray1.push(item1);}}else{retArray1.push(new com.ebay.shoppingservice.FeedbackPeriodType(array1));}
return retArray1;}else if(array2){var retArray2=[];if(com.ebay.widgets.typeOf(array2)=='array'){for(var i2=0;i2<array2.length;++i2){var item2=new com.ebay.shoppingservice.FeedbackPeriodType(array2[i2]);retArray2.push(item2);}}else{retArray2.push(new com.ebay.shoppingservice.FeedbackPeriodType(array2));}
return retArray2;}},convertAverageRatingDetailsType:function(array1,array2){if(!array1&&!array2){return null;}
if(array1){var retArray1=[];if(com.ebay.widgets.typeOf(array1)=='array'){for(var i1=0;i1<array1.length;++i1){var item1=new com.ebay.shoppingservice.AverageRatingDetailsType(array1[i1]);retArray1.push(item1);}}else{retArray1.push(new com.ebay.shoppingservice.AverageRatingDetailsType(array1));}
return retArray1;}else if(array2){var retArray2=[];if(com.ebay.widgets.typeOf(array2)=='array'){for(var i2=0;i2<array2.length;++i2){var item2=new com.ebay.shoppingservice.AverageRatingDetailsType(array2[i2]);retArray2.push(item2);}}else{retArray2.push(new com.ebay.shoppingservice.AverageRatingDetailsType(array2));}
return retArray2;}},convertFeedbackDetailType:function(array1,array2){if(!array1&&!array2){return null;}
if(array1){var retArray1=[];if(com.ebay.widgets.typeOf(array1)=='array'){for(var i1=0;i1<array1.length;++i1){var item1=new com.ebay.shoppingservice.FeedbackDetailType(array1[i1]);retArray1.push(item1);}}else{retArray1.push(new com.ebay.shoppingservice.FeedbackDetailType(array1));}
return retArray1;}else if(array2){var retArray2=[];if(com.ebay.widgets.typeOf(array2)=='array'){for(var i2=0;i2<array2.length;++i2){var item2=new com.ebay.shoppingservice.FeedbackDetailType(array2[i2]);retArray2.push(item2);}}else{retArray2.push(new com.ebay.shoppingservice.FeedbackDetailType(array2));}
return retArray2;}},convertToArgs:function(name,object){var args='';if(com.ebay.widgets.typeOf(object)=='array'){for(var i=0;i<object.length;++i){args+='&'+name+'('+i+')='+encodeURIComponent(object[i]);}}else if(com.ebay.widgets.typeOf(object)=='date'){args+='&'+name+'='+encodeURIComponent(object.toISO8601());}else if(com.ebay.widgets.typeOf(object)!='object'){args+='&'+name+'='+encodeURIComponent(object);}else if(object.getValue){args+='&'+name+'='+encodeURIComponent(object.getValue());}else{for(var attr in object){var value=object[attr];if(value!=undefined&&value!=null&&attr!='constructs'&&attr!='superinst'&&com.ebay.widgets.typeOf(value)!='function'){args+='&'+name+'.'+attr+'='+encodeURIComponent(value.getValue?value.getValue():value);}}}
return args;}});