PayPalAPIInterfaceService.php 324 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175
  1. <?php
  2. /**
  3. * Stub objects for PayPalAPIInterfaceService
  4. * Auto generated code
  5. *
  6. */
  7. /**
  8. * @hasAttribute
  9. * On requests, you must set the currencyID attribute to one of
  10. * the three-character currency codes for any of the supported
  11. * PayPal currencies. Limitations: Must not exceed $10,000 USD
  12. * in any currency. No currency symbol. Decimal separator must
  13. * be a period (.), and the thousands separator must be a comma
  14. * (,).
  15. */
  16. class BasicAmountType
  17. extends PPXmlMessage{
  18. /**
  19. *
  20. * @access public
  21. * @namespace cc
  22. * @attribute
  23. * @var string
  24. */
  25. public $currencyID;
  26. /**
  27. *
  28. * @access public
  29. * @namespace cc
  30. * @value
  31. * @var string
  32. */
  33. public $value;
  34. /**
  35. * Constructor with arguments
  36. */
  37. public function __construct($currencyID = NULL, $value = NULL) {
  38. $this->currencyID = $currencyID;
  39. $this->value = $value;
  40. }
  41. }
  42. /**
  43. * @hasAttribute
  44. *
  45. */
  46. class MeasureType
  47. extends PPXmlMessage{
  48. /**
  49. *
  50. * @access public
  51. * @namespace cc
  52. * @attribute
  53. * @var string
  54. */
  55. public $unit;
  56. /**
  57. *
  58. * @access public
  59. * @namespace cc
  60. * @value
  61. * @var double
  62. */
  63. public $value;
  64. /**
  65. * Constructor with arguments
  66. */
  67. public function __construct($unit = NULL, $value = NULL) {
  68. $this->unit = $unit;
  69. $this->value = $value;
  70. }
  71. }
  72. /**
  73. * @hasAttribute
  74. * Value of the application-specific error parameter.
  75. */
  76. class ErrorParameterType
  77. extends PPXmlMessage{
  78. /**
  79. * Value of the application-specific error parameter.
  80. * @access public
  81. * @namespace ebl
  82. * @var string
  83. */
  84. public $Value;
  85. /**
  86. *
  87. * @access public
  88. * @namespace ebl
  89. * @attribute
  90. * @var string
  91. */
  92. public $ParamID;
  93. }
  94. /**
  95. * Error code can be used by a receiving application to
  96. * debugging a response message. These codes will need to be
  97. * uniquely defined for each application.
  98. */
  99. class ErrorType
  100. extends PPXmlMessage{
  101. /**
  102. *
  103. * @access public
  104. * @namespace ebl
  105. * @var string
  106. */
  107. public $ShortMessage;
  108. /**
  109. *
  110. * @access public
  111. * @namespace ebl
  112. * @var string
  113. */
  114. public $LongMessage;
  115. /**
  116. * Error code can be used by a receiving application to
  117. * debugging a response message. These codes will need to be
  118. * uniquely defined for each application.
  119. * @access public
  120. * @namespace ebl
  121. * @var string
  122. */
  123. public $ErrorCode;
  124. /**
  125. * SeverityCode indicates whether the error is an application
  126. * level error or if it is informational error, i.e., warning.
  127. *
  128. * @access public
  129. * @namespace ebl
  130. * @var string
  131. */
  132. public $SeverityCode;
  133. /**
  134. * This optional element may carry additional
  135. * application-specific error variables that indicate specific
  136. * information about the error condition particularly in the
  137. * cases where there are multiple instances of the ErrorType
  138. * which require additional context.
  139. * @array
  140. * @access public
  141. * @namespace ebl
  142. * @var ErrorParameterType
  143. */
  144. public $ErrorParameters;
  145. }
  146. /**
  147. * Base type definition of request payload that can carry any
  148. * type of payload content with optional versioning information
  149. * and detail level requirements.
  150. */
  151. class AbstractRequestType
  152. extends PPXmlMessage{
  153. /**
  154. * This specifies the required detail level that is needed by a
  155. * client application pertaining to a particular data component
  156. * (e.g., Item, Transaction, etc.). The detail level is
  157. * specified in the DetailLevelCodeType which has all the
  158. * enumerated values of the detail level for each component.
  159. * @array
  160. * @access public
  161. * @namespace ebl
  162. * @var string
  163. */
  164. public $DetailLevel;
  165. /**
  166. * This should be the standard RFC 3066 language identification
  167. * tag, e.g., en_US.
  168. * @access public
  169. * @namespace ebl
  170. * @var string
  171. */
  172. public $ErrorLanguage;
  173. /**
  174. * This refers to the version of the request payload schema.
  175. * @access public
  176. * @namespace ebl
  177. * @var string
  178. */
  179. public $Version;
  180. }
  181. /**
  182. * Base type definition of a response payload that can carry
  183. * any type of payload content with following optional
  184. * elements: - timestamp of response message, - application
  185. * level acknowledgement, and - application-level errors and
  186. * warnings.
  187. */
  188. class AbstractResponseType
  189. extends PPXmlMessage{
  190. /**
  191. * This value represents the date and time (GMT) when the
  192. * response was generated by a service provider (as a result of
  193. * processing of a request).
  194. * @access public
  195. * @namespace ebl
  196. * @var dateTime
  197. */
  198. public $Timestamp;
  199. /**
  200. * Application level acknowledgement code.
  201. * @access public
  202. * @namespace ebl
  203. * @var string
  204. */
  205. public $Ack;
  206. /**
  207. * CorrelationID may be used optionally with an application
  208. * level acknowledgement.
  209. * @access public
  210. * @namespace ebl
  211. * @var string
  212. */
  213. public $CorrelationID;
  214. /**
  215. *
  216. * @array
  217. * @access public
  218. * @namespace ebl
  219. * @var ErrorType
  220. */
  221. public $Errors;
  222. /**
  223. * This refers to the version of the response payload schema.
  224. * @access public
  225. * @namespace ebl
  226. * @var string
  227. */
  228. public $Version;
  229. /**
  230. * This refers to the specific software build that was used in
  231. * the deployment for processing the request and generating the
  232. * response.
  233. * @access public
  234. * @namespace ebl
  235. * @var string
  236. */
  237. public $Build;
  238. }
  239. /**
  240. * Country code associated with this phone number.
  241. */
  242. class PhoneNumberType
  243. extends PPXmlMessage{
  244. /**
  245. * Country code associated with this phone number.
  246. * @access public
  247. * @namespace ebl
  248. * @var string
  249. */
  250. public $CountryCode;
  251. /**
  252. * Phone number associated with this phone.
  253. * @access public
  254. * @namespace ebl
  255. * @var string
  256. */
  257. public $PhoneNumber;
  258. /**
  259. * Extension associated with this phone number.
  260. * @access public
  261. * @namespace ebl
  262. * @var string
  263. */
  264. public $Extension;
  265. }
  266. /**
  267. * Person's name associated with this address. Character length
  268. * and limitations: 32 single-byte alphanumeric characters
  269. */
  270. class AddressType
  271. extends PPXmlMessage{
  272. /**
  273. * Person's name associated with this address. Character length
  274. * and limitations: 32 single-byte alphanumeric characters
  275. * @access public
  276. * @namespace ebl
  277. * @var string
  278. */
  279. public $Name;
  280. /**
  281. * First street address. Character length and limitations: 300
  282. * single-byte alphanumeric characters
  283. * @access public
  284. * @namespace ebl
  285. * @var string
  286. */
  287. public $Street1;
  288. /**
  289. * Second street address. Character length and limitations: 300
  290. * single-byte alphanumeric characters
  291. * @access public
  292. * @namespace ebl
  293. * @var string
  294. */
  295. public $Street2;
  296. /**
  297. * Name of city. Character length and limitations: 120
  298. * single-byte alphanumeric characters
  299. * @access public
  300. * @namespace ebl
  301. * @var string
  302. */
  303. public $CityName;
  304. /**
  305. * State or province. Character length and limitations: 120
  306. * single-byte alphanumeric characters For Canada and the USA,
  307. * StateOrProvince must be the standard 2-character
  308. * abbreviation of a state or province. Canadian Provinces
  309. * Alberta AB British_Columbia BC Manitoba MB New_Brunswick NB
  310. * Newfoundland NF Northwest_Territories NT Nova_Scotia NS
  311. * Nunavut NU Ontario ON Prince_Edward_Island PE Quebec QC
  312. * Saskatchewan SK Yukon YK United States Alabama AL Alaska AK
  313. * American_Samoa AS Arizona AZ Arkansas AR California CA
  314. * Colorado CO Connecticut CT Delaware DE District_Of_Columbia
  315. * DC Federated_States_Of_Micronesia FM Florida FL Georgia GA
  316. * Guam GU Hawaii HI Idaho ID Illinois IL Indiana IN Iowa IA
  317. * Kansas KS Kentucky KY Louisiana LA Maine ME Marshall_Islands
  318. * MH Maryland MD Massachusetts MA Michigan MI Minnesota MN
  319. * Mississippi MS Missouri MO Montana MT Nebraska NE Nevada NV
  320. * New_Hampshire NH New_Jersey NJ New_Mexico NM New_York NY
  321. * North_Carolina NC North_Dakota ND Northern_Mariana_Islands
  322. * MP Ohio OH Oklahoma OK Oregon OR Palau PW Pennsylvania PA
  323. * Puerto_Rico PR Rhode_Island RI South_Carolina SC
  324. * South_Dakota SD Tennessee TN Texas TX Utah UT Vermont VT
  325. * Virgin_Islands VI Virginia VA Washington WA West_Virginia WV
  326. * Wisconsin WI Wyoming WY Armed_Forces_Americas AA
  327. * Armed_Forces AE Armed_Forces_Pacific AP
  328. * @access public
  329. * @namespace ebl
  330. * @var string
  331. */
  332. public $StateOrProvince;
  333. /**
  334. * ISO 3166 standard country code Character limit: Two
  335. * single-byte characters.
  336. * @access public
  337. * @namespace ebl
  338. * @var string
  339. */
  340. public $Country;
  341. /**
  342. * IMPORTANT: Do not set this element for SetExpressCheckout,
  343. * DoExpressCheckoutPayment, DoDirectPayment,
  344. * CreateRecurringPaymentsProfile or
  345. * UpdateRecurringPaymentsProfile. This element should only be
  346. * used in response elements and typically should not be used
  347. * in creating request messages which specify the name of a
  348. * country using the Country element (which refers to a
  349. * 2-letter country code).
  350. * @access public
  351. * @namespace ebl
  352. * @var string
  353. */
  354. public $CountryName;
  355. /**
  356. * Telephone number associated with this address
  357. * @access public
  358. * @namespace ebl
  359. * @var string
  360. */
  361. public $Phone;
  362. /**
  363. *
  364. * @access public
  365. * @namespace ebl
  366. * @var string
  367. */
  368. public $PostalCode;
  369. /**
  370. * IMPORTANT: Do not set this element for SetExpressCheckout,
  371. * DoExpressCheckoutPayment, DoDirectPayment,
  372. * CreateRecurringPaymentsProfile, or
  373. * UpdateRecurringPaymentsProfile.
  374. * @access public
  375. * @namespace ebl
  376. * @var string
  377. */
  378. public $AddressID;
  379. /**
  380. * IMPORTANT: Do not set this element for SetExpressCheckout,
  381. * DoExpressCheckoutPayment, DoDirectPayment,
  382. * CreateRecurringPaymentsProfile or
  383. * UpdateRecurringPaymentsProfile.
  384. * @access public
  385. * @namespace ebl
  386. * @var string
  387. */
  388. public $AddressOwner;
  389. /**
  390. * IMPORTANT: Do not set this element for SetExpressCheckout,
  391. * DoExpressCheckoutPayment, DoDirectPayment,
  392. * CreateRecurringPaymentsProfile or
  393. * UpdateRecurringPaymentsProfile.
  394. * @access public
  395. * @namespace ebl
  396. * @var string
  397. */
  398. public $ExternalAddressID;
  399. /**
  400. * IMPORTANT: Do not set this element for SetExpressCheckout,
  401. * DoExpressCheckoutPayment, DoDirectPayment,
  402. * CreateRecurringPaymentsProfile or
  403. * UpdateRecurringPaymentsProfile. Only applicable to
  404. * SellerPaymentAddress today. Seller's international name that
  405. * is associated with the payment address.
  406. * @access public
  407. * @namespace ebl
  408. * @var string
  409. */
  410. public $InternationalName;
  411. /**
  412. * IMPORTANT: Do not set this element for SetExpressCheckout,
  413. * DoExpressCheckoutPayment, DoDirectPayment,
  414. * CreateRecurringPaymentsProfile or
  415. * UpdateRecurringPaymentsProfile. Only applicable to
  416. * SellerPaymentAddress today. International state and city for
  417. * the seller's payment address.
  418. * @access public
  419. * @namespace ebl
  420. * @var string
  421. */
  422. public $InternationalStateAndCity;
  423. /**
  424. * IMPORTANT: Do not set this element for SetExpressCheckout,
  425. * DoExpressCheckoutPayment, DoDirectPayment,
  426. * CreateRecurringPaymentsProfile or
  427. * UpdateRecurringPaymentsProfile. Only applicable to
  428. * SellerPaymentAddress today. Seller's international street
  429. * address that is associated with the payment address.
  430. * @access public
  431. * @namespace ebl
  432. * @var string
  433. */
  434. public $InternationalStreet;
  435. /**
  436. * Status of the address on file with PayPal. IMPORTANT: Do not
  437. * set this element for SetExpressCheckout,
  438. * DoExpressCheckoutPayment, DoDirectPayment,
  439. * CreateRecurringPaymentsProfile or
  440. * UpdateRecurringPaymentsProfile.
  441. * @access public
  442. * @namespace ebl
  443. * @var string
  444. */
  445. public $AddressStatus;
  446. /**
  447. * Returns Normalization Status of the Address. Possible values
  448. * are Normalized, Unnormalized, and None.
  449. * @access public
  450. * @namespace ebl
  451. * @var string
  452. */
  453. public $AddressNormalizationStatus;
  454. }
  455. /**
  456. *
  457. */
  458. class PersonNameType
  459. extends PPXmlMessage{
  460. /**
  461. *
  462. * @access public
  463. * @namespace ebl
  464. * @var string
  465. */
  466. public $Salutation;
  467. /**
  468. *
  469. * @access public
  470. * @namespace ebl
  471. * @var string
  472. */
  473. public $FirstName;
  474. /**
  475. *
  476. * @access public
  477. * @namespace ebl
  478. * @var string
  479. */
  480. public $MiddleName;
  481. /**
  482. *
  483. * @access public
  484. * @namespace ebl
  485. * @var string
  486. */
  487. public $LastName;
  488. /**
  489. *
  490. * @access public
  491. * @namespace ebl
  492. * @var string
  493. */
  494. public $Suffix;
  495. }
  496. /**
  497. *
  498. */
  499. class IncentiveAppliedToType
  500. extends PPXmlMessage{
  501. /**
  502. *
  503. * @access public
  504. * @namespace ebl
  505. * @var string
  506. */
  507. public $BucketId;
  508. /**
  509. *
  510. * @access public
  511. * @namespace ebl
  512. * @var string
  513. */
  514. public $ItemId;
  515. /**
  516. *
  517. * @access public
  518. * @namespace ebl
  519. * @var BasicAmountType
  520. */
  521. public $IncentiveAmount;
  522. /**
  523. *
  524. * @access public
  525. * @namespace ebl
  526. * @var string
  527. */
  528. public $SubType;
  529. }
  530. /**
  531. *
  532. */
  533. class IncentiveDetailType
  534. extends PPXmlMessage{
  535. /**
  536. *
  537. * @access public
  538. * @namespace ebl
  539. * @var string
  540. */
  541. public $RedemptionCode;
  542. /**
  543. *
  544. * @access public
  545. * @namespace ebl
  546. * @var string
  547. */
  548. public $DisplayCode;
  549. /**
  550. *
  551. * @access public
  552. * @namespace ebl
  553. * @var string
  554. */
  555. public $ProgramId;
  556. /**
  557. *
  558. * @access public
  559. * @namespace ebl
  560. * @var string
  561. */
  562. public $IncentiveType;
  563. /**
  564. *
  565. * @access public
  566. * @namespace ebl
  567. * @var string
  568. */
  569. public $IncentiveDescription;
  570. /**
  571. *
  572. * @array
  573. * @access public
  574. * @namespace ebl
  575. * @var IncentiveAppliedToType
  576. */
  577. public $AppliedTo;
  578. /**
  579. *
  580. * @access public
  581. * @namespace ebl
  582. * @var string
  583. */
  584. public $Status;
  585. /**
  586. *
  587. * @access public
  588. * @namespace ebl
  589. * @var string
  590. */
  591. public $ErrorCode;
  592. }
  593. /**
  594. *
  595. */
  596. class IncentiveItemType
  597. extends PPXmlMessage{
  598. /**
  599. *
  600. * @access public
  601. * @namespace ebl
  602. * @var string
  603. */
  604. public $ItemId;
  605. /**
  606. *
  607. * @access public
  608. * @namespace ebl
  609. * @var dateTime
  610. */
  611. public $PurchaseTime;
  612. /**
  613. *
  614. * @access public
  615. * @namespace ebl
  616. * @var string
  617. */
  618. public $ItemCategoryList;
  619. /**
  620. *
  621. * @access public
  622. * @namespace ebl
  623. * @var BasicAmountType
  624. */
  625. public $ItemPrice;
  626. /**
  627. *
  628. * @access public
  629. * @namespace ebl
  630. * @var integer
  631. */
  632. public $ItemQuantity;
  633. }
  634. /**
  635. *
  636. */
  637. class IncentiveBucketType
  638. extends PPXmlMessage{
  639. /**
  640. *
  641. * @array
  642. * @access public
  643. * @namespace ebl
  644. * @var IncentiveItemType
  645. */
  646. public $Items;
  647. /**
  648. *
  649. * @access public
  650. * @namespace ebl
  651. * @var string
  652. */
  653. public $BucketId;
  654. /**
  655. *
  656. * @access public
  657. * @namespace ebl
  658. * @var string
  659. */
  660. public $SellerId;
  661. /**
  662. *
  663. * @access public
  664. * @namespace ebl
  665. * @var string
  666. */
  667. public $ExternalSellerId;
  668. /**
  669. *
  670. * @access public
  671. * @namespace ebl
  672. * @var BasicAmountType
  673. */
  674. public $BucketSubtotalAmt;
  675. /**
  676. *
  677. * @access public
  678. * @namespace ebl
  679. * @var BasicAmountType
  680. */
  681. public $BucketShippingAmt;
  682. /**
  683. *
  684. * @access public
  685. * @namespace ebl
  686. * @var BasicAmountType
  687. */
  688. public $BucketInsuranceAmt;
  689. /**
  690. *
  691. * @access public
  692. * @namespace ebl
  693. * @var BasicAmountType
  694. */
  695. public $BucketSalesTaxAmt;
  696. /**
  697. *
  698. * @access public
  699. * @namespace ebl
  700. * @var BasicAmountType
  701. */
  702. public $BucketTotalAmt;
  703. }
  704. /**
  705. *
  706. */
  707. class IncentiveRequestDetailsType
  708. extends PPXmlMessage{
  709. /**
  710. *
  711. * @access public
  712. * @namespace ebl
  713. * @var string
  714. */
  715. public $RequestId;
  716. /**
  717. *
  718. * @access public
  719. * @namespace ebl
  720. * @var string
  721. */
  722. public $RequestType;
  723. /**
  724. *
  725. * @access public
  726. * @namespace ebl
  727. * @var string
  728. */
  729. public $RequestDetailLevel;
  730. }
  731. /**
  732. *
  733. */
  734. class GetIncentiveEvaluationRequestDetailsType
  735. extends PPXmlMessage{
  736. /**
  737. *
  738. * @access public
  739. * @namespace ebl
  740. * @var string
  741. */
  742. public $ExternalBuyerId;
  743. /**
  744. *
  745. * @array
  746. * @access public
  747. * @namespace ebl
  748. * @var string
  749. */
  750. public $IncentiveCodes;
  751. /**
  752. *
  753. * @array
  754. * @access public
  755. * @namespace ebl
  756. * @var IncentiveApplyIndicationType
  757. */
  758. public $ApplyIndication;
  759. /**
  760. *
  761. * @array
  762. * @access public
  763. * @namespace ebl
  764. * @var IncentiveBucketType
  765. */
  766. public $Buckets;
  767. /**
  768. *
  769. * @access public
  770. * @namespace ebl
  771. * @var BasicAmountType
  772. */
  773. public $CartTotalAmt;
  774. /**
  775. *
  776. * @access public
  777. * @namespace ebl
  778. * @var IncentiveRequestDetailsType
  779. */
  780. public $RequestDetails;
  781. }
  782. /**
  783. *
  784. */
  785. class GetIncentiveEvaluationResponseDetailsType
  786. extends PPXmlMessage{
  787. /**
  788. *
  789. * @array
  790. * @access public
  791. * @namespace ebl
  792. * @var IncentiveDetailType
  793. */
  794. public $IncentiveDetails;
  795. /**
  796. *
  797. * @access public
  798. * @namespace ebl
  799. * @var string
  800. */
  801. public $RequestId;
  802. }
  803. /**
  804. * The total cost of the order to the customer. If shipping
  805. * cost and tax charges are known, include them in OrderTotal;
  806. * if not, OrderTotal should be the current sub-total of the
  807. * order. You must set the currencyID attribute to one of the
  808. * three-character currency codes for any of the supported
  809. * PayPal currencies. Limitations: Must not exceed $10,000 USD
  810. * in any currency. No currency symbol. Decimal separator must
  811. * be a period (.), and the thousands separator must be a comma
  812. * (,).
  813. */
  814. class SetExpressCheckoutRequestDetailsType
  815. extends PPXmlMessage{
  816. /**
  817. * The total cost of the order to the customer. If shipping
  818. * cost and tax charges are known, include them in OrderTotal;
  819. * if not, OrderTotal should be the current sub-total of the
  820. * order. You must set the currencyID attribute to one of the
  821. * three-character currency codes for any of the supported
  822. * PayPal currencies. Limitations: Must not exceed $10,000 USD
  823. * in any currency. No currency symbol. Decimal separator must
  824. * be a period (.), and the thousands separator must be a comma
  825. * (,).
  826. * @access public
  827. * @namespace ebl
  828. * @var BasicAmountType
  829. */
  830. public $OrderTotal;
  831. /**
  832. * URL to which the customer's browser is returned after
  833. * choosing to pay with PayPal. PayPal recommends that the
  834. * value of ReturnURL be the final review page on which the
  835. * customer confirms the order and payment. Required Character
  836. * length and limitations: no limit.
  837. * @access public
  838. * @namespace ebl
  839. * @var string
  840. */
  841. public $ReturnURL;
  842. /**
  843. * URL to which the customer is returned if he does not approve
  844. * the use of PayPal to pay you. PayPal recommends that the
  845. * value of CancelURL be the original page on which the
  846. * customer chose to pay with PayPal. Required Character length
  847. * and limitations: no limit
  848. * @access public
  849. * @namespace ebl
  850. * @var string
  851. */
  852. public $CancelURL;
  853. /**
  854. * Tracking URL for ebay. Required Character length and
  855. * limitations: no limit
  856. * @access public
  857. * @namespace ebl
  858. * @var string
  859. */
  860. public $TrackingImageURL;
  861. /**
  862. * URL to which the customer's browser is returned after paying
  863. * with giropay online. Optional Character length and
  864. * limitations: no limit.
  865. * @access public
  866. * @namespace ebl
  867. * @var string
  868. */
  869. public $giropaySuccessURL;
  870. /**
  871. * URL to which the customer's browser is returned after fail
  872. * to pay with giropay online. Optional Character length and
  873. * limitations: no limit.
  874. * @access public
  875. * @namespace ebl
  876. * @var string
  877. */
  878. public $giropayCancelURL;
  879. /**
  880. * URL to which the customer's browser can be returned in the
  881. * mEFT done page. Optional Character length and limitations:
  882. * no limit.
  883. * @access public
  884. * @namespace ebl
  885. * @var string
  886. */
  887. public $BanktxnPendingURL;
  888. /**
  889. * On your first invocation of SetExpressCheckoutRequest, the
  890. * value of this token is returned by
  891. * SetExpressCheckoutResponse. Optional Include this element
  892. * and its value only if you want to modify an existing
  893. * checkout session with another invocation of
  894. * SetExpressCheckoutRequest; for example, if you want the
  895. * customer to edit his shipping address on PayPal. Character
  896. * length and limitations: 20 single-byte characters
  897. * @access public
  898. * @namespace ebl
  899. * @var string
  900. */
  901. public $Token;
  902. /**
  903. * The expected maximum total amount of the complete order,
  904. * including shipping cost and tax charges. Optional You must
  905. * set the currencyID attribute to one of the three-character
  906. * currency codes for any of the supported PayPal currencies.
  907. * Limitations: Must not exceed $10,000 USD in any currency. No
  908. * currency symbol. Decimal separator must be a period (.), and
  909. * the thousands separator must be a comma (,).
  910. * @access public
  911. * @namespace ebl
  912. * @var BasicAmountType
  913. */
  914. public $MaxAmount;
  915. /**
  916. * Description of items the customer is purchasing. Optional
  917. * Character length and limitations: 127 single-byte
  918. * alphanumeric characters
  919. * @access public
  920. * @namespace ebl
  921. * @var string
  922. */
  923. public $OrderDescription;
  924. /**
  925. * A free-form field for your own use, such as a tracking
  926. * number or other value you want PayPal to return on
  927. * GetExpressCheckoutDetailsResponse and
  928. * DoExpressCheckoutPaymentResponse. Optional Character length
  929. * and limitations: 256 single-byte alphanumeric characters
  930. * @access public
  931. * @namespace ebl
  932. * @var string
  933. */
  934. public $Custom;
  935. /**
  936. * Your own unique invoice or tracking number. PayPal returns
  937. * this value to you on DoExpressCheckoutPaymentResponse.
  938. * Optional Character length and limitations: 127 single-byte
  939. * alphanumeric characters
  940. * @access public
  941. * @namespace ebl
  942. * @var string
  943. */
  944. public $InvoiceID;
  945. /**
  946. * The value 1 indicates that you require that the customer's
  947. * shipping address on file with PayPal be a confirmed address.
  948. * Any value other than 1 indicates that the customer's
  949. * shipping address on file with PayPal need NOT be a confirmed
  950. * address. Setting this element overrides the setting you have
  951. * specified in the recipient's Merchant Account Profile.
  952. * Optional Character length and limitations: One single-byte
  953. * numeric character.
  954. * @access public
  955. * @namespace ebl
  956. * @var string
  957. */
  958. public $ReqConfirmShipping;
  959. /**
  960. * The value 1 indicates that you require that the customer's
  961. * billing address on file. Setting this element overrides the
  962. * setting you have specified in Admin. Optional Character
  963. * length and limitations: One single-byte numeric character.
  964. * @access public
  965. * @namespace ebl
  966. * @var string
  967. */
  968. public $ReqBillingAddress;
  969. /**
  970. * The billing address for the buyer. Optional If you include
  971. * the BillingAddress element, the AddressType elements are
  972. * required: Name Street1 CityName CountryCode Do not set set
  973. * the CountryName element.
  974. * @access public
  975. * @namespace ebl
  976. * @var AddressType
  977. */
  978. public $BillingAddress;
  979. /**
  980. * The value 1 indicates that on the PayPal pages, no shipping
  981. * address fields should be displayed whatsoever. Optional
  982. * Character length and limitations: Four single-byte numeric
  983. * characters.
  984. * @access public
  985. * @namespace ebl
  986. * @var string
  987. */
  988. public $NoShipping;
  989. /**
  990. * The value 1 indicates that the PayPal pages should display
  991. * the shipping address set by you in the Address element on
  992. * this SetExpressCheckoutRequest, not the shipping address on
  993. * file with PayPal for this customer. Displaying the PayPal
  994. * street address on file does not allow the customer to edit
  995. * that address. Optional Character length and limitations:
  996. * Four single-byte numeric characters.
  997. * @access public
  998. * @namespace ebl
  999. * @var string
  1000. */
  1001. public $AddressOverride;
  1002. /**
  1003. * Locale of pages displayed by PayPal during Express Checkout.
  1004. * Optional Character length and limitations: Five single-byte
  1005. * alphabetic characters, upper- or lowercase. Allowable
  1006. * values: AU or en_AUDE or de_DEFR or fr_FRGB or en_GBIT or
  1007. * it_ITJP or ja_JPUS or en_US
  1008. * @access public
  1009. * @namespace ebl
  1010. * @var string
  1011. */
  1012. public $LocaleCode;
  1013. /**
  1014. * Sets the Custom Payment Page Style for payment pages
  1015. * associated with this button/link. PageStyle corresponds to
  1016. * the HTML variable page_style for customizing payment pages.
  1017. * The value is the same as the Page Style Name you chose when
  1018. * adding or editing the page style from the Profile subtab of
  1019. * the My Account tab of your PayPal account. Optional
  1020. * Character length and limitations: 30 single-byte alphabetic
  1021. * characters.
  1022. * @access public
  1023. * @namespace ebl
  1024. * @var string
  1025. */
  1026. public $PageStyle;
  1027. /**
  1028. * A URL for the image you want to appear at the top left of
  1029. * the payment page. The image has a maximum size of 750 pixels
  1030. * wide by 90 pixels high. PayPal recommends that you provide
  1031. * an image that is stored on a secure (https) server. Optional
  1032. * Character length and limitations: 127
  1033. * @access public
  1034. * @namespace ebl
  1035. * @name cpp-header-image
  1036. * @var string
  1037. */
  1038. public $cppheaderimage;
  1039. /**
  1040. * Sets the border color around the header of the payment page.
  1041. * The border is a 2-pixel perimeter around the header space,
  1042. * which is 750 pixels wide by 90 pixels high. Optional
  1043. * Character length and limitations: Six character HTML
  1044. * hexadecimal color code in ASCII
  1045. * @access public
  1046. * @namespace ebl
  1047. * @name cpp-header-border-color
  1048. * @var string
  1049. */
  1050. public $cppheaderbordercolor;
  1051. /**
  1052. * Sets the background color for the header of the payment
  1053. * page. Optional Character length and limitation: Six
  1054. * character HTML hexadecimal color code in ASCII
  1055. * @access public
  1056. * @namespace ebl
  1057. * @name cpp-header-back-color
  1058. * @var string
  1059. */
  1060. public $cppheaderbackcolor;
  1061. /**
  1062. * Sets the background color for the payment page. Optional
  1063. * Character length and limitation: Six character HTML
  1064. * hexadecimal color code in ASCII
  1065. * @access public
  1066. * @namespace ebl
  1067. * @name cpp-payflow-color
  1068. * @var string
  1069. */
  1070. public $cpppayflowcolor;
  1071. /**
  1072. * Sets the cart gradient color for the Mini Cart on 1X flow.
  1073. * Optional Character length and limitation: Six character HTML
  1074. * hexadecimal color code in ASCII
  1075. * @access public
  1076. * @namespace ebl
  1077. * @name cpp-cart-border-color
  1078. * @var string
  1079. */
  1080. public $cppcartbordercolor;
  1081. /**
  1082. * A URL for the image you want to appear above the mini-cart.
  1083. * The image has a maximum size of 190 pixels wide by 60 pixels
  1084. * high. PayPal recommends that you provide an image that is
  1085. * stored on a secure (https) server. Optional Character length
  1086. * and limitations: 127
  1087. * @access public
  1088. * @namespace ebl
  1089. * @name cpp-logo-image
  1090. * @var string
  1091. */
  1092. public $cpplogoimage;
  1093. /**
  1094. * Customer's shipping address. Optional If you include a
  1095. * shipping address and set the AddressOverride element on the
  1096. * request, PayPal returns this same address in
  1097. * GetExpressCheckoutDetailsResponse.
  1098. * @access public
  1099. * @namespace ebl
  1100. * @var AddressType
  1101. */
  1102. public $Address;
  1103. /**
  1104. * How you want to obtain payment. Required Authorization
  1105. * indicates that this payment is a basic authorization subject
  1106. * to settlement with PayPal Authorization and Capture. Order
  1107. * indicates that this payment is is an order authorization
  1108. * subject to settlement with PayPal Authorization and Capture.
  1109. * Sale indicates that this is a final sale for which you are
  1110. * requesting payment. IMPORTANT: You cannot set PaymentAction
  1111. * to Sale or Order on SetExpressCheckoutRequest and then
  1112. * change PaymentAction to Authorization on the final Express
  1113. * Checkout API, DoExpressCheckoutPaymentRequest. Character
  1114. * length and limit: Up to 13 single-byte alphabetic characters
  1115. * @access public
  1116. * @namespace ebl
  1117. * @var string
  1118. */
  1119. public $PaymentAction;
  1120. /**
  1121. * This will indicate which flow you are choosing
  1122. * (expresschecheckout or expresscheckout optional) Optional
  1123. * None Sole indicates that you are in the ExpressO flow Mark
  1124. * indicates that you are in the old express flow.
  1125. * @access public
  1126. * @namespace ebl
  1127. * @var string
  1128. */
  1129. public $SolutionType;
  1130. /**
  1131. * This indicates Which page to display for ExpressO (Billing
  1132. * or Login) Optional None Billing indicates that you are not a
  1133. * paypal account holder Login indicates that you are a paypal
  1134. * account holder
  1135. * @access public
  1136. * @namespace ebl
  1137. * @var string
  1138. */
  1139. public $LandingPage;
  1140. /**
  1141. * Email address of the buyer as entered during checkout.
  1142. * PayPal uses this value to pre-fill the PayPal membership
  1143. * sign-up portion of the PayPal login page. Optional Character
  1144. * length and limit: 127 single-byte alphanumeric characters
  1145. * @access public
  1146. * @namespace ebl
  1147. * @var string
  1148. */
  1149. public $BuyerEmail;
  1150. /**
  1151. *
  1152. * @access public
  1153. * @namespace ebl
  1154. * @var string
  1155. */
  1156. public $ChannelType;
  1157. /**
  1158. *
  1159. * @array
  1160. * @access public
  1161. * @namespace ebl
  1162. * @var BillingAgreementDetailsType
  1163. */
  1164. public $BillingAgreementDetails;
  1165. /**
  1166. * Promo Code Optional List of promo codes supplied by
  1167. * merchant. These promo codes enable the Merchant Services
  1168. * Promotion Financing feature.
  1169. * @array
  1170. * @access public
  1171. * @namespace ebl
  1172. * @var string
  1173. */
  1174. public $PromoCodes;
  1175. /**
  1176. * Default Funding option for PayLater Checkout button.
  1177. * @access public
  1178. * @namespace ebl
  1179. * @var string
  1180. */
  1181. public $PayPalCheckOutBtnType;
  1182. /**
  1183. *
  1184. * @access public
  1185. * @namespace ebl
  1186. * @var string
  1187. */
  1188. public $ProductCategory;
  1189. /**
  1190. *
  1191. * @access public
  1192. * @namespace ebl
  1193. * @var string
  1194. */
  1195. public $ShippingMethod;
  1196. /**
  1197. * Date and time (in GMT in the format yyyy-MM-ddTHH:mm:ssZ) at
  1198. * which address was changed by the user.
  1199. * @access public
  1200. * @namespace ebl
  1201. * @var dateTime
  1202. */
  1203. public $ProfileAddressChangeDate;
  1204. /**
  1205. * The value 1 indicates that the customer may enter a note to
  1206. * the merchant on the PayPal page during checkout. The note is
  1207. * returned in the GetExpressCheckoutDetails response and the
  1208. * DoExpressCheckoutPayment response. Optional Character length
  1209. * and limitations: One single-byte numeric character.
  1210. * Allowable values: 0,1
  1211. * @access public
  1212. * @namespace ebl
  1213. * @var string
  1214. */
  1215. public $AllowNote;
  1216. /**
  1217. * Funding source preferences.
  1218. * @access public
  1219. * @namespace ebl
  1220. * @var FundingSourceDetailsType
  1221. */
  1222. public $FundingSourceDetails;
  1223. /**
  1224. * The label that needs to be displayed on the cancel links in
  1225. * the PayPal hosted checkout pages. Optional Character length
  1226. * and limit: 127 single-byte alphanumeric characters
  1227. * @access public
  1228. * @namespace ebl
  1229. * @var string
  1230. */
  1231. public $BrandName;
  1232. /**
  1233. * URL for PayPal to use to retrieve shipping, handling,
  1234. * insurance, and tax details from your website. Optional
  1235. * Character length and limitations: 2048 characters.
  1236. * @access public
  1237. * @namespace ebl
  1238. * @var string
  1239. */
  1240. public $CallbackURL;
  1241. /**
  1242. * Enhanced data for different industry segments. Optional
  1243. * @access public
  1244. * @namespace ebl
  1245. * @var EnhancedCheckoutDataType
  1246. */
  1247. public $EnhancedCheckoutData;
  1248. /**
  1249. * List of other payment methods the user can pay with.
  1250. * Optional Refer to the OtherPaymentMethodDetailsType for more
  1251. * details.
  1252. * @array
  1253. * @access public
  1254. * @namespace ebl
  1255. * @var OtherPaymentMethodDetailsType
  1256. */
  1257. public $OtherPaymentMethods;
  1258. /**
  1259. * Details about the buyer's account. Optional Refer to the
  1260. * BuyerDetailsType for more details.
  1261. * @access public
  1262. * @namespace ebl
  1263. * @var BuyerDetailsType
  1264. */
  1265. public $BuyerDetails;
  1266. /**
  1267. * Information about the payment.
  1268. * @array
  1269. * @access public
  1270. * @namespace ebl
  1271. * @var PaymentDetailsType
  1272. */
  1273. public $PaymentDetails;
  1274. /**
  1275. * List of Fall Back Shipping options provided by merchant.
  1276. * @array
  1277. * @access public
  1278. * @namespace ebl
  1279. * @var ShippingOptionType
  1280. */
  1281. public $FlatRateShippingOptions;
  1282. /**
  1283. * Information about the call back timeout override.
  1284. * @access public
  1285. * @namespace ebl
  1286. * @var string
  1287. */
  1288. public $CallbackTimeout;
  1289. /**
  1290. * Information about the call back version.
  1291. * @access public
  1292. * @namespace ebl
  1293. * @var string
  1294. */
  1295. public $CallbackVersion;
  1296. /**
  1297. * Information about the Customer service number.
  1298. * @access public
  1299. * @namespace ebl
  1300. * @var string
  1301. */
  1302. public $CustomerServiceNumber;
  1303. /**
  1304. * Information about the Gift message enable.
  1305. * @access public
  1306. * @namespace ebl
  1307. * @var string
  1308. */
  1309. public $GiftMessageEnable;
  1310. /**
  1311. * Information about the Gift receipt enable.
  1312. * @access public
  1313. * @namespace ebl
  1314. * @var string
  1315. */
  1316. public $GiftReceiptEnable;
  1317. /**
  1318. * Information about the Gift Wrap enable.
  1319. * @access public
  1320. * @namespace ebl
  1321. * @var string
  1322. */
  1323. public $GiftWrapEnable;
  1324. /**
  1325. * Information about the Gift Wrap name.
  1326. * @access public
  1327. * @namespace ebl
  1328. * @var string
  1329. */
  1330. public $GiftWrapName;
  1331. /**
  1332. * Information about the Gift Wrap amount.
  1333. * @access public
  1334. * @namespace ebl
  1335. * @var BasicAmountType
  1336. */
  1337. public $GiftWrapAmount;
  1338. /**
  1339. * Information about the Buyer email option enable .
  1340. * @access public
  1341. * @namespace ebl
  1342. * @var string
  1343. */
  1344. public $BuyerEmailOptInEnable;
  1345. /**
  1346. * Information about the survey enable.
  1347. * @access public
  1348. * @namespace ebl
  1349. * @var string
  1350. */
  1351. public $SurveyEnable;
  1352. /**
  1353. * Information about the survey question.
  1354. * @access public
  1355. * @namespace ebl
  1356. * @var string
  1357. */
  1358. public $SurveyQuestion;
  1359. /**
  1360. * Information about the survey choices for survey question.
  1361. * @array
  1362. * @access public
  1363. * @namespace ebl
  1364. * @var string
  1365. */
  1366. public $SurveyChoice;
  1367. /**
  1368. *
  1369. * @access public
  1370. * @namespace ebl
  1371. * @var string
  1372. */
  1373. public $TotalType;
  1374. /**
  1375. * Any message the seller would like to be displayed in the
  1376. * Mini Cart for UX.
  1377. * @access public
  1378. * @namespace ebl
  1379. * @var string
  1380. */
  1381. public $NoteToBuyer;
  1382. /**
  1383. * Incentive Code Optional List of incentive codes supplied by
  1384. * ebay/merchant.
  1385. * @array
  1386. * @access public
  1387. * @namespace ebl
  1388. * @var IncentiveInfoType
  1389. */
  1390. public $Incentives;
  1391. /**
  1392. * Merchant specified flag which indicates whether to return
  1393. * Funding Instrument Details in DoEC or not. Optional
  1394. * @access public
  1395. * @namespace ebl
  1396. * @var string
  1397. */
  1398. public $ReqInstrumentDetails;
  1399. /**
  1400. * This element contains information that allows the merchant
  1401. * to request to opt into external remember me on behalf of the
  1402. * buyer or to request login bypass using external remember me.
  1403. * Note the opt-in details are silently ignored if the
  1404. * ExternalRememberMeID is present.
  1405. * @access public
  1406. * @namespace ebl
  1407. * @var ExternalRememberMeOptInDetailsType
  1408. */
  1409. public $ExternalRememberMeOptInDetails;
  1410. /**
  1411. * An optional set of values related to flow-specific details.
  1412. * @access public
  1413. * @namespace ebl
  1414. * @var FlowControlDetailsType
  1415. */
  1416. public $FlowControlDetails;
  1417. /**
  1418. * An optional set of values related to display-specific
  1419. * details.
  1420. * @access public
  1421. * @namespace ebl
  1422. * @var DisplayControlDetailsType
  1423. */
  1424. public $DisplayControlDetails;
  1425. /**
  1426. * An optional set of values related to tracking for external
  1427. * partner.
  1428. * @access public
  1429. * @namespace ebl
  1430. * @var ExternalPartnerTrackingDetailsType
  1431. */
  1432. public $ExternalPartnerTrackingDetails;
  1433. /**
  1434. * Optional element that defines relationship between buckets
  1435. * @array
  1436. * @access public
  1437. * @namespace ebl
  1438. * @var CoupledBucketsType
  1439. */
  1440. public $CoupledBuckets;
  1441. }
  1442. /**
  1443. * On your first invocation of
  1444. * ExecuteCheckoutOperationsRequest, the value of this token is
  1445. * returned by ExecuteCheckoutOperationsResponse. Optional
  1446. * Include this element and its value only if you want to
  1447. * modify an existing checkout session with another invocation
  1448. * of ExecuteCheckoutOperationsRequest; for example, if you
  1449. * want the customer to edit his shipping address on PayPal.
  1450. * Character length and limitations: 20 single-byte characters
  1451. */
  1452. class ExecuteCheckoutOperationsRequestDetailsType
  1453. extends PPXmlMessage{
  1454. /**
  1455. * On your first invocation of
  1456. * ExecuteCheckoutOperationsRequest, the value of this token is
  1457. * returned by ExecuteCheckoutOperationsResponse. Optional
  1458. * Include this element and its value only if you want to
  1459. * modify an existing checkout session with another invocation
  1460. * of ExecuteCheckoutOperationsRequest; for example, if you
  1461. * want the customer to edit his shipping address on PayPal.
  1462. * Character length and limitations: 20 single-byte characters
  1463. * @access public
  1464. * @namespace ebl
  1465. * @var string
  1466. */
  1467. public $Token;
  1468. /**
  1469. * All the Data required to initiate the checkout session is
  1470. * passed in this element.
  1471. * @access public
  1472. * @namespace ebl
  1473. * @var SetDataRequestType
  1474. */
  1475. public $SetDataRequest;
  1476. /**
  1477. * If auto authorization is required, this should be passed in
  1478. * with IsRequested set to yes.
  1479. * @access public
  1480. * @namespace ebl
  1481. * @var AuthorizationRequestType
  1482. */
  1483. public $AuthorizationRequest;
  1484. /**
  1485. * Constructor with arguments
  1486. */
  1487. public function __construct($SetDataRequest = NULL) {
  1488. $this->SetDataRequest = $SetDataRequest;
  1489. }
  1490. }
  1491. /**
  1492. * Details about Billing Agreements requested to be created.
  1493. */
  1494. class SetDataRequestType
  1495. extends PPXmlMessage{
  1496. /**
  1497. * Details about Billing Agreements requested to be created.
  1498. * @array
  1499. * @access public
  1500. * @namespace ebl
  1501. * @var BillingApprovalDetailsType
  1502. */
  1503. public $BillingApprovalDetails;
  1504. /**
  1505. * Only needed if Auto Authorization is requested. The
  1506. * authentication session token will be passed in here.
  1507. * @access public
  1508. * @namespace ebl
  1509. * @var BuyerDetailType
  1510. */
  1511. public $BuyerDetail;
  1512. /**
  1513. * Requests for specific buyer information like Billing Address
  1514. * to be returned through GetExpressCheckoutDetails should be
  1515. * specified under this.
  1516. * @access public
  1517. * @namespace ebl
  1518. * @var InfoSharingDirectivesType
  1519. */
  1520. public $InfoSharingDirectives;
  1521. }
  1522. /**
  1523. *
  1524. */
  1525. class AuthorizationRequestType
  1526. extends PPXmlMessage{
  1527. /**
  1528. *
  1529. * @access public
  1530. * @namespace ebl
  1531. * @var boolean
  1532. */
  1533. public $IsRequested;
  1534. /**
  1535. * Constructor with arguments
  1536. */
  1537. public function __construct($IsRequested = NULL) {
  1538. $this->IsRequested = $IsRequested;
  1539. }
  1540. }
  1541. /**
  1542. * The Type of Approval requested - Billing Agreement or
  1543. * Profile
  1544. */
  1545. class BillingApprovalDetailsType
  1546. extends PPXmlMessage{
  1547. /**
  1548. * The Type of Approval requested - Billing Agreement or
  1549. * Profile
  1550. * @access public
  1551. * @namespace ebl
  1552. * @var string
  1553. */
  1554. public $ApprovalType;
  1555. /**
  1556. * The Approval subtype - Must be MerchantInitiatedBilling for
  1557. * BillingAgreement ApprovalType
  1558. * @access public
  1559. * @namespace ebl
  1560. * @var string
  1561. */
  1562. public $ApprovalSubType;
  1563. /**
  1564. * Description about the Order
  1565. * @access public
  1566. * @namespace ebl
  1567. * @var OrderDetailsType
  1568. */
  1569. public $OrderDetails;
  1570. /**
  1571. * Directives about the type of payment
  1572. * @access public
  1573. * @namespace ebl
  1574. * @var PaymentDirectivesType
  1575. */
  1576. public $PaymentDirectives;
  1577. /**
  1578. * Client may pass in its identification of this Billing
  1579. * Agreement. It used for the client's tracking purposes.
  1580. * @access public
  1581. * @namespace ebl
  1582. * @var string
  1583. */
  1584. public $Custom;
  1585. /**
  1586. * Constructor with arguments
  1587. */
  1588. public function __construct($ApprovalType = NULL) {
  1589. $this->ApprovalType = $ApprovalType;
  1590. }
  1591. }
  1592. /**
  1593. * If Billing Address should be returned in
  1594. * GetExpressCheckoutDetails response, this parameter should be
  1595. * set to yes here
  1596. */
  1597. class InfoSharingDirectivesType
  1598. extends PPXmlMessage{
  1599. /**
  1600. * If Billing Address should be returned in
  1601. * GetExpressCheckoutDetails response, this parameter should be
  1602. * set to yes here
  1603. * @access public
  1604. * @namespace ebl
  1605. * @var string
  1606. */
  1607. public $ReqBillingAddress;
  1608. }
  1609. /**
  1610. * Description of the Order.
  1611. */
  1612. class OrderDetailsType
  1613. extends PPXmlMessage{
  1614. /**
  1615. * Description of the Order.
  1616. * @access public
  1617. * @namespace ebl
  1618. * @var string
  1619. */
  1620. public $Description;
  1621. /**
  1622. * Expected maximum amount that the merchant may pull using
  1623. * DoReferenceTransaction
  1624. * @access public
  1625. * @namespace ebl
  1626. * @var BasicAmountType
  1627. */
  1628. public $MaxAmount;
  1629. }
  1630. /**
  1631. * Type of the Payment is it Instant or Echeck or Any.
  1632. */
  1633. class PaymentDirectivesType
  1634. extends PPXmlMessage{
  1635. /**
  1636. * Type of the Payment is it Instant or Echeck or Any.
  1637. * @access public
  1638. * @namespace ebl
  1639. * @var string
  1640. */
  1641. public $PaymentType;
  1642. }
  1643. /**
  1644. * Information that is used to indentify the Buyer. This is
  1645. * used for auto authorization. Mandatory if Authorization is
  1646. * requested.
  1647. */
  1648. class BuyerDetailType
  1649. extends PPXmlMessage{
  1650. /**
  1651. * Information that is used to indentify the Buyer. This is
  1652. * used for auto authorization. Mandatory if Authorization is
  1653. * requested.
  1654. * @access public
  1655. * @namespace ebl
  1656. * @var IdentificationInfoType
  1657. */
  1658. public $IdentificationInfo;
  1659. }
  1660. /**
  1661. * Mobile specific buyer identification.
  1662. */
  1663. class IdentificationInfoType
  1664. extends PPXmlMessage{
  1665. /**
  1666. * Mobile specific buyer identification.
  1667. * @access public
  1668. * @namespace ebl
  1669. * @var MobileIDInfoType
  1670. */
  1671. public $MobileIDInfo;
  1672. /**
  1673. * Contains login bypass information.
  1674. * @access public
  1675. * @namespace ebl
  1676. * @var RememberMeIDInfoType
  1677. */
  1678. public $RememberMeIDInfo;
  1679. /**
  1680. * Identity Access Token.
  1681. * @access public
  1682. * @namespace ebl
  1683. * @var IdentityTokenInfoType
  1684. */
  1685. public $IdentityTokenInfo;
  1686. }
  1687. /**
  1688. * The Session token returned during buyer authentication.
  1689. */
  1690. class MobileIDInfoType
  1691. extends PPXmlMessage{
  1692. /**
  1693. * The Session token returned during buyer authentication.
  1694. * @access public
  1695. * @namespace ebl
  1696. * @var string
  1697. */
  1698. public $SessionToken;
  1699. }
  1700. /**
  1701. * External remember-me ID returned by
  1702. * GetExpressCheckoutDetails on successful opt-in. The
  1703. * ExternalRememberMeID is a 17-character alphanumeric
  1704. * (encrypted) string that identifies the buyer's remembered
  1705. * login with a merchant and has meaning only to the merchant.
  1706. * If present, requests that the web flow attempt bypass of
  1707. * login.
  1708. */
  1709. class RememberMeIDInfoType
  1710. extends PPXmlMessage{
  1711. /**
  1712. * External remember-me ID returned by
  1713. * GetExpressCheckoutDetails on successful opt-in. The
  1714. * ExternalRememberMeID is a 17-character alphanumeric
  1715. * (encrypted) string that identifies the buyer's remembered
  1716. * login with a merchant and has meaning only to the merchant.
  1717. * If present, requests that the web flow attempt bypass of
  1718. * login.
  1719. * @access public
  1720. * @namespace ebl
  1721. * @var string
  1722. */
  1723. public $ExternalRememberMeID;
  1724. }
  1725. /**
  1726. * Identity Access token from merchant
  1727. */
  1728. class IdentityTokenInfoType
  1729. extends PPXmlMessage{
  1730. /**
  1731. * Identity Access token from merchant
  1732. * @access public
  1733. * @namespace ebl
  1734. * @var string
  1735. */
  1736. public $AccessToken;
  1737. /**
  1738. * Constructor with arguments
  1739. */
  1740. public function __construct($AccessToken = NULL) {
  1741. $this->AccessToken = $AccessToken;
  1742. }
  1743. }
  1744. /**
  1745. * Allowable values: 0,1 The value 1 indicates that the
  1746. * customer can accept push funding, and 0 means they cannot.
  1747. * Optional Character length and limitations: One single-byte
  1748. * numeric character.
  1749. */
  1750. class FundingSourceDetailsType
  1751. extends PPXmlMessage{
  1752. /**
  1753. * Allowable values: 0,1 The value 1 indicates that the
  1754. * customer can accept push funding, and 0 means they cannot.
  1755. * Optional Character length and limitations: One single-byte
  1756. * numeric character.
  1757. * @access public
  1758. * @namespace ebl
  1759. * @var string
  1760. */
  1761. public $AllowPushFunding;
  1762. /**
  1763. * Allowable values: ELV, CreditCard, ChinaUnionPay, BML This
  1764. * element could be used to specify the perered funding option
  1765. * for a guest users. It has effect only if LandingPage element
  1766. * is set to Billing. Otherwise it will be ignored.
  1767. * @access public
  1768. * @namespace ebl
  1769. * @var string
  1770. */
  1771. public $UserSelectedFundingSource;
  1772. }
  1773. /**
  1774. *
  1775. */
  1776. class BillingAgreementDetailsType
  1777. extends PPXmlMessage{
  1778. /**
  1779. *
  1780. * @access public
  1781. * @namespace ebl
  1782. * @var string
  1783. */
  1784. public $BillingType;
  1785. /**
  1786. * Only needed for AutoBill billinng type.
  1787. * @access public
  1788. * @namespace ebl
  1789. * @var string
  1790. */
  1791. public $BillingAgreementDescription;
  1792. /**
  1793. *
  1794. * @access public
  1795. * @namespace ebl
  1796. * @var string
  1797. */
  1798. public $PaymentType;
  1799. /**
  1800. * Custom annotation field for your exclusive use.
  1801. * @access public
  1802. * @namespace ebl
  1803. * @var string
  1804. */
  1805. public $BillingAgreementCustom;
  1806. /**
  1807. * Constructor with arguments
  1808. */
  1809. public function __construct($BillingType = NULL) {
  1810. $this->BillingType = $BillingType;
  1811. }
  1812. }
  1813. /**
  1814. * The timestamped token value that was returned by
  1815. * SetExpressCheckoutResponse and passed on
  1816. * GetExpressCheckoutDetailsRequest. Character length and
  1817. * limitations: 20 single-byte characters
  1818. */
  1819. class GetExpressCheckoutDetailsResponseDetailsType
  1820. extends PPXmlMessage{
  1821. /**
  1822. * The timestamped token value that was returned by
  1823. * SetExpressCheckoutResponse and passed on
  1824. * GetExpressCheckoutDetailsRequest. Character length and
  1825. * limitations: 20 single-byte characters
  1826. * @access public
  1827. * @namespace ebl
  1828. * @var string
  1829. */
  1830. public $Token;
  1831. /**
  1832. * Information about the payer
  1833. * @access public
  1834. * @namespace ebl
  1835. * @var PayerInfoType
  1836. */
  1837. public $PayerInfo;
  1838. /**
  1839. * A free-form field for your own use, as set by you in the
  1840. * Custom element of SetExpressCheckoutRequest. Character
  1841. * length and limitations: 256 single-byte alphanumeric
  1842. * characters
  1843. * @access public
  1844. * @namespace ebl
  1845. * @var string
  1846. */
  1847. public $Custom;
  1848. /**
  1849. * Your own invoice or tracking number, as set by you in the
  1850. * InvoiceID element of SetExpressCheckoutRequest. Character
  1851. * length and limitations: 127 single-byte alphanumeric
  1852. * characters
  1853. * @access public
  1854. * @namespace ebl
  1855. * @var string
  1856. */
  1857. public $InvoiceID;
  1858. /**
  1859. * Payer's contact telephone number. PayPal returns a contact
  1860. * telephone number only if your Merchant account profile
  1861. * settings require that the buyer enter one.
  1862. * @access public
  1863. * @namespace ebl
  1864. * @var string
  1865. */
  1866. public $ContactPhone;
  1867. /**
  1868. *
  1869. * @access public
  1870. * @namespace ebl
  1871. * @var boolean
  1872. */
  1873. public $BillingAgreementAcceptedStatus;
  1874. /**
  1875. *
  1876. * @access public
  1877. * @namespace ebl
  1878. * @var string
  1879. */
  1880. public $RedirectRequired;
  1881. /**
  1882. * Customer's billing address. Optional If you have credit card
  1883. * mapped in your account then billing address of the credit
  1884. * card is returned otherwise your primary address is returned
  1885. * , PayPal returns this address in
  1886. * GetExpressCheckoutDetailsResponse.
  1887. * @access public
  1888. * @namespace ebl
  1889. * @var AddressType
  1890. */
  1891. public $BillingAddress;
  1892. /**
  1893. * Text note entered by the buyer in PayPal flow.
  1894. * @access public
  1895. * @namespace ebl
  1896. * @var string
  1897. */
  1898. public $Note;
  1899. /**
  1900. * Returns the status of the EC checkout session. Values
  1901. * include 'PaymentActionNotInitiated', 'PaymentActionFailed',
  1902. * 'PaymentActionInProgress', 'PaymentCompleted'.
  1903. * @access public
  1904. * @namespace ebl
  1905. * @var string
  1906. */
  1907. public $CheckoutStatus;
  1908. /**
  1909. * PayPal may offer a discount or gift certificate to the
  1910. * buyer, which will be represented by a negativeamount. If the
  1911. * buyer has a negative balance, PayPal will add that amount to
  1912. * the current charges, which will be represented as a positive
  1913. * amount.
  1914. * @access public
  1915. * @namespace ebl
  1916. * @var BasicAmountType
  1917. */
  1918. public $PayPalAdjustment;
  1919. /**
  1920. * Information about the individual purchased items.
  1921. * @array
  1922. * @access public
  1923. * @namespace ebl
  1924. * @var PaymentDetailsType
  1925. */
  1926. public $PaymentDetails;
  1927. /**
  1928. * Information about the user selected options.
  1929. * @access public
  1930. * @namespace ebl
  1931. * @var UserSelectedOptionType
  1932. */
  1933. public $UserSelectedOptions;
  1934. /**
  1935. * Information about the incentives that were applied from Ebay
  1936. * RYP page and PayPal RYP page.
  1937. * @array
  1938. * @access public
  1939. * @namespace ebl
  1940. * @var IncentiveDetailsType
  1941. */
  1942. public $IncentiveDetails;
  1943. /**
  1944. * Information about the Gift message.
  1945. * @access public
  1946. * @namespace ebl
  1947. * @var string
  1948. */
  1949. public $GiftMessage;
  1950. /**
  1951. * Information about the Gift receipt enable.
  1952. * @access public
  1953. * @namespace ebl
  1954. * @var string
  1955. */
  1956. public $GiftReceiptEnable;
  1957. /**
  1958. * Information about the Gift Wrap name.
  1959. * @access public
  1960. * @namespace ebl
  1961. * @var string
  1962. */
  1963. public $GiftWrapName;
  1964. /**
  1965. * Information about the Gift Wrap amount.
  1966. * @access public
  1967. * @namespace ebl
  1968. * @var BasicAmountType
  1969. */
  1970. public $GiftWrapAmount;
  1971. /**
  1972. * Information about the Buyer marketing email.
  1973. * @access public
  1974. * @namespace ebl
  1975. * @var string
  1976. */
  1977. public $BuyerMarketingEmail;
  1978. /**
  1979. * Information about the survey question.
  1980. * @access public
  1981. * @namespace ebl
  1982. * @var string
  1983. */
  1984. public $SurveyQuestion;
  1985. /**
  1986. * Information about the survey choice selected by the user.
  1987. * @array
  1988. * @access public
  1989. * @namespace ebl
  1990. * @var string
  1991. */
  1992. public $SurveyChoiceSelected;
  1993. /**
  1994. * Contains payment request information about each bucket in
  1995. * the cart.
  1996. * @array
  1997. * @access public
  1998. * @namespace ebl
  1999. * @var PaymentRequestInfoType
  2000. */
  2001. public $PaymentRequestInfo;
  2002. /**
  2003. * Response information resulting from opt-in operation or
  2004. * current login bypass status.
  2005. * @access public
  2006. * @namespace ebl
  2007. * @var ExternalRememberMeStatusDetailsType
  2008. */
  2009. public $ExternalRememberMeStatusDetails;
  2010. /**
  2011. * Response information resulting from opt-in operation or
  2012. * current login bypass status.
  2013. * @access public
  2014. * @namespace ebl
  2015. * @var RefreshTokenStatusDetailsType
  2016. */
  2017. public $RefreshTokenStatusDetails;
  2018. }
  2019. /**
  2020. *
  2021. */
  2022. class ExecuteCheckoutOperationsResponseDetailsType
  2023. extends PPXmlMessage{
  2024. /**
  2025. *
  2026. * @access public
  2027. * @namespace ebl
  2028. * @var SetDataResponseType
  2029. */
  2030. public $SetDataResponse;
  2031. /**
  2032. *
  2033. * @access public
  2034. * @namespace ebl
  2035. * @var AuthorizationResponseType
  2036. */
  2037. public $AuthorizationResponse;
  2038. }
  2039. /**
  2040. * If Checkout session was initialized successfully, the
  2041. * corresponding token is returned in this element.
  2042. */
  2043. class SetDataResponseType
  2044. extends PPXmlMessage{
  2045. /**
  2046. * If Checkout session was initialized successfully, the
  2047. * corresponding token is returned in this element.
  2048. * @access public
  2049. * @namespace ebl
  2050. * @var string
  2051. */
  2052. public $Token;
  2053. /**
  2054. *
  2055. * @array
  2056. * @access public
  2057. * @namespace ebl
  2058. * @var ErrorType
  2059. */
  2060. public $SetDataError;
  2061. }
  2062. /**
  2063. * Status will denote whether Auto authorization was successful
  2064. * or not.
  2065. */
  2066. class AuthorizationResponseType
  2067. extends PPXmlMessage{
  2068. /**
  2069. * Status will denote whether Auto authorization was successful
  2070. * or not.
  2071. * @access public
  2072. * @namespace ebl
  2073. * @var string
  2074. */
  2075. public $Status;
  2076. /**
  2077. *
  2078. * @array
  2079. * @access public
  2080. * @namespace ebl
  2081. * @var ErrorType
  2082. */
  2083. public $AuthorizationError;
  2084. }
  2085. /**
  2086. * How you want to obtain payment. Required Authorization
  2087. * indicates that this payment is a basic authorization subject
  2088. * to settlement with PayPal Authorization and Capture. Order
  2089. * indicates that this payment is is an order authorization
  2090. * subject to settlement with PayPal Authorization and Capture.
  2091. * Sale indicates that this is a final sale for which you are
  2092. * requesting payment. IMPORTANT: You cannot set PaymentAction
  2093. * to Sale on SetExpressCheckoutRequest and then change
  2094. * PaymentAction to Authorization on the final Express Checkout
  2095. * API, DoExpressCheckoutPaymentRequest. Character length and
  2096. * limit: Up to 13 single-byte alphabetic characters
  2097. */
  2098. class DoExpressCheckoutPaymentRequestDetailsType
  2099. extends PPXmlMessage{
  2100. /**
  2101. * How you want to obtain payment. Required Authorization
  2102. * indicates that this payment is a basic authorization subject
  2103. * to settlement with PayPal Authorization and Capture. Order
  2104. * indicates that this payment is is an order authorization
  2105. * subject to settlement with PayPal Authorization and Capture.
  2106. * Sale indicates that this is a final sale for which you are
  2107. * requesting payment. IMPORTANT: You cannot set PaymentAction
  2108. * to Sale on SetExpressCheckoutRequest and then change
  2109. * PaymentAction to Authorization on the final Express Checkout
  2110. * API, DoExpressCheckoutPaymentRequest. Character length and
  2111. * limit: Up to 13 single-byte alphabetic characters
  2112. * @access public
  2113. * @namespace ebl
  2114. * @var string
  2115. */
  2116. public $PaymentAction;
  2117. /**
  2118. * The timestamped token value that was returned by
  2119. * SetExpressCheckoutResponse and passed on
  2120. * GetExpressCheckoutDetailsRequest. Required Character length
  2121. * and limitations: 20 single-byte characters
  2122. * @access public
  2123. * @namespace ebl
  2124. * @var string
  2125. */
  2126. public $Token;
  2127. /**
  2128. * Encrypted PayPal customer account identification number as
  2129. * returned by GetExpressCheckoutDetailsResponse. Required
  2130. * Character length and limitations: 127 single-byte
  2131. * characters.
  2132. * @access public
  2133. * @namespace ebl
  2134. * @var string
  2135. */
  2136. public $PayerID;
  2137. /**
  2138. * URL on Merchant site pertaining to this invoice. Optional
  2139. * @access public
  2140. * @namespace ebl
  2141. * @var string
  2142. */
  2143. public $OrderURL;
  2144. /**
  2145. * Information about the payment Required
  2146. * @array
  2147. * @access public
  2148. * @namespace ebl
  2149. * @var PaymentDetailsType
  2150. */
  2151. public $PaymentDetails;
  2152. /**
  2153. * Flag to indicate if previously set promoCode shall be
  2154. * overriden. Value 1 indicates overriding.
  2155. * @access public
  2156. * @namespace ebl
  2157. * @var string
  2158. */
  2159. public $PromoOverrideFlag;
  2160. /**
  2161. * Promotional financing code for item. Overrides any previous
  2162. * PromoCode setting.
  2163. * @access public
  2164. * @namespace ebl
  2165. * @var string
  2166. */
  2167. public $PromoCode;
  2168. /**
  2169. * Contains data for enhanced data like Airline Itinerary Data.
  2170. *
  2171. * @access public
  2172. * @namespace ebl
  2173. * @var EnhancedDataType
  2174. */
  2175. public $EnhancedData;
  2176. /**
  2177. * Soft Descriptor supported for Sale and Auth in DEC only. For
  2178. * Order this will be ignored.
  2179. * @access public
  2180. * @namespace ebl
  2181. * @var string
  2182. */
  2183. public $SoftDescriptor;
  2184. /**
  2185. * Information about the user selected options.
  2186. * @access public
  2187. * @namespace ebl
  2188. * @var UserSelectedOptionType
  2189. */
  2190. public $UserSelectedOptions;
  2191. /**
  2192. * Information about the Gift message.
  2193. * @access public
  2194. * @namespace ebl
  2195. * @var string
  2196. */
  2197. public $GiftMessage;
  2198. /**
  2199. * Information about the Gift receipt enable.
  2200. * @access public
  2201. * @namespace ebl
  2202. * @var string
  2203. */
  2204. public $GiftReceiptEnable;
  2205. /**
  2206. * Information about the Gift Wrap name.
  2207. * @access public
  2208. * @namespace ebl
  2209. * @var string
  2210. */
  2211. public $GiftWrapName;
  2212. /**
  2213. * Information about the Gift Wrap amount.
  2214. * @access public
  2215. * @namespace ebl
  2216. * @var BasicAmountType
  2217. */
  2218. public $GiftWrapAmount;
  2219. /**
  2220. * Information about the Buyer marketing email.
  2221. * @access public
  2222. * @namespace ebl
  2223. * @var string
  2224. */
  2225. public $BuyerMarketingEmail;
  2226. /**
  2227. * Information about the survey question.
  2228. * @access public
  2229. * @namespace ebl
  2230. * @var string
  2231. */
  2232. public $SurveyQuestion;
  2233. /**
  2234. * Information about the survey choice selected by the user.
  2235. * @array
  2236. * @access public
  2237. * @namespace ebl
  2238. * @var string
  2239. */
  2240. public $SurveyChoiceSelected;
  2241. /**
  2242. * An identification code for use by third-party applications
  2243. * to identify transactions. Optional Character length and
  2244. * limitations: 32 single-byte alphanumeric characters
  2245. * @access public
  2246. * @namespace ebl
  2247. * @var string
  2248. */
  2249. public $ButtonSource;
  2250. /**
  2251. * Merchant specified flag which indicates whether to create
  2252. * billing agreement as part of DoEC or not. Optional
  2253. * @access public
  2254. * @namespace ebl
  2255. * @var boolean
  2256. */
  2257. public $SkipBACreation;
  2258. /**
  2259. * Optional element that defines relationship between buckets
  2260. * @array
  2261. * @access public
  2262. * @namespace ebl
  2263. * @var CoupledBucketsType
  2264. */
  2265. public $CoupledBuckets;
  2266. }
  2267. /**
  2268. * The timestamped token value that was returned by
  2269. * SetExpressCheckoutResponse and passed on
  2270. * GetExpressCheckoutDetailsRequest. Character length and
  2271. * limitations:20 single-byte characters
  2272. */
  2273. class DoExpressCheckoutPaymentResponseDetailsType
  2274. extends PPXmlMessage{
  2275. /**
  2276. * The timestamped token value that was returned by
  2277. * SetExpressCheckoutResponse and passed on
  2278. * GetExpressCheckoutDetailsRequest. Character length and
  2279. * limitations:20 single-byte characters
  2280. * @access public
  2281. * @namespace ebl
  2282. * @var string
  2283. */
  2284. public $Token;
  2285. /**
  2286. * Information about the transaction
  2287. * @array
  2288. * @access public
  2289. * @namespace ebl
  2290. * @var PaymentInfoType
  2291. */
  2292. public $PaymentInfo;
  2293. /**
  2294. *
  2295. * @access public
  2296. * @namespace ebl
  2297. * @var string
  2298. */
  2299. public $BillingAgreementID;
  2300. /**
  2301. *
  2302. * @access public
  2303. * @namespace ebl
  2304. * @var string
  2305. */
  2306. public $RedirectRequired;
  2307. /**
  2308. * Memo entered by sender in PayPal Review Page note field.
  2309. * Optional Character length and limitations: 255 single-byte
  2310. * alphanumeric characters
  2311. * @access public
  2312. * @namespace ebl
  2313. * @var string
  2314. */
  2315. public $Note;
  2316. /**
  2317. * Redirect back to PayPal, PayPal can host the success page.
  2318. * @access public
  2319. * @namespace ebl
  2320. * @var string
  2321. */
  2322. public $SuccessPageRedirectRequested;
  2323. /**
  2324. * Information about the user selected options.
  2325. * @access public
  2326. * @namespace ebl
  2327. * @var UserSelectedOptionType
  2328. */
  2329. public $UserSelectedOptions;
  2330. /**
  2331. * Information about Coupled Payment transactions.
  2332. * @array
  2333. * @access public
  2334. * @namespace ebl
  2335. * @var CoupledPaymentInfoType
  2336. */
  2337. public $CoupledPaymentInfo;
  2338. }
  2339. /**
  2340. * The authorization identification number you specified in the
  2341. * request. Character length and limits: 19 single-byte
  2342. * characters maximum
  2343. */
  2344. class DoCaptureResponseDetailsType
  2345. extends PPXmlMessage{
  2346. /**
  2347. * The authorization identification number you specified in the
  2348. * request. Character length and limits: 19 single-byte
  2349. * characters maximum
  2350. * @access public
  2351. * @namespace ebl
  2352. * @var string
  2353. */
  2354. public $AuthorizationID;
  2355. /**
  2356. * Information about the transaction
  2357. * @access public
  2358. * @namespace ebl
  2359. * @var PaymentInfoType
  2360. */
  2361. public $PaymentInfo;
  2362. /**
  2363. * Return msgsubid back to merchant
  2364. * @access public
  2365. * @namespace ebl
  2366. * @var string
  2367. */
  2368. public $MsgSubID;
  2369. }
  2370. /**
  2371. * How you want to obtain payment. Required Authorization
  2372. * indicates that this payment is a basic authorization subject
  2373. * to settlement with PayPal Authorization and Capture. Sale
  2374. * indicates that this is a final sale for which you are
  2375. * requesting payment. NOTE: Order is not allowed for Direct
  2376. * Payment. Character length and limit: Up to 13 single-byte
  2377. * alphabetic characters
  2378. */
  2379. class DoDirectPaymentRequestDetailsType
  2380. extends PPXmlMessage{
  2381. /**
  2382. * How you want to obtain payment. Required Authorization
  2383. * indicates that this payment is a basic authorization subject
  2384. * to settlement with PayPal Authorization and Capture. Sale
  2385. * indicates that this is a final sale for which you are
  2386. * requesting payment. NOTE: Order is not allowed for Direct
  2387. * Payment. Character length and limit: Up to 13 single-byte
  2388. * alphabetic characters
  2389. * @access public
  2390. * @namespace ebl
  2391. * @var string
  2392. */
  2393. public $PaymentAction;
  2394. /**
  2395. * Information about the payment Required
  2396. * @access public
  2397. * @namespace ebl
  2398. * @var PaymentDetailsType
  2399. */
  2400. public $PaymentDetails;
  2401. /**
  2402. * Information about the credit card to be charged. Required
  2403. * @access public
  2404. * @namespace ebl
  2405. * @var CreditCardDetailsType
  2406. */
  2407. public $CreditCard;
  2408. /**
  2409. * IP address of the payer's browser as recorded in its HTTP
  2410. * request to your website. PayPal records this IP addresses as
  2411. * a means to detect possible fraud. Required Character length
  2412. * and limitations: 15 single-byte characters, including
  2413. * periods, in dotted-quad format: ???.???.???.???
  2414. * @access public
  2415. * @namespace ebl
  2416. * @var string
  2417. */
  2418. public $IPAddress;
  2419. /**
  2420. * Your customer session identification token. PayPal records
  2421. * this optional session identification token as an additional
  2422. * means to detect possible fraud. Optional Character length
  2423. * and limitations: 64 single-byte numeric characters
  2424. * @access public
  2425. * @namespace ebl
  2426. * @var string
  2427. */
  2428. public $MerchantSessionId;
  2429. /**
  2430. *
  2431. * @access public
  2432. * @namespace ebl
  2433. * @var boolean
  2434. */
  2435. public $ReturnFMFDetails;
  2436. }
  2437. /**
  2438. * Type of the payment Required
  2439. */
  2440. class CreateMobilePaymentRequestDetailsType
  2441. extends PPXmlMessage{
  2442. /**
  2443. * Type of the payment Required
  2444. * @access public
  2445. * @namespace ebl
  2446. * @var string
  2447. */
  2448. public $PaymentType;
  2449. /**
  2450. * How you want to obtain payment. Defaults to Sale. Optional
  2451. * Authorization indicates that this payment is a basic
  2452. * authorization subject to settlement with PayPal
  2453. * Authorization and Capture. Sale indicates that this is a
  2454. * final sale for which you are requesting payment.
  2455. * @access public
  2456. * @namespace ebl
  2457. * @var string
  2458. */
  2459. public $PaymentAction;
  2460. /**
  2461. * Phone number of the user making the payment. Required
  2462. * @access public
  2463. * @namespace ebl
  2464. * @var PhoneNumberType
  2465. */
  2466. public $SenderPhone;
  2467. /**
  2468. * Type of recipient specified, i.e., phone number or email
  2469. * address Required
  2470. * @access public
  2471. * @namespace ebl
  2472. * @var string
  2473. */
  2474. public $RecipientType;
  2475. /**
  2476. * Email address of the recipient
  2477. * @access public
  2478. * @namespace ebl
  2479. * @var string
  2480. */
  2481. public $RecipientEmail;
  2482. /**
  2483. * Phone number of the recipipent Required
  2484. * @access public
  2485. * @namespace ebl
  2486. * @var PhoneNumberType
  2487. */
  2488. public $RecipientPhone;
  2489. /**
  2490. * Amount of item before tax and shipping
  2491. * @access public
  2492. * @namespace ebl
  2493. * @var BasicAmountType
  2494. */
  2495. public $ItemAmount;
  2496. /**
  2497. * The tax charged on the transactionTax Optional
  2498. * @access public
  2499. * @namespace ebl
  2500. * @var BasicAmountType
  2501. */
  2502. public $Tax;
  2503. /**
  2504. * Per-transaction shipping charge Optional
  2505. * @access public
  2506. * @namespace ebl
  2507. * @var BasicAmountType
  2508. */
  2509. public $Shipping;
  2510. /**
  2511. * Name of the item being ordered Optional Character length and
  2512. * limitations: 255 single-byte alphanumeric characters
  2513. * @access public
  2514. * @namespace ebl
  2515. * @var string
  2516. */
  2517. public $ItemName;
  2518. /**
  2519. * SKU of the item being ordered Optional Character length and
  2520. * limitations: 255 single-byte alphanumeric characters
  2521. * @access public
  2522. * @namespace ebl
  2523. * @var string
  2524. */
  2525. public $ItemNumber;
  2526. /**
  2527. * Memo entered by sender in PayPal Website Payments note
  2528. * field. Optional Character length and limitations: 255
  2529. * single-byte alphanumeric characters
  2530. * @access public
  2531. * @namespace ebl
  2532. * @var string
  2533. */
  2534. public $Note;
  2535. /**
  2536. * Unique ID for the order. Required for non-P2P transactions
  2537. * Optional Character length and limitations: 255 single-byte
  2538. * alphanumeric characters
  2539. * @access public
  2540. * @namespace ebl
  2541. * @var string
  2542. */
  2543. public $CustomID;
  2544. /**
  2545. * Indicates whether the sender's phone number will be shared
  2546. * with recipient Optional
  2547. * @access public
  2548. * @namespace ebl
  2549. * @var integer
  2550. */
  2551. public $SharePhoneNumber;
  2552. /**
  2553. * Indicates whether the sender's home address will be shared
  2554. * with recipient Optional
  2555. * @access public
  2556. * @namespace ebl
  2557. * @var integer
  2558. */
  2559. public $ShareHomeAddress;
  2560. }
  2561. /**
  2562. * Phone number for status inquiry
  2563. */
  2564. class GetMobileStatusRequestDetailsType
  2565. extends PPXmlMessage{
  2566. /**
  2567. * Phone number for status inquiry
  2568. * @access public
  2569. * @namespace ebl
  2570. * @var PhoneNumberType
  2571. */
  2572. public $Phone;
  2573. }
  2574. /**
  2575. * URL to which the customer's browser is returned after
  2576. * choosing to login with PayPal. Required Character length and
  2577. * limitations: no limit.
  2578. */
  2579. class SetAuthFlowParamRequestDetailsType
  2580. extends PPXmlMessage{
  2581. /**
  2582. * URL to which the customer's browser is returned after
  2583. * choosing to login with PayPal. Required Character length and
  2584. * limitations: no limit.
  2585. * @access public
  2586. * @namespace ebl
  2587. * @var string
  2588. */
  2589. public $ReturnURL;
  2590. /**
  2591. * URL to which the customer is returned if he does not approve
  2592. * the use of PayPal login. Required Character length and
  2593. * limitations: no limit
  2594. * @access public
  2595. * @namespace ebl
  2596. * @var string
  2597. */
  2598. public $CancelURL;
  2599. /**
  2600. * URL to which the customer's browser is returned after user
  2601. * logs out from PayPal. Required Character length and
  2602. * limitations: no limit.
  2603. * @access public
  2604. * @namespace ebl
  2605. * @var string
  2606. */
  2607. public $LogoutURL;
  2608. /**
  2609. * The type of the flow. Optional Character length and
  2610. * limitations: 127 single-byte alphanumeric characters
  2611. * @access public
  2612. * @namespace ebl
  2613. * @var string
  2614. */
  2615. public $InitFlowType;
  2616. /**
  2617. * The used to decide SkipLogin allowed or not. Optional
  2618. * Character length and limitations: 127 single-byte
  2619. * alphanumeric characters
  2620. * @access public
  2621. * @namespace ebl
  2622. * @var string
  2623. */
  2624. public $SkipLoginPage;
  2625. /**
  2626. * The name of the field Merchant requires from PayPal after
  2627. * user's login. Optional Character length and limitations: 256
  2628. * single-byte alphanumeric characters
  2629. * @access public
  2630. * @namespace ebl
  2631. * @var string
  2632. */
  2633. public $ServiceName1;
  2634. /**
  2635. * Whether the field is required, opt-in or opt-out. Optional
  2636. * Character length and limitations: 127 single-byte
  2637. * alphanumeric characters
  2638. * @access public
  2639. * @namespace ebl
  2640. * @var string
  2641. */
  2642. public $ServiceDefReq1;
  2643. /**
  2644. * The name of the field Merchant requires from PayPal after
  2645. * user's login. Optional Character length and limitations: 256
  2646. * single-byte alphanumeric characters
  2647. * @access public
  2648. * @namespace ebl
  2649. * @var string
  2650. */
  2651. public $ServiceName2;
  2652. /**
  2653. * Whether the field is required, opt-in or opt-out. Optional
  2654. * Character length and limitations: 127 single-byte
  2655. * alphanumeric characters
  2656. * @access public
  2657. * @namespace ebl
  2658. * @var string
  2659. */
  2660. public $ServiceDefReq2;
  2661. /**
  2662. * Locale of pages displayed by PayPal during Authentication
  2663. * Login. Optional Character length and limitations: Five
  2664. * single-byte alphabetic characters, upper- or lowercase.
  2665. * Allowable values: AU or en_AUDE or de_DEFR or fr_FRGB or
  2666. * en_GBIT or it_ITJP or ja_JPUS or en_US
  2667. * @access public
  2668. * @namespace ebl
  2669. * @var string
  2670. */
  2671. public $LocaleCode;
  2672. /**
  2673. * Sets the Custom Payment Page Style for flow pages associated
  2674. * with this button/link. PageStyle corresponds to the HTML
  2675. * variable page_style for customizing flow pages. The value is
  2676. * the same as the Page Style Name you chose when adding or
  2677. * editing the page style from the Profile subtab of the My
  2678. * Account tab of your PayPal account. Optional Character
  2679. * length and limitations: 30 single-byte alphabetic
  2680. * characters.
  2681. * @access public
  2682. * @namespace ebl
  2683. * @var string
  2684. */
  2685. public $PageStyle;
  2686. /**
  2687. * A URL for the image you want to appear at the top left of
  2688. * the flow page. The image has a maximum size of 750 pixels
  2689. * wide by 90 pixels high. PayPal recommends that you provide
  2690. * an image that is stored on a secure (https) server. Optional
  2691. * Character length and limitations: 127
  2692. * @access public
  2693. * @namespace ebl
  2694. * @name cpp-header-image
  2695. * @var string
  2696. */
  2697. public $cppheaderimage;
  2698. /**
  2699. * Sets the border color around the header of the flow page.
  2700. * The border is a 2-pixel perimeter around the header space,
  2701. * which is 750 pixels wide by 90 pixels high. Optional
  2702. * Character length and limitations: Six character HTML
  2703. * hexadecimal color code in ASCII
  2704. * @access public
  2705. * @namespace ebl
  2706. * @name cpp-header-border-color
  2707. * @var string
  2708. */
  2709. public $cppheaderbordercolor;
  2710. /**
  2711. * Sets the background color for the header of the flow page.
  2712. * Optional Character length and limitation: Six character HTML
  2713. * hexadecimal color code in ASCII
  2714. * @access public
  2715. * @namespace ebl
  2716. * @name cpp-header-back-color
  2717. * @var string
  2718. */
  2719. public $cppheaderbackcolor;
  2720. /**
  2721. * Sets the background color for the payment page. Optional
  2722. * Character length and limitation: Six character HTML
  2723. * hexadecimal color code in ASCII
  2724. * @access public
  2725. * @namespace ebl
  2726. * @name cpp-payflow-color
  2727. * @var string
  2728. */
  2729. public $cpppayflowcolor;
  2730. /**
  2731. * First Name of the user, this information is used if user
  2732. * chooses to signup with PayPal. Optional Character length and
  2733. * limitation: Six character HTML hexadecimal color code in
  2734. * ASCII
  2735. * @access public
  2736. * @namespace ebl
  2737. * @var string
  2738. */
  2739. public $FirstName;
  2740. /**
  2741. * Last Name of the user, this information is used if user
  2742. * chooses to signup with PayPal. Optional Character length and
  2743. * limitation: Six character HTML hexadecimal color code in
  2744. * ASCII
  2745. * @access public
  2746. * @namespace ebl
  2747. * @var string
  2748. */
  2749. public $LastName;
  2750. /**
  2751. * User address, this information is used when user chooses to
  2752. * signup for PayPal. Optional If you include a shipping
  2753. * address and set the AddressOverride element on the request,
  2754. * PayPal returns this same address in
  2755. * GetExpressCheckoutDetailsResponse.
  2756. * @access public
  2757. * @namespace ebl
  2758. * @var AddressType
  2759. */
  2760. public $Address;
  2761. }
  2762. /**
  2763. * The first name of the User. Character length and
  2764. * limitations: 127 single-byte alphanumeric characters
  2765. */
  2766. class GetAuthDetailsResponseDetailsType
  2767. extends PPXmlMessage{
  2768. /**
  2769. * The first name of the User. Character length and
  2770. * limitations: 127 single-byte alphanumeric characters
  2771. * @access public
  2772. * @namespace ebl
  2773. * @var string
  2774. */
  2775. public $FirstName;
  2776. /**
  2777. * The Last name of the user. Character length and limitations:
  2778. * 127 single-byte alphanumeric characters
  2779. * @access public
  2780. * @namespace ebl
  2781. * @var string
  2782. */
  2783. public $LastName;
  2784. /**
  2785. * The email address of the user. Character length and
  2786. * limitations: 256 single-byte alphanumeric characters.
  2787. * @access public
  2788. * @namespace ebl
  2789. * @var string
  2790. */
  2791. public $Email;
  2792. /**
  2793. * Encrypted PayPal customer account identification number.
  2794. * Required Character length and limitations: 127 single-byte
  2795. * characters.
  2796. * @access public
  2797. * @namespace ebl
  2798. * @var string
  2799. */
  2800. public $PayerID;
  2801. }
  2802. /**
  2803. * URL to which the customer's browser is returned after
  2804. * choosing to login with PayPal. Required Character length and
  2805. * limitations: no limit.
  2806. */
  2807. class SetAccessPermissionsRequestDetailsType
  2808. extends PPXmlMessage{
  2809. /**
  2810. * URL to which the customer's browser is returned after
  2811. * choosing to login with PayPal. Required Character length and
  2812. * limitations: no limit.
  2813. * @access public
  2814. * @namespace ebl
  2815. * @var string
  2816. */
  2817. public $ReturnURL;
  2818. /**
  2819. * URL to which the customer is returned if he does not approve
  2820. * the use of PayPal login. Required Character length and
  2821. * limitations: no limit
  2822. * @access public
  2823. * @namespace ebl
  2824. * @var string
  2825. */
  2826. public $CancelURL;
  2827. /**
  2828. * URL to which the customer's browser is returned after user
  2829. * logs out from PayPal. Required Character length and
  2830. * limitations: no limit.
  2831. * @access public
  2832. * @namespace ebl
  2833. * @var string
  2834. */
  2835. public $LogoutURL;
  2836. /**
  2837. * The type of the flow. Optional Character length and
  2838. * limitations: 127 single-byte alphanumeric characters
  2839. * @access public
  2840. * @namespace ebl
  2841. * @var string
  2842. */
  2843. public $InitFlowType;
  2844. /**
  2845. * The used to decide SkipLogin allowed or not. Optional
  2846. * Character length and limitations: 127 single-byte
  2847. * alphanumeric characters
  2848. * @access public
  2849. * @namespace ebl
  2850. * @var string
  2851. */
  2852. public $SkipLoginPage;
  2853. /**
  2854. * contains information about API Services
  2855. * @array
  2856. * @access public
  2857. * @namespace ebl
  2858. * @var string
  2859. */
  2860. public $RequiredAccessPermissions;
  2861. /**
  2862. * contains information about API Services
  2863. * @array
  2864. * @access public
  2865. * @namespace ebl
  2866. * @var string
  2867. */
  2868. public $OptionalAccessPermissions;
  2869. /**
  2870. * Locale of pages displayed by PayPal during Authentication
  2871. * Login. Optional Character length and limitations: Five
  2872. * single-byte alphabetic characters, upper- or lowercase.
  2873. * Allowable values: AU or en_AUDE or de_DEFR or fr_FRGB or
  2874. * en_GBIT or it_ITJP or ja_JPUS or en_US
  2875. * @access public
  2876. * @namespace ebl
  2877. * @var string
  2878. */
  2879. public $LocaleCode;
  2880. /**
  2881. * Sets the Custom Payment Page Style for flow pages associated
  2882. * with this button/link. PageStyle corresponds to the HTML
  2883. * variable page_style for customizing flow pages. The value is
  2884. * the same as the Page Style Name you chose when adding or
  2885. * editing the page style from the Profile subtab of the My
  2886. * Account tab of your PayPal account. Optional Character
  2887. * length and limitations: 30 single-byte alphabetic
  2888. * characters.
  2889. * @access public
  2890. * @namespace ebl
  2891. * @var string
  2892. */
  2893. public $PageStyle;
  2894. /**
  2895. * A URL for the image you want to appear at the top left of
  2896. * the flow page. The image has a maximum size of 750 pixels
  2897. * wide by 90 pixels high. PayPal recommends that you provide
  2898. * an image that is stored on a secure (https) server. Optional
  2899. * Character length and limitations: 127
  2900. * @access public
  2901. * @namespace ebl
  2902. * @name cpp-header-image
  2903. * @var string
  2904. */
  2905. public $cppheaderimage;
  2906. /**
  2907. * Sets the border color around the header of the flow page.
  2908. * The border is a 2-pixel perimeter around the header space,
  2909. * which is 750 pixels wide by 90 pixels high. Optional
  2910. * Character length and limitations: Six character HTML
  2911. * hexadecimal color code in ASCII
  2912. * @access public
  2913. * @namespace ebl
  2914. * @name cpp-header-border-color
  2915. * @var string
  2916. */
  2917. public $cppheaderbordercolor;
  2918. /**
  2919. * Sets the background color for the header of the flow page.
  2920. * Optional Character length and limitation: Six character HTML
  2921. * hexadecimal color code in ASCII
  2922. * @access public
  2923. * @namespace ebl
  2924. * @name cpp-header-back-color
  2925. * @var string
  2926. */
  2927. public $cppheaderbackcolor;
  2928. /**
  2929. * Sets the background color for the payment page. Optional
  2930. * Character length and limitation: Six character HTML
  2931. * hexadecimal color code in ASCII
  2932. * @access public
  2933. * @namespace ebl
  2934. * @name cpp-payflow-color
  2935. * @var string
  2936. */
  2937. public $cpppayflowcolor;
  2938. /**
  2939. * First Name of the user, this information is used if user
  2940. * chooses to signup with PayPal. Optional Character length and
  2941. * limitation: Six character HTML hexadecimal color code in
  2942. * ASCII
  2943. * @access public
  2944. * @namespace ebl
  2945. * @var string
  2946. */
  2947. public $FirstName;
  2948. /**
  2949. * Last Name of the user, this information is used if user
  2950. * chooses to signup with PayPal. Optional Character length and
  2951. * limitation: Six character HTML hexadecimal color code in
  2952. * ASCII
  2953. * @access public
  2954. * @namespace ebl
  2955. * @var string
  2956. */
  2957. public $LastName;
  2958. /**
  2959. * User address, this information is used when user chooses to
  2960. * signup for PayPal. Optional If you include a shipping
  2961. * address and set the AddressOverride element on the request,
  2962. * PayPal returns this same address in
  2963. * GetExpressCheckoutDetailsResponse.
  2964. * @access public
  2965. * @namespace ebl
  2966. * @var AddressType
  2967. */
  2968. public $Address;
  2969. }
  2970. /**
  2971. * The first name of the User. Character length and
  2972. * limitations: 127 single-byte alphanumeric characters
  2973. */
  2974. class GetAccessPermissionDetailsResponseDetailsType
  2975. extends PPXmlMessage{
  2976. /**
  2977. * The first name of the User. Character length and
  2978. * limitations: 127 single-byte alphanumeric characters
  2979. * @access public
  2980. * @namespace ebl
  2981. * @var string
  2982. */
  2983. public $FirstName;
  2984. /**
  2985. * The Last name of the user. Character length and limitations:
  2986. * 127 single-byte alphanumeric characters
  2987. * @access public
  2988. * @namespace ebl
  2989. * @var string
  2990. */
  2991. public $LastName;
  2992. /**
  2993. * The email address of the user. Character length and
  2994. * limitations: 256 single-byte alphanumeric characters.
  2995. * @access public
  2996. * @namespace ebl
  2997. * @var string
  2998. */
  2999. public $Email;
  3000. /**
  3001. * contains information about API Services
  3002. * @array
  3003. * @access public
  3004. * @namespace ebl
  3005. * @var string
  3006. */
  3007. public $AccessPermissionName;
  3008. /**
  3009. * contains information about API Services
  3010. * @array
  3011. * @access public
  3012. * @namespace ebl
  3013. * @var string
  3014. */
  3015. public $AccessPermissionStatus;
  3016. /**
  3017. * Encrypted PayPal customer account identification number.
  3018. * Required Character length and limitations: 127 single-byte
  3019. * characters.
  3020. * @access public
  3021. * @namespace ebl
  3022. * @var string
  3023. */
  3024. public $PayerID;
  3025. }
  3026. /**
  3027. *
  3028. */
  3029. class BAUpdateResponseDetailsType
  3030. extends PPXmlMessage{
  3031. /**
  3032. *
  3033. * @access public
  3034. * @namespace ebl
  3035. * @var string
  3036. */
  3037. public $BillingAgreementID;
  3038. /**
  3039. *
  3040. * @access public
  3041. * @namespace ebl
  3042. * @var string
  3043. */
  3044. public $BillingAgreementDescription;
  3045. /**
  3046. *
  3047. * @access public
  3048. * @namespace ebl
  3049. * @var string
  3050. */
  3051. public $BillingAgreementStatus;
  3052. /**
  3053. *
  3054. * @access public
  3055. * @namespace ebl
  3056. * @var string
  3057. */
  3058. public $BillingAgreementCustom;
  3059. /**
  3060. *
  3061. * @access public
  3062. * @namespace ebl
  3063. * @var PayerInfoType
  3064. */
  3065. public $PayerInfo;
  3066. /**
  3067. *
  3068. * @access public
  3069. * @namespace ebl
  3070. * @var BasicAmountType
  3071. */
  3072. public $BillingAgreementMax;
  3073. /**
  3074. * Customer's billing address. Optional If you have credit card
  3075. * mapped in your account then billing address of the credit
  3076. * card is returned otherwise your primary address is returned
  3077. * , PayPal returns this address in BAUpdateResponseDetails.
  3078. * @access public
  3079. * @namespace ebl
  3080. * @var AddressType
  3081. */
  3082. public $BillingAddress;
  3083. }
  3084. /**
  3085. * MerchantPullPaymentResponseType Response data from the
  3086. * merchant pull.
  3087. */
  3088. class MerchantPullPaymentResponseType
  3089. extends PPXmlMessage{
  3090. /**
  3091. * information about the customer
  3092. * @access public
  3093. * @namespace ebl
  3094. * @var PayerInfoType
  3095. */
  3096. public $PayerInfo;
  3097. /**
  3098. * Information about the transaction
  3099. * @access public
  3100. * @namespace ebl
  3101. * @var PaymentInfoType
  3102. */
  3103. public $PaymentInfo;
  3104. /**
  3105. * Specific information about the preapproved payment
  3106. * @access public
  3107. * @namespace ebl
  3108. * @var MerchantPullInfoType
  3109. */
  3110. public $MerchantPullInfo;
  3111. }
  3112. /**
  3113. * MerchantPullInfoType Information about the merchant pull.
  3114. */
  3115. class MerchantPullInfoType
  3116. extends PPXmlMessage{
  3117. /**
  3118. * Current status of billing agreement
  3119. * @access public
  3120. * @namespace ebl
  3121. * @var string
  3122. */
  3123. public $MpStatus;
  3124. /**
  3125. * Monthly maximum payment amount
  3126. * @access public
  3127. * @namespace ebl
  3128. * @var BasicAmountType
  3129. */
  3130. public $MpMax;
  3131. /**
  3132. * The value of the mp_custom variable that you specified in a
  3133. * FORM submission to PayPal during the creation or updating of
  3134. * a customer billing agreement
  3135. * @access public
  3136. * @namespace ebl
  3137. * @var string
  3138. */
  3139. public $MpCustom;
  3140. /**
  3141. * The value of the mp_desc variable (description of goods or
  3142. * services) associated with the billing agreement
  3143. * @access public
  3144. * @namespace ebl
  3145. * @var string
  3146. */
  3147. public $Desc;
  3148. /**
  3149. * Invoice value as set by BillUserRequest API call
  3150. * @access public
  3151. * @namespace ebl
  3152. * @var string
  3153. */
  3154. public $Invoice;
  3155. /**
  3156. * Custom field as set by BillUserRequest API call
  3157. * @access public
  3158. * @namespace ebl
  3159. * @var string
  3160. */
  3161. public $Custom;
  3162. /**
  3163. * Note: This field is no longer used and is always empty.
  3164. * @access public
  3165. * @namespace ebl
  3166. * @var string
  3167. */
  3168. public $PaymentSourceID;
  3169. }
  3170. /**
  3171. * PaymentTransactionSearchResultType Results from a
  3172. * PaymentTransaction search
  3173. */
  3174. class PaymentTransactionSearchResultType
  3175. extends PPXmlMessage{
  3176. /**
  3177. * The date and time (in UTC/GMT format) the transaction
  3178. * occurred
  3179. * @access public
  3180. * @namespace ebl
  3181. * @var dateTime
  3182. */
  3183. public $Timestamp;
  3184. /**
  3185. * The time zone of the transaction
  3186. * @access public
  3187. * @namespace ebl
  3188. * @var string
  3189. */
  3190. public $Timezone;
  3191. /**
  3192. * The type of the transaction
  3193. * @access public
  3194. * @namespace ebl
  3195. * @var string
  3196. */
  3197. public $Type;
  3198. /**
  3199. * The email address of the payer
  3200. * @access public
  3201. * @namespace ebl
  3202. * @var string
  3203. */
  3204. public $Payer;
  3205. /**
  3206. * Display name of the payer
  3207. * @access public
  3208. * @namespace ebl
  3209. * @var string
  3210. */
  3211. public $PayerDisplayName;
  3212. /**
  3213. * The transaction ID of the seller
  3214. * @access public
  3215. * @namespace ebl
  3216. * @var string
  3217. */
  3218. public $TransactionID;
  3219. /**
  3220. * The status of the transaction
  3221. * @access public
  3222. * @namespace ebl
  3223. * @var string
  3224. */
  3225. public $Status;
  3226. /**
  3227. * The total gross amount charged, including any profile
  3228. * shipping cost and taxes
  3229. * @access public
  3230. * @namespace ebl
  3231. * @var BasicAmountType
  3232. */
  3233. public $GrossAmount;
  3234. /**
  3235. * The fee that PayPal charged for the transaction
  3236. * @access public
  3237. * @namespace ebl
  3238. * @var BasicAmountType
  3239. */
  3240. public $FeeAmount;
  3241. /**
  3242. * The net amount of the transaction
  3243. * @access public
  3244. * @namespace ebl
  3245. * @var BasicAmountType
  3246. */
  3247. public $NetAmount;
  3248. }
  3249. /**
  3250. * MerchantPullPayment Parameters to make initiate a pull
  3251. * payment
  3252. */
  3253. class MerchantPullPaymentType
  3254. extends PPXmlMessage{
  3255. /**
  3256. * The amount to charge to the customer. Required Only numeric
  3257. * characters and a decimal separator are allowed. Limit: 10
  3258. * single-byte characters, including two for decimals You must
  3259. * set the currencyID attribute to one of the three-character
  3260. * currency code for any of the supported PayPal currencies.
  3261. * @access public
  3262. * @namespace ebl
  3263. * @var BasicAmountType
  3264. */
  3265. public $Amount;
  3266. /**
  3267. * Preapproved Payments billing agreement identification number
  3268. * between the PayPal customer and you. Required Character
  3269. * limit: 19 single-byte alphanumeric characters. The format of
  3270. * a billing agreement identification number is the
  3271. * single-character prefix B, followed by a hyphen and an
  3272. * alphanumeric character string: B-unique_alphanumeric_string
  3273. * @access public
  3274. * @namespace ebl
  3275. * @var string
  3276. */
  3277. public $MpID;
  3278. /**
  3279. * Specifies type of PayPal payment you require Optional
  3280. * @access public
  3281. * @namespace ebl
  3282. * @var string
  3283. */
  3284. public $PaymentType;
  3285. /**
  3286. * Text entered by the customer in the Note field during
  3287. * enrollment Optional
  3288. * @access public
  3289. * @namespace ebl
  3290. * @var string
  3291. */
  3292. public $Memo;
  3293. /**
  3294. * Subject line of confirmation email sent to recipient
  3295. * Optional
  3296. * @access public
  3297. * @namespace ebl
  3298. * @var string
  3299. */
  3300. public $EmailSubject;
  3301. /**
  3302. * The tax charged on the transaction Optional
  3303. * @access public
  3304. * @namespace ebl
  3305. * @var BasicAmountType
  3306. */
  3307. public $Tax;
  3308. /**
  3309. * Per-transaction shipping charge Optional
  3310. * @access public
  3311. * @namespace ebl
  3312. * @var BasicAmountType
  3313. */
  3314. public $Shipping;
  3315. /**
  3316. * Per-transaction handling charge Optional
  3317. * @access public
  3318. * @namespace ebl
  3319. * @var BasicAmountType
  3320. */
  3321. public $Handling;
  3322. /**
  3323. * Name of purchased item Optional
  3324. * @access public
  3325. * @namespace ebl
  3326. * @var string
  3327. */
  3328. public $ItemName;
  3329. /**
  3330. * Reference number of purchased item Optional
  3331. * @access public
  3332. * @namespace ebl
  3333. * @var string
  3334. */
  3335. public $ItemNumber;
  3336. /**
  3337. * Your invoice number Optional
  3338. * @access public
  3339. * @namespace ebl
  3340. * @var string
  3341. */
  3342. public $Invoice;
  3343. /**
  3344. * Custom annotation field for tracking or other use Optional
  3345. * @access public
  3346. * @namespace ebl
  3347. * @var string
  3348. */
  3349. public $Custom;
  3350. /**
  3351. * An identification code for use by third-party applications
  3352. * to identify transactions. Optional Character length and
  3353. * limitations: 32 single-byte alphanumeric characters
  3354. * @access public
  3355. * @namespace ebl
  3356. * @var string
  3357. */
  3358. public $ButtonSource;
  3359. /**
  3360. * Passed in soft descriptor string to be appended. Optional
  3361. * Character length and limitations: single-byte alphanumeric
  3362. * characters
  3363. * @access public
  3364. * @namespace ebl
  3365. * @var string
  3366. */
  3367. public $SoftDescriptor;
  3368. }
  3369. /**
  3370. * PaymentTransactionType Information about a PayPal payment
  3371. * from the seller side
  3372. */
  3373. class PaymentTransactionType
  3374. extends PPXmlMessage{
  3375. /**
  3376. * Information about the recipient of the payment
  3377. * @access public
  3378. * @namespace ebl
  3379. * @var ReceiverInfoType
  3380. */
  3381. public $ReceiverInfo;
  3382. /**
  3383. * Information about the payer
  3384. * @access public
  3385. * @namespace ebl
  3386. * @var PayerInfoType
  3387. */
  3388. public $PayerInfo;
  3389. /**
  3390. * This field is for holding ReferenceId for shippment sent
  3391. * from Merchant to the 3rd Party
  3392. * @access public
  3393. * @namespace ebl
  3394. * @var string
  3395. */
  3396. public $TPLReferenceID;
  3397. /**
  3398. * Information about the transaction
  3399. * @access public
  3400. * @namespace ebl
  3401. * @var PaymentInfoType
  3402. */
  3403. public $PaymentInfo;
  3404. /**
  3405. * Information about an individual item in the transaction
  3406. * @access public
  3407. * @namespace ebl
  3408. * @var PaymentItemInfoType
  3409. */
  3410. public $PaymentItemInfo;
  3411. /**
  3412. * Information about an individual Offer and Coupon information
  3413. * in the transaction
  3414. * @access public
  3415. * @namespace ebl
  3416. * @var OfferCouponInfoType
  3417. */
  3418. public $OfferCouponInfo;
  3419. /**
  3420. * Information about Secondary Address
  3421. * @access public
  3422. * @namespace ebl
  3423. * @var AddressType
  3424. */
  3425. public $SecondaryAddress;
  3426. /**
  3427. * Information about the user selected options.
  3428. * @access public
  3429. * @namespace ebl
  3430. * @var UserSelectedOptionType
  3431. */
  3432. public $UserSelectedOptions;
  3433. /**
  3434. * Information about the Gift message.
  3435. * @access public
  3436. * @namespace ebl
  3437. * @var string
  3438. */
  3439. public $GiftMessage;
  3440. /**
  3441. * Information about the Gift receipt.
  3442. * @access public
  3443. * @namespace ebl
  3444. * @var string
  3445. */
  3446. public $GiftReceipt;
  3447. /**
  3448. * Information about the Gift Wrap name.
  3449. * @access public
  3450. * @namespace ebl
  3451. * @var string
  3452. */
  3453. public $GiftWrapName;
  3454. /**
  3455. * Information about the Gift Wrap amount.
  3456. * @access public
  3457. * @namespace ebl
  3458. * @var BasicAmountType
  3459. */
  3460. public $GiftWrapAmount;
  3461. /**
  3462. * Information about the Buyer email.
  3463. * @access public
  3464. * @namespace ebl
  3465. * @var string
  3466. */
  3467. public $BuyerEmailOptIn;
  3468. /**
  3469. * Information about the survey question.
  3470. * @access public
  3471. * @namespace ebl
  3472. * @var string
  3473. */
  3474. public $SurveyQuestion;
  3475. /**
  3476. * Information about the survey choice selected by the user.
  3477. * @array
  3478. * @access public
  3479. * @namespace ebl
  3480. * @var string
  3481. */
  3482. public $SurveyChoiceSelected;
  3483. }
  3484. /**
  3485. * ReceiverInfoType Receiver information.
  3486. */
  3487. class ReceiverInfoType
  3488. extends PPXmlMessage{
  3489. /**
  3490. * Email address or account ID of the payment recipient (the
  3491. * seller). Equivalent to Receiver if payment is sent to
  3492. * primary account. Character length and limitations: 127
  3493. * single-byte alphanumeric characters
  3494. * @access public
  3495. * @namespace ebl
  3496. * @var string
  3497. */
  3498. public $Business;
  3499. /**
  3500. * Primary email address of the payment recipient (the seller).
  3501. * If you are the recipient of the payment and the payment is
  3502. * sent to your non-primary email address, the value of
  3503. * Receiver is still your primary email address. Character
  3504. * length and limitations: 127 single-byte alphanumeric
  3505. * characters
  3506. * @access public
  3507. * @namespace ebl
  3508. * @var string
  3509. */
  3510. public $Receiver;
  3511. /**
  3512. * Unique account ID of the payment recipient (the seller).
  3513. * This value is the same as the value of the recipient's
  3514. * referral ID.
  3515. * @access public
  3516. * @namespace ebl
  3517. * @var string
  3518. */
  3519. public $ReceiverID;
  3520. }
  3521. /**
  3522. * PayerInfoType Payer information
  3523. */
  3524. class PayerInfoType
  3525. extends PPXmlMessage{
  3526. /**
  3527. * Email address of payer Character length and limitations: 127
  3528. * single-byte characters
  3529. * @access public
  3530. * @namespace ebl
  3531. * @var string
  3532. */
  3533. public $Payer;
  3534. /**
  3535. * Unique customer ID Character length and limitations: 17
  3536. * single-byte characters
  3537. * @access public
  3538. * @namespace ebl
  3539. * @var string
  3540. */
  3541. public $PayerID;
  3542. /**
  3543. * Status of payer's email address
  3544. * @access public
  3545. * @namespace ebl
  3546. * @var string
  3547. */
  3548. public $PayerStatus;
  3549. /**
  3550. * Name of payer
  3551. * @access public
  3552. * @namespace ebl
  3553. * @var PersonNameType
  3554. */
  3555. public $PayerName;
  3556. /**
  3557. * Payment sender's country of residence using standard
  3558. * two-character ISO 3166 country codes. Character length and
  3559. * limitations: Two single-byte characters
  3560. * @access public
  3561. * @namespace ebl
  3562. * @var string
  3563. */
  3564. public $PayerCountry;
  3565. /**
  3566. * Payer's business name. Character length and limitations: 127
  3567. * single-byte characters
  3568. * @access public
  3569. * @namespace ebl
  3570. * @var string
  3571. */
  3572. public $PayerBusiness;
  3573. /**
  3574. * Payer's business address
  3575. * @access public
  3576. * @namespace ebl
  3577. * @var AddressType
  3578. */
  3579. public $Address;
  3580. /**
  3581. * Business contact telephone number
  3582. * @access public
  3583. * @namespace ebl
  3584. * @var string
  3585. */
  3586. public $ContactPhone;
  3587. /**
  3588. * Details about payer's tax info. Refer to the
  3589. * TaxIdDetailsType for more details.
  3590. * @access public
  3591. * @namespace ebl
  3592. * @var TaxIdDetailsType
  3593. */
  3594. public $TaxIdDetails;
  3595. /**
  3596. * Holds any enhanced information about the payer
  3597. * @access public
  3598. * @namespace ebl
  3599. * @var EnhancedPayerInfoType
  3600. */
  3601. public $EnhancedPayerInfo;
  3602. }
  3603. /**
  3604. * InstrumentDetailsType Promotional Instrument Information.
  3605. */
  3606. class InstrumentDetailsType
  3607. extends PPXmlMessage{
  3608. /**
  3609. * This field holds the category of the instrument only when it
  3610. * is promotional. Return value 1 represents BML.
  3611. * @access public
  3612. * @namespace ebl
  3613. * @var string
  3614. */
  3615. public $InstrumentCategory;
  3616. }
  3617. /**
  3618. * BMLOfferInfoType Specific information for BML.
  3619. */
  3620. class BMLOfferInfoType
  3621. extends PPXmlMessage{
  3622. /**
  3623. * Unique identification for merchant/buyer/offer combo.
  3624. * @access public
  3625. * @namespace ebl
  3626. * @var string
  3627. */
  3628. public $OfferTrackingID;
  3629. }
  3630. /**
  3631. * OfferDetailsType Specific information for an offer.
  3632. */
  3633. class OfferDetailsType
  3634. extends PPXmlMessage{
  3635. /**
  3636. * Code used to identify the promotion offer.
  3637. * @access public
  3638. * @namespace ebl
  3639. * @var string
  3640. */
  3641. public $OfferCode;
  3642. /**
  3643. * Specific infromation for BML, Similar structure could be
  3644. * added for sepcific promotion needs like CrossPromotions
  3645. * @access public
  3646. * @namespace ebl
  3647. * @var BMLOfferInfoType
  3648. */
  3649. public $BMLOfferInfo;
  3650. }
  3651. /**
  3652. * PaymentInfoType Payment information.
  3653. */
  3654. class PaymentInfoType
  3655. extends PPXmlMessage{
  3656. /**
  3657. * A transaction identification number. Character length and
  3658. * limits: 19 single-byte characters maximum
  3659. * @access public
  3660. * @namespace ebl
  3661. * @var string
  3662. */
  3663. public $TransactionID;
  3664. /**
  3665. * Its Ebay transaction id. EbayTransactionID will returned for
  3666. * immediate pay item transaction in ECA
  3667. * @access public
  3668. * @namespace ebl
  3669. * @var string
  3670. */
  3671. public $EbayTransactionID;
  3672. /**
  3673. * Parent or related transaction identification number. This
  3674. * field is populated for the following transaction types:
  3675. * ReversalCapture of an authorized transaction.Reauthorization
  3676. * of a transaction.Capture of an order. The value of
  3677. * ParentTransactionID is the original OrderID.Authorization of
  3678. * an order. The value of ParentTransactionID is the original
  3679. * OrderID.Capture of an order authorization.Void of an order.
  3680. * The value of ParentTransactionID is the original OrderID.
  3681. * Character length and limits: 19 single-byte characters
  3682. * maximum
  3683. * @access public
  3684. * @namespace ebl
  3685. * @var string
  3686. */
  3687. public $ParentTransactionID;
  3688. /**
  3689. * Receipt ID Character length and limitations: 16 digits in
  3690. * xxxx-xxxx-xxxx-xxxx format
  3691. * @access public
  3692. * @namespace ebl
  3693. * @var string
  3694. */
  3695. public $ReceiptID;
  3696. /**
  3697. * The type of transaction cart: Transaction created via the
  3698. * PayPal Shopping Cart feature or by Express Checkout with
  3699. * multiple purchased item express-checkout: Transaction
  3700. * created by Express Checkout with a single purchased items
  3701. * send-money: Transaction created by customer from the Send
  3702. * Money tab on the PayPal website. web-accept: Transaction
  3703. * created by customer via Buy Now, Donation, or Auction Smart
  3704. * Logos. subscr-*: Transaction created by customer via
  3705. * Subscription. eot means "end of subscription term."
  3706. * merch-pmt: preapproved payment. mass-pay: Transaction
  3707. * created via MassPay. virtual-terminal: Transaction created
  3708. * via merchant virtual terminal. credit: Transaction created
  3709. * via merchant virtual terminal or API to credit a customer.
  3710. * @access public
  3711. * @namespace ebl
  3712. * @var string
  3713. */
  3714. public $TransactionType;
  3715. /**
  3716. * The type of payment
  3717. * @access public
  3718. * @namespace ebl
  3719. * @var string
  3720. */
  3721. public $PaymentType;
  3722. /**
  3723. * The type of funding source
  3724. * @access public
  3725. * @namespace ebl
  3726. * @var string
  3727. */
  3728. public $RefundSourceCodeType;
  3729. /**
  3730. * eCheck latest expected clear date
  3731. * @access public
  3732. * @namespace ebl
  3733. * @var dateTime
  3734. */
  3735. public $ExpectedeCheckClearDate;
  3736. /**
  3737. * Date and time of payment
  3738. * @access public
  3739. * @namespace ebl
  3740. * @var dateTime
  3741. */
  3742. public $PaymentDate;
  3743. /**
  3744. * Full amount of the customer's payment, before transaction
  3745. * fee is subtracted
  3746. * @access public
  3747. * @namespace ebl
  3748. * @var BasicAmountType
  3749. */
  3750. public $GrossAmount;
  3751. /**
  3752. * Transaction fee associated with the payment
  3753. * @access public
  3754. * @namespace ebl
  3755. * @var BasicAmountType
  3756. */
  3757. public $FeeAmount;
  3758. /**
  3759. * Amount deposited into the account's primary balance after a
  3760. * currency conversion from automatic conversion through your
  3761. * Payment Receiving Preferences or manual conversion through
  3762. * manually accepting a payment. This amount is calculated
  3763. * after fees and taxes have been assessed.
  3764. * @access public
  3765. * @namespace ebl
  3766. * @var BasicAmountType
  3767. */
  3768. public $SettleAmount;
  3769. /**
  3770. * Amount of tax for transaction
  3771. * @access public
  3772. * @namespace ebl
  3773. * @var BasicAmountType
  3774. */
  3775. public $TaxAmount;
  3776. /**
  3777. * Exchange rate for transaction
  3778. * @access public
  3779. * @namespace ebl
  3780. * @var string
  3781. */
  3782. public $ExchangeRate;
  3783. /**
  3784. * The status of the payment: None: No status Created: A
  3785. * giropay payment has been initiated. Canceled-Reversal: A
  3786. * reversal has been canceled. For example, you won a dispute
  3787. * with the customer, and the funds for the transaction that
  3788. * was reversed have been returned to you. Completed: The
  3789. * payment has been completed, and the funds have been added
  3790. * successfully to your account balance. Denied: You denied the
  3791. * payment. This happens only if the payment was previously
  3792. * pending because of possible reasons described for the
  3793. * PendingReason element. Expired: This authorization has
  3794. * expired and cannot be captured. Failed: The payment has
  3795. * failed. This happens only if the payment was made from your
  3796. * customer's bank account. In-Progress: The transaction is in
  3797. * process of authorization and capture. Partially-Refunded:
  3798. * The transaction has been partially refunded. Pending: The
  3799. * payment is pending. See "PendingReason" for more
  3800. * information. Refunded: You refunded the payment. Reversed: A
  3801. * payment was reversed due to a chargeback or other type of
  3802. * reversal. The funds have been removed from your account
  3803. * balance and returned to the buyer. The reason for the
  3804. * reversal is specified in the ReasonCode element. Processed:
  3805. * A payment has been accepted. Voided: This authorization has
  3806. * been voided. Completed-Funds-Held: The payment has been
  3807. * completed, and the funds have been added successfully to
  3808. * your pending balance. See the "HoldDecision" field for more
  3809. * information.
  3810. * @access public
  3811. * @namespace ebl
  3812. * @var string
  3813. */
  3814. public $PaymentStatus;
  3815. /**
  3816. * The reason the payment is pending: none: No pending reason
  3817. * address: The payment is pending because your customer did
  3818. * not include a confirmed shipping address and your Payment
  3819. * Receiving Preferences is set such that you want to manually
  3820. * accept or deny each of these payments. To change your
  3821. * preference, go to the Preferences section of your Profile.
  3822. * authorization: You set PaymentAction to Authorization on
  3823. * SetExpressCheckoutRequest and have not yet captured funds.
  3824. * echeck: The payment is pending because it was made by an
  3825. * eCheck that has not yet cleared. intl: The payment is
  3826. * pending because you hold a non-U.S. account and do not have
  3827. * a withdrawal mechanism. You must manually accept or deny
  3828. * this payment from your Account Overview. multi-currency: You
  3829. * do not have a balance in the currency sent, and you do not
  3830. * have your Payment Receiving Preferences set to automatically
  3831. * convert and accept this payment. You must manually accept or
  3832. * deny this payment. unilateral: The payment is pending
  3833. * because it was made to an email address that is not yet
  3834. * registered or confirmed. upgrade: The payment is pending
  3835. * because it was made via credit card and you must upgrade
  3836. * your account to Business or Premier status in order to
  3837. * receive the funds. upgrade can also mean that you have
  3838. * reached the monthly limit for transactions on your account.
  3839. * verify: The payment is pending because you are not yet
  3840. * verified. You must verify your account before you can accept
  3841. * this payment. regulatory-review: This payment is pending
  3842. * while we make sure it meets regulatory requirements. We'll
  3843. * contact you again in 24-72 hours with the outcome of our
  3844. * review. other: The payment is pending for a reason other
  3845. * than those listed above. For more information, contact
  3846. * PayPal Customer Service.
  3847. * @access public
  3848. * @namespace ebl
  3849. * @var string
  3850. */
  3851. public $PendingReason;
  3852. /**
  3853. * The reason for a reversal if TransactionType is reversal:
  3854. * none: No reason code chargeback: A reversal has occurred on
  3855. * this transaction due to a chargeback by your customer.
  3856. * guarantee: A reversal has occurred on this transaction due
  3857. * to your customer triggering a money-back guarantee.
  3858. * buyer-complaint: A reversal has occurred on this transaction
  3859. * due to a complaint about the transaction from your customer.
  3860. * refund: A reversal has occurred on this transaction because
  3861. * you have given the customer a refund. other: A reversal has
  3862. * occurred on this transaction due to a reason not listed
  3863. * above.
  3864. * @access public
  3865. * @namespace ebl
  3866. * @var string
  3867. */
  3868. public $ReasonCode;
  3869. /**
  3870. * HoldDecision is returned in the response only if
  3871. * PaymentStatus is Completed-Funds-Held. The reason the funds
  3872. * are kept in pending balance: newsellerpaymenthold: The
  3873. * seller is new. paymenthold: A hold is placed on your
  3874. * transaction due to a reason not listed above.
  3875. * @access public
  3876. * @namespace ebl
  3877. * @var string
  3878. */
  3879. public $HoldDecision;
  3880. /**
  3881. * Shipping method selected by the user during check-out.
  3882. * @access public
  3883. * @namespace ebl
  3884. * @var string
  3885. */
  3886. public $ShippingMethod;
  3887. /**
  3888. * Protection Eligibility for this Transaction - None, SPP or
  3889. * ESPP
  3890. * @access public
  3891. * @namespace ebl
  3892. * @var string
  3893. */
  3894. public $ProtectionEligibility;
  3895. /**
  3896. * Protection Eligibility details for this Transaction
  3897. * @access public
  3898. * @namespace ebl
  3899. * @var string
  3900. */
  3901. public $ProtectionEligibilityType;
  3902. /**
  3903. * Receipt Reference Number for this Transaction
  3904. * @access public
  3905. * @namespace ebl
  3906. * @var string
  3907. */
  3908. public $ReceiptReferenceNumber;
  3909. /**
  3910. * The type of POS transaction F: Forced post transaction. POS
  3911. * merchant can send transactions at a later point if
  3912. * connectivity is lost. S: Single call checkout, and this is
  3913. * to identify PayPal Lite API usage.
  3914. * @access public
  3915. * @namespace ebl
  3916. * @var string
  3917. */
  3918. public $POSTransactionType;
  3919. /**
  3920. * Amount of shipping charged on transaction
  3921. * @access public
  3922. * @namespace ebl
  3923. * @var string
  3924. */
  3925. public $ShipAmount;
  3926. /**
  3927. * Amount of ship handling charged on transaction
  3928. * @access public
  3929. * @namespace ebl
  3930. * @var string
  3931. */
  3932. public $ShipHandleAmount;
  3933. /**
  3934. * Amount of shipping discount on transaction
  3935. * @access public
  3936. * @namespace ebl
  3937. * @var string
  3938. */
  3939. public $ShipDiscount;
  3940. /**
  3941. * Amount of Insurance amount on transaction
  3942. * @access public
  3943. * @namespace ebl
  3944. * @var string
  3945. */
  3946. public $InsuranceAmount;
  3947. /**
  3948. * Subject as entered in the transaction
  3949. * @access public
  3950. * @namespace ebl
  3951. * @var string
  3952. */
  3953. public $Subject;
  3954. /**
  3955. * StoreID as entered in the transaction
  3956. * @access public
  3957. * @namespace ebl
  3958. * @var string
  3959. */
  3960. public $StoreID;
  3961. /**
  3962. * TerminalID as entered in the transaction
  3963. * @access public
  3964. * @namespace ebl
  3965. * @var string
  3966. */
  3967. public $TerminalID;
  3968. /**
  3969. * Details about the seller. Optional
  3970. * @access public
  3971. * @namespace ebl
  3972. * @var SellerDetailsType
  3973. */
  3974. public $SellerDetails;
  3975. /**
  3976. * Unique identifier and mandatory for each bucket in case of
  3977. * split payement
  3978. * @access public
  3979. * @namespace ebl
  3980. * @var string
  3981. */
  3982. public $PaymentRequestID;
  3983. /**
  3984. * Thes are filters that could result in accept/deny/pending
  3985. * action.
  3986. * @access public
  3987. * @namespace ebl
  3988. * @var FMFDetailsType
  3989. */
  3990. public $FMFDetails;
  3991. /**
  3992. * This will be enhanced info for the payment: Example: UATP
  3993. * details
  3994. * @access public
  3995. * @namespace ebl
  3996. * @var EnhancedPaymentInfoType
  3997. */
  3998. public $EnhancedPaymentInfo;
  3999. /**
  4000. * This will indicate the payment status for individual payment
  4001. * request in case of split payment
  4002. * @access public
  4003. * @namespace ebl
  4004. * @var ErrorType
  4005. */
  4006. public $PaymentError;
  4007. /**
  4008. * Type of the payment instrument.
  4009. * @access public
  4010. * @namespace ebl
  4011. * @var InstrumentDetailsType
  4012. */
  4013. public $InstrumentDetails;
  4014. /**
  4015. * Offer Details.
  4016. * @access public
  4017. * @namespace ebl
  4018. * @var OfferDetailsType
  4019. */
  4020. public $OfferDetails;
  4021. /**
  4022. * This field indicates whether the credit card number used for
  4023. * this transaction is in a particular bin range registered
  4024. * with PayPal by the merchant. This filed is optional and will
  4025. * be present if merchant has a registered bin range. The value
  4026. * of this field will be “true” if merchant has a
  4027. * registered bin range and the credit card used in the
  4028. * transaction is within the registered bin range. The value of
  4029. * this field will be false if merchant has a registered bin
  4030. * range and credit card used in the transaction outside
  4031. * registered bin range or the transaction is not done using a
  4032. * credit card.
  4033. * @access public
  4034. * @namespace ebl
  4035. * @var string
  4036. */
  4037. public $BinEligibility;
  4038. }
  4039. /**
  4040. * @hasAttribute
  4041. * SubscriptionTermsType Terms of a PayPal subscription.
  4042. */
  4043. class SubscriptionTermsType
  4044. extends PPXmlMessage{
  4045. /**
  4046. *
  4047. * @access public
  4048. * @namespace ebl
  4049. * @var BasicAmountType
  4050. */
  4051. public $Amount;
  4052. /**
  4053. *
  4054. * @access public
  4055. * @namespace ebl
  4056. * @attribute
  4057. * @var string
  4058. */
  4059. public $period;
  4060. }
  4061. /**
  4062. * @hasAttribute
  4063. * SubscriptionInfoType Information about a PayPal
  4064. * Subscription.
  4065. */
  4066. class SubscriptionInfoType
  4067. extends PPXmlMessage{
  4068. /**
  4069. * ID generated by PayPal for the subscriber. Character length
  4070. * and limitations: no limit
  4071. * @access public
  4072. * @namespace ebl
  4073. * @var string
  4074. */
  4075. public $SubscriptionID;
  4076. /**
  4077. * Subscription start date
  4078. * @access public
  4079. * @namespace ebl
  4080. * @var dateTime
  4081. */
  4082. public $SubscriptionDate;
  4083. /**
  4084. * Date when the subscription modification will be effective
  4085. * @access public
  4086. * @namespace ebl
  4087. * @var dateTime
  4088. */
  4089. public $EffectiveDate;
  4090. /**
  4091. * Date PayPal will retry a failed subscription payment
  4092. * @access public
  4093. * @namespace ebl
  4094. * @var dateTime
  4095. */
  4096. public $RetryTime;
  4097. /**
  4098. * Username generated by PayPal and given to subscriber to
  4099. * access the subscription. Character length and limitations:
  4100. * 64 alphanumeric single-byte characters
  4101. * @access public
  4102. * @namespace ebl
  4103. * @var string
  4104. */
  4105. public $Username;
  4106. /**
  4107. * Password generated by PayPal and given to subscriber to
  4108. * access the subscription. For security, the value of the
  4109. * password is hashed. Character length and limitations: 128
  4110. * alphanumeric single-byte characters
  4111. * @access public
  4112. * @namespace ebl
  4113. * @var string
  4114. */
  4115. public $Password;
  4116. /**
  4117. * The number of payment installments that will occur at the
  4118. * regular rate. Character length and limitations: no limit
  4119. * @access public
  4120. * @namespace ebl
  4121. * @var string
  4122. */
  4123. public $Recurrences;
  4124. /**
  4125. * Subscription duration and charges
  4126. * @array
  4127. * @access public
  4128. * @namespace ebl
  4129. * @var SubscriptionTermsType
  4130. */
  4131. public $Terms;
  4132. /**
  4133. *
  4134. * @access public
  4135. * @namespace ebl
  4136. * @attribute
  4137. * @var string
  4138. */
  4139. public $reattempt;
  4140. /**
  4141. *
  4142. * @access public
  4143. * @namespace ebl
  4144. * @attribute
  4145. * @var string
  4146. */
  4147. public $recurring;
  4148. }
  4149. /**
  4150. * @hasAttribute
  4151. * AuctionInfoType Basic information about an auction.
  4152. */
  4153. class AuctionInfoType
  4154. extends PPXmlMessage{
  4155. /**
  4156. * Customer's auction ID
  4157. * @access public
  4158. * @namespace ebl
  4159. * @var string
  4160. */
  4161. public $BuyerID;
  4162. /**
  4163. * Auction's close date
  4164. * @access public
  4165. * @namespace ebl
  4166. * @var dateTime
  4167. */
  4168. public $ClosingDate;
  4169. /**
  4170. *
  4171. * @access public
  4172. * @namespace ebl
  4173. * @attribute
  4174. * @var string
  4175. */
  4176. public $multiItem;
  4177. }
  4178. /**
  4179. * @hasAttribute
  4180. * OptionType PayPal item options for shopping cart.
  4181. */
  4182. class OptionType
  4183. extends PPXmlMessage{
  4184. /**
  4185. *
  4186. * @access public
  4187. * @namespace ebl
  4188. * @attribute
  4189. * @var string
  4190. */
  4191. public $name;
  4192. /**
  4193. *
  4194. * @access public
  4195. * @namespace ebl
  4196. * @attribute
  4197. * @var string
  4198. */
  4199. public $value;
  4200. }
  4201. /**
  4202. * EbayItemPaymentDetailsItemType - Type declaration to be used
  4203. * by other schemas. Information about an Ebay Payment Item.
  4204. */
  4205. class EbayItemPaymentDetailsItemType
  4206. extends PPXmlMessage{
  4207. /**
  4208. * Auction ItemNumber. Optional Character length and
  4209. * limitations: 765 single-byte characters
  4210. * @access public
  4211. * @namespace ebl
  4212. * @var string
  4213. */
  4214. public $ItemNumber;
  4215. /**
  4216. * Auction Transaction ID. Optional Character length and
  4217. * limitations: 255 single-byte characters
  4218. * @access public
  4219. * @namespace ebl
  4220. * @var string
  4221. */
  4222. public $AuctionTransactionId;
  4223. /**
  4224. * Ebay Order ID. Optional Character length and limitations: 64
  4225. * single-byte characters
  4226. * @access public
  4227. * @namespace ebl
  4228. * @var string
  4229. */
  4230. public $OrderId;
  4231. /**
  4232. * Ebay Cart ID. Optional Character length and limitations: 64
  4233. * single-byte characters
  4234. * @access public
  4235. * @namespace ebl
  4236. * @var string
  4237. */
  4238. public $CartID;
  4239. }
  4240. /**
  4241. * PaymentDetailsItemType Information about a Payment Item.
  4242. */
  4243. class PaymentDetailsItemType
  4244. extends PPXmlMessage{
  4245. /**
  4246. * Item name. Optional Character length and limitations: 127
  4247. * single-byte characters
  4248. * @access public
  4249. * @namespace ebl
  4250. * @var string
  4251. */
  4252. public $Name;
  4253. /**
  4254. * Item number. Optional Character length and limitations: 127
  4255. * single-byte characters
  4256. * @access public
  4257. * @namespace ebl
  4258. * @var string
  4259. */
  4260. public $Number;
  4261. /**
  4262. * Item quantity. Optional Character length and limitations:
  4263. * Any positive integer
  4264. * @access public
  4265. * @namespace ebl
  4266. * @var integer
  4267. */
  4268. public $Quantity;
  4269. /**
  4270. * Item sales tax. Optional Character length and limitations:
  4271. * any valid currency amount; currency code is set the same as
  4272. * for OrderTotal.
  4273. * @access public
  4274. * @namespace ebl
  4275. * @var BasicAmountType
  4276. */
  4277. public $Tax;
  4278. /**
  4279. * Cost of item You must set the currencyID attribute to one of
  4280. * the three-character currency codes for any of the supported
  4281. * PayPal currencies. Optional Limitations: Must not exceed
  4282. * $10,000 USD in any currency. No currency symbol. Decimal
  4283. * separator must be a period (.), and the thousands separator
  4284. * must be a comma (,).
  4285. * @access public
  4286. * @namespace ebl
  4287. * @var BasicAmountType
  4288. */
  4289. public $Amount;
  4290. /**
  4291. * Ebay specific details. Optional
  4292. * @access public
  4293. * @namespace ebl
  4294. * @var EbayItemPaymentDetailsItemType
  4295. */
  4296. public $EbayItemPaymentDetailsItem;
  4297. /**
  4298. * Promotional financing code for item. Part of the Merchant
  4299. * Services Promotion Financing feature.
  4300. * @access public
  4301. * @namespace ebl
  4302. * @var string
  4303. */
  4304. public $PromoCode;
  4305. /**
  4306. *
  4307. * @access public
  4308. * @namespace ebl
  4309. * @var string
  4310. */
  4311. public $ProductCategory;
  4312. /**
  4313. * Item description. Optional Character length and limitations:
  4314. * 127 single-byte characters
  4315. * @access public
  4316. * @namespace ebl
  4317. * @var string
  4318. */
  4319. public $Description;
  4320. /**
  4321. * Information about the Item weight.
  4322. * @access public
  4323. * @namespace ebl
  4324. * @var MeasureType
  4325. */
  4326. public $ItemWeight;
  4327. /**
  4328. * Information about the Item length.
  4329. * @access public
  4330. * @namespace ebl
  4331. * @var MeasureType
  4332. */
  4333. public $ItemLength;
  4334. /**
  4335. * Information about the Item width.
  4336. * @access public
  4337. * @namespace ebl
  4338. * @var MeasureType
  4339. */
  4340. public $ItemWidth;
  4341. /**
  4342. * Information about the Item height.
  4343. * @access public
  4344. * @namespace ebl
  4345. * @var MeasureType
  4346. */
  4347. public $ItemHeight;
  4348. /**
  4349. * URL for the item. Optional Character length and limitations:
  4350. * no limit.
  4351. * @access public
  4352. * @namespace ebl
  4353. * @var string
  4354. */
  4355. public $ItemURL;
  4356. /**
  4357. * Enhanced data for each item in the cart. Optional
  4358. * @access public
  4359. * @namespace ebl
  4360. * @var EnhancedItemDataType
  4361. */
  4362. public $EnhancedItemData;
  4363. /**
  4364. * Item category - physical or digital. Optional
  4365. * @access public
  4366. * @namespace ebl
  4367. * @var string
  4368. */
  4369. public $ItemCategory;
  4370. }
  4371. /**
  4372. * PaymentItemType Information about a Payment Item.
  4373. */
  4374. class PaymentItemType
  4375. extends PPXmlMessage{
  4376. /**
  4377. * eBay Auction Transaction ID of the Item Optional Character
  4378. * length and limitations: 255 single-byte characters
  4379. * @access public
  4380. * @namespace ebl
  4381. * @var string
  4382. */
  4383. public $EbayItemTxnId;
  4384. /**
  4385. * Item name set by you or entered by the customer. Character
  4386. * length and limitations: 127 single-byte alphanumeric
  4387. * characters
  4388. * @access public
  4389. * @namespace ebl
  4390. * @var string
  4391. */
  4392. public $Name;
  4393. /**
  4394. * Item number set by you. Character length and limitations:
  4395. * 127 single-byte alphanumeric characters
  4396. * @access public
  4397. * @namespace ebl
  4398. * @var string
  4399. */
  4400. public $Number;
  4401. /**
  4402. * Quantity set by you or entered by the customer. Character
  4403. * length and limitations: no limit
  4404. * @access public
  4405. * @namespace ebl
  4406. * @var string
  4407. */
  4408. public $Quantity;
  4409. /**
  4410. * Amount of tax charged on payment
  4411. * @access public
  4412. * @namespace ebl
  4413. * @var string
  4414. */
  4415. public $SalesTax;
  4416. /**
  4417. * Amount of shipping charged on payment
  4418. * @access public
  4419. * @namespace ebl
  4420. * @var string
  4421. */
  4422. public $ShippingAmount;
  4423. /**
  4424. * Amount of handling charged on payment
  4425. * @access public
  4426. * @namespace ebl
  4427. * @var string
  4428. */
  4429. public $HandlingAmount;
  4430. /**
  4431. * Invoice item details
  4432. * @access public
  4433. * @namespace ebl
  4434. * @var InvoiceItemType
  4435. */
  4436. public $InvoiceItemDetails;
  4437. /**
  4438. * Coupon ID Number
  4439. * @access public
  4440. * @namespace ebl
  4441. * @var string
  4442. */
  4443. public $CouponID;
  4444. /**
  4445. * Amount Value of The Coupon
  4446. * @access public
  4447. * @namespace ebl
  4448. * @var string
  4449. */
  4450. public $CouponAmount;
  4451. /**
  4452. * Currency of the Coupon Amount
  4453. * @access public
  4454. * @namespace ebl
  4455. * @var string
  4456. */
  4457. public $CouponAmountCurrency;
  4458. /**
  4459. * Amount of Discount on this Loyalty Card
  4460. * @access public
  4461. * @namespace ebl
  4462. * @var string
  4463. */
  4464. public $LoyaltyCardDiscountAmount;
  4465. /**
  4466. * Currency of the Discount
  4467. * @access public
  4468. * @namespace ebl
  4469. * @var string
  4470. */
  4471. public $LoyaltyCardDiscountCurrency;
  4472. /**
  4473. * Cost of item
  4474. * @access public
  4475. * @namespace ebl
  4476. * @var BasicAmountType
  4477. */
  4478. public $Amount;
  4479. /**
  4480. * Item options selected in PayPal shopping cart
  4481. * @array
  4482. * @access public
  4483. * @namespace ebl
  4484. * @var OptionType
  4485. */
  4486. public $Options;
  4487. }
  4488. /**
  4489. * PaymentItemInfoType Information about a PayPal item.
  4490. */
  4491. class PaymentItemInfoType
  4492. extends PPXmlMessage{
  4493. /**
  4494. * Invoice number you set in the original transaction.
  4495. * Character length and limitations: 127 single-byte
  4496. * alphanumeric characters
  4497. * @access public
  4498. * @namespace ebl
  4499. * @var string
  4500. */
  4501. public $InvoiceID;
  4502. /**
  4503. * Custom field you set in the original transaction. Character
  4504. * length and limitations: 127 single-byte alphanumeric
  4505. * characters
  4506. * @access public
  4507. * @namespace ebl
  4508. * @var string
  4509. */
  4510. public $Custom;
  4511. /**
  4512. * Memo entered by your customer in PayPal Website Payments
  4513. * note field. Character length and limitations: 255
  4514. * single-byte alphanumeric characters
  4515. * @access public
  4516. * @namespace ebl
  4517. * @var string
  4518. */
  4519. public $Memo;
  4520. /**
  4521. * Amount of tax charged on transaction
  4522. * @access public
  4523. * @namespace ebl
  4524. * @var string
  4525. */
  4526. public $SalesTax;
  4527. /**
  4528. * Details about the indivudal purchased item
  4529. * @array
  4530. * @access public
  4531. * @namespace ebl
  4532. * @var PaymentItemType
  4533. */
  4534. public $PaymentItem;
  4535. /**
  4536. * Information about the transaction if it was created via
  4537. * PayPal Subcriptions
  4538. * @access public
  4539. * @namespace ebl
  4540. * @var SubscriptionInfoType
  4541. */
  4542. public $Subscription;
  4543. /**
  4544. * Information about the transaction if it was created via an
  4545. * auction
  4546. * @access public
  4547. * @namespace ebl
  4548. * @var AuctionInfoType
  4549. */
  4550. public $Auction;
  4551. }
  4552. /**
  4553. * OffersAndCouponsInfoType Information about a Offers and
  4554. * Coupons.
  4555. */
  4556. class OfferCouponInfoType
  4557. extends PPXmlMessage{
  4558. /**
  4559. * Type of the incentive
  4560. * @access public
  4561. * @namespace ebl
  4562. * @var string
  4563. */
  4564. public $Type;
  4565. /**
  4566. * ID of the Incentive used in transaction
  4567. * @access public
  4568. * @namespace ebl
  4569. * @var string
  4570. */
  4571. public $ID;
  4572. /**
  4573. * Amount used on transaction
  4574. * @access public
  4575. * @namespace ebl
  4576. * @var string
  4577. */
  4578. public $Amount;
  4579. /**
  4580. * Amount Currency
  4581. * @access public
  4582. * @namespace ebl
  4583. * @var string
  4584. */
  4585. public $AmountCurrency;
  4586. }
  4587. /**
  4588. * PaymentDetailsType Information about a payment. Used by DCC
  4589. * and Express Checkout.
  4590. */
  4591. class PaymentDetailsType
  4592. extends PPXmlMessage{
  4593. /**
  4594. * Total of order, including shipping, handling, and tax. You
  4595. * must set the currencyID attribute to one of the
  4596. * three-character currency codes for any of the supported
  4597. * PayPal currencies. Limitations: Must not exceed $10,000 USD
  4598. * in any currency. No currency symbol. Decimal separator must
  4599. * be a period (.), and the thousands separator must be a comma
  4600. * (,).
  4601. * @access public
  4602. * @namespace ebl
  4603. * @var BasicAmountType
  4604. */
  4605. public $OrderTotal;
  4606. /**
  4607. * Sum of cost of all items in this order. You must set the
  4608. * currencyID attribute to one of the three-character currency
  4609. * codes for any of the supported PayPal currencies. Optional
  4610. * separator must be a comma (,).
  4611. * @access public
  4612. * @namespace ebl
  4613. * @var BasicAmountType
  4614. */
  4615. public $ItemTotal;
  4616. /**
  4617. * Total shipping costs for this order. You must set the
  4618. * currencyID attribute to one of the three-character currency
  4619. * codes for any of the supported PayPal currencies. Optional
  4620. * Limitations: Must not exceed $10,000 USD in any currency. No
  4621. * currency symbol. Decimal separator must be a period (.), and
  4622. * the thousands separator must be a comma (,).
  4623. * @access public
  4624. * @namespace ebl
  4625. * @var BasicAmountType
  4626. */
  4627. public $ShippingTotal;
  4628. /**
  4629. * Total handling costs for this order. You must set the
  4630. * currencyID attribute to one of the three-character currency
  4631. * codes for any of the supported PayPal currencies. Optional
  4632. * Limitations: Must not exceed $10,000 USD in any currency. No
  4633. * currency symbol. Decimal separator must be a period (.), and
  4634. * the thousands separator must be a comma (,).
  4635. * @access public
  4636. * @namespace ebl
  4637. * @var BasicAmountType
  4638. */
  4639. public $HandlingTotal;
  4640. /**
  4641. * Sum of tax for all items in this order. You must set the
  4642. * currencyID attribute to one of the three-character currency
  4643. * codes for any of the supported PayPal currencies. Optional
  4644. * Limitations: Must not exceed $10,000 USD in any currency. No
  4645. * currency symbol. Decimal separator must be a period (.), and
  4646. * the thousands separator must be a comma (,).
  4647. * @access public
  4648. * @namespace ebl
  4649. * @var BasicAmountType
  4650. */
  4651. public $TaxTotal;
  4652. /**
  4653. * Description of items the customer is purchasing. Optional
  4654. * Character length and limitations: 127 single-byte
  4655. * alphanumeric characters
  4656. * @access public
  4657. * @namespace ebl
  4658. * @var string
  4659. */
  4660. public $OrderDescription;
  4661. /**
  4662. * A free-form field for your own use. Optional Character
  4663. * length and limitations: 256 single-byte alphanumeric
  4664. * characters
  4665. * @access public
  4666. * @namespace ebl
  4667. * @var string
  4668. */
  4669. public $Custom;
  4670. /**
  4671. * Your own invoice or tracking number. Optional Character
  4672. * length and limitations: 127 single-byte alphanumeric
  4673. * characters
  4674. * @access public
  4675. * @namespace ebl
  4676. * @var string
  4677. */
  4678. public $InvoiceID;
  4679. /**
  4680. * An identification code for use by third-party applications
  4681. * to identify transactions. Optional Character length and
  4682. * limitations: 32 single-byte alphanumeric characters
  4683. * @access public
  4684. * @namespace ebl
  4685. * @var string
  4686. */
  4687. public $ButtonSource;
  4688. /**
  4689. * Your URL for receiving Instant Payment Notification (IPN)
  4690. * about this transaction. Optional If you do not specify
  4691. * NotifyURL in the request, the notification URL from your
  4692. * Merchant Profile is used, if one exists. Character length
  4693. * and limitations: 2,048 single-byte alphanumeric characters
  4694. * @access public
  4695. * @namespace ebl
  4696. * @var string
  4697. */
  4698. public $NotifyURL;
  4699. /**
  4700. * Address the order will be shipped to. Optional If you
  4701. * include the ShipToAddress element, the AddressType elements
  4702. * are required: Name Street1 CityName CountryCode Do not set
  4703. * set the CountryName element.
  4704. * @access public
  4705. * @namespace ebl
  4706. * @var AddressType
  4707. */
  4708. public $ShipToAddress;
  4709. /**
  4710. * Thirdparty Fulfillment Reference Number. Optional Character
  4711. * length and limitations: 32 alphanumeric characters.
  4712. * @access public
  4713. * @namespace ebl
  4714. * @var string
  4715. */
  4716. public $FulfillmentReferenceNumber;
  4717. /**
  4718. *
  4719. * @access public
  4720. * @namespace ebl
  4721. * @var AddressType
  4722. */
  4723. public $FulfillmentAddress;
  4724. /**
  4725. *
  4726. * @access public
  4727. * @namespace ebl
  4728. * @var string
  4729. */
  4730. public $PaymentCategoryType;
  4731. /**
  4732. *
  4733. * @access public
  4734. * @namespace ebl
  4735. * @var string
  4736. */
  4737. public $ShippingMethod;
  4738. /**
  4739. * Date and time (in GMT in the format yyyy-MM-ddTHH:mm:ssZ) at
  4740. * which address was changed by the user.
  4741. * @access public
  4742. * @namespace ebl
  4743. * @var dateTime
  4744. */
  4745. public $ProfileAddressChangeDate;
  4746. /**
  4747. * Information about the individual purchased items
  4748. * @array
  4749. * @access public
  4750. * @namespace ebl
  4751. * @var PaymentDetailsItemType
  4752. */
  4753. public $PaymentDetailsItem;
  4754. /**
  4755. * Total shipping insurance costs for this order. Optional
  4756. * @access public
  4757. * @namespace ebl
  4758. * @var BasicAmountType
  4759. */
  4760. public $InsuranceTotal;
  4761. /**
  4762. * Shipping discount for this order, specified as a negative
  4763. * number. Optional
  4764. * @access public
  4765. * @namespace ebl
  4766. * @var BasicAmountType
  4767. */
  4768. public $ShippingDiscount;
  4769. /**
  4770. * Information about the Insurance options.
  4771. * @access public
  4772. * @namespace ebl
  4773. * @var string
  4774. */
  4775. public $InsuranceOptionOffered;
  4776. /**
  4777. * Allowed payment methods for this transaction.
  4778. * @access public
  4779. * @namespace ebl
  4780. * @var string
  4781. */
  4782. public $AllowedPaymentMethod;
  4783. /**
  4784. * Enhanced Data section to accept channel specific data.
  4785. * Optional Refer to EnhancedPaymentDataType for details.
  4786. * @access public
  4787. * @namespace ebl
  4788. * @var EnhancedPaymentDataType
  4789. */
  4790. public $EnhancedPaymentData;
  4791. /**
  4792. * Details about the seller. Optional
  4793. * @access public
  4794. * @namespace ebl
  4795. * @var SellerDetailsType
  4796. */
  4797. public $SellerDetails;
  4798. /**
  4799. * Note to recipient/seller. Optional Character length and
  4800. * limitations: 127 single-byte alphanumeric characters.
  4801. * @access public
  4802. * @namespace ebl
  4803. * @var string
  4804. */
  4805. public $NoteText;
  4806. /**
  4807. * PayPal Transaction Id, returned once DoExpressCheckout is
  4808. * completed.
  4809. * @access public
  4810. * @namespace ebl
  4811. * @var string
  4812. */
  4813. public $TransactionId;
  4814. /**
  4815. * How you want to obtain payment. This payment action input
  4816. * will be used for split payments Authorization indicates that
  4817. * this payment is a basic authorization subject to settlement
  4818. * with PayPal Authorization and Capture. Order indicates that
  4819. * this payment is is an order authorization subject to
  4820. * settlement with PayPal Authorization and Capture. Sale
  4821. * indicates that this is a final sale for which you are
  4822. * requesting payment. IMPORTANT: You cannot set PaymentAction
  4823. * to Sale on SetExpressCheckoutRequest and then change
  4824. * PaymentAction to Authorization on the final Express Checkout
  4825. * API, DoExpressCheckoutPaymentRequest. Character length and
  4826. * limit: Up to 13 single-byte alphabetic characters
  4827. * @access public
  4828. * @namespace ebl
  4829. * @var string
  4830. */
  4831. public $PaymentAction;
  4832. /**
  4833. * Unique identifier and mandatory for the particular payment
  4834. * request in case of multiple payment
  4835. * @access public
  4836. * @namespace ebl
  4837. * @var string
  4838. */
  4839. public $PaymentRequestID;
  4840. /**
  4841. * URL on Merchant site pertaining to this invoice. Optional
  4842. * @access public
  4843. * @namespace ebl
  4844. * @var string
  4845. */
  4846. public $OrderURL;
  4847. /**
  4848. * Soft Descriptor supported for Sale and Auth in DEC only. For
  4849. * Order this will be ignored.
  4850. * @access public
  4851. * @namespace ebl
  4852. * @var string
  4853. */
  4854. public $SoftDescriptor;
  4855. /**
  4856. * BranchLevel is used to identify chain payment. If
  4857. * BranchLevel is 0 or 1, this payment is where money moves to.
  4858. * If BranchLevel greater than 1, this payment contains the
  4859. * actual seller info. Optional
  4860. * @access public
  4861. * @namespace ebl
  4862. * @var integer
  4863. */
  4864. public $BranchLevel;
  4865. /**
  4866. * Soft Descriptor supported for Sale and Auth in DEC only. For
  4867. * Order this will be ignored.
  4868. * @access public
  4869. * @namespace ebl
  4870. * @var OfferDetailsType
  4871. */
  4872. public $OfferDetails;
  4873. /**
  4874. * Flag to indicate the recurring transaction
  4875. * @access public
  4876. * @namespace ebl
  4877. * @var string
  4878. */
  4879. public $Recurring;
  4880. /**
  4881. * Indicates the purpose of this payment like Refund
  4882. * @access public
  4883. * @namespace ebl
  4884. * @var string
  4885. */
  4886. public $PaymentReason;
  4887. }
  4888. /**
  4889. * Information about the incentives that were applied from Ebay
  4890. * RYP page and PayPal RYP page.
  4891. */
  4892. class IncentiveDetailsType
  4893. extends PPXmlMessage{
  4894. /**
  4895. * Unique Identifier consisting of redemption code, user
  4896. * friendly descripotion, incentive type, campaign code,
  4897. * incenitve application order and site redeemed on.
  4898. * @access public
  4899. * @namespace ebl
  4900. * @var string
  4901. */
  4902. public $UniqueIdentifier;
  4903. /**
  4904. * Defines if the incentive has been applied on Ebay or PayPal.
  4905. *
  4906. * @access public
  4907. * @namespace ebl
  4908. * @var string
  4909. */
  4910. public $SiteAppliedOn;
  4911. /**
  4912. * The total discount amount for the incentive, summation of
  4913. * discounts up across all the buckets/items.
  4914. * @access public
  4915. * @namespace ebl
  4916. * @var BasicAmountType
  4917. */
  4918. public $TotalDiscountAmount;
  4919. /**
  4920. * Status of incentive processing. Sussess or Error.
  4921. * @access public
  4922. * @namespace ebl
  4923. * @var string
  4924. */
  4925. public $Status;
  4926. /**
  4927. * Error code if there are any errors. Zero otherwise.
  4928. * @access public
  4929. * @namespace ebl
  4930. * @var integer
  4931. */
  4932. public $ErrorCode;
  4933. /**
  4934. * Details of incentive application on individual bucket/item.
  4935. * @array
  4936. * @access public
  4937. * @namespace ebl
  4938. * @var IncentiveAppliedDetailsType
  4939. */
  4940. public $IncentiveAppliedDetails;
  4941. }
  4942. /**
  4943. * Details of incentive application on individual bucket/item.
  4944. */
  4945. class IncentiveAppliedDetailsType
  4946. extends PPXmlMessage{
  4947. /**
  4948. * PaymentRequestID uniquely identifies a bucket. It is the
  4949. * "bucket id" in the world of EC API.
  4950. * @access public
  4951. * @namespace ebl
  4952. * @var string
  4953. */
  4954. public $PaymentRequestID;
  4955. /**
  4956. * The item id passed through by the merchant.
  4957. * @access public
  4958. * @namespace ebl
  4959. * @var string
  4960. */
  4961. public $ItemId;
  4962. /**
  4963. * The item transaction id passed through by the merchant.
  4964. * @access public
  4965. * @namespace ebl
  4966. * @var string
  4967. */
  4968. public $ExternalTxnId;
  4969. /**
  4970. * Discount offerred for this bucket or item.
  4971. * @access public
  4972. * @namespace ebl
  4973. * @var BasicAmountType
  4974. */
  4975. public $DiscountAmount;
  4976. /**
  4977. * SubType for coupon.
  4978. * @access public
  4979. * @namespace ebl
  4980. * @var string
  4981. */
  4982. public $SubType;
  4983. }
  4984. /**
  4985. * Details about the seller.
  4986. */
  4987. class SellerDetailsType
  4988. extends PPXmlMessage{
  4989. /**
  4990. * Unique identifier for the seller. Optional
  4991. * @access public
  4992. * @namespace ebl
  4993. * @var string
  4994. */
  4995. public $SellerId;
  4996. /**
  4997. * The user name of the user at the marketplaces site. Optional
  4998. *
  4999. * @access public
  5000. * @namespace ebl
  5001. * @var string
  5002. */
  5003. public $SellerUserName;
  5004. /**
  5005. * Date when the user registered with the marketplace. Optional
  5006. *
  5007. * @access public
  5008. * @namespace ebl
  5009. * @var dateTime
  5010. */
  5011. public $SellerRegistrationDate;
  5012. /**
  5013. * Seller Paypal Account Id contains the seller EmailId or
  5014. * PayerId or PhoneNo passed during the Request.
  5015. * @access public
  5016. * @namespace ebl
  5017. * @var string
  5018. */
  5019. public $PayPalAccountID;
  5020. /**
  5021. * Unique PayPal customer account identification number (of the
  5022. * seller). This feild is meant for Response. This field is
  5023. * ignored, if passed in the Request.
  5024. * @access public
  5025. * @namespace ebl
  5026. * @var string
  5027. */
  5028. public $SecureMerchantAccountID;
  5029. }
  5030. /**
  5031. * Lists the Payment Methods (other than PayPal) that the use
  5032. * can pay with e.g. Money Order. Optional.
  5033. */
  5034. class OtherPaymentMethodDetailsType
  5035. extends PPXmlMessage{
  5036. /**
  5037. * The identifier of the Payment Method.
  5038. * @access public
  5039. * @namespace ebl
  5040. * @var string
  5041. */
  5042. public $OtherPaymentMethodId;
  5043. /**
  5044. * Valid values are 'Method', 'SubMethod'.
  5045. * @access public
  5046. * @namespace ebl
  5047. * @var string
  5048. */
  5049. public $OtherPaymentMethodType;
  5050. /**
  5051. * The name of the Payment Method.
  5052. * @access public
  5053. * @namespace ebl
  5054. * @var string
  5055. */
  5056. public $OtherPaymentMethodLabel;
  5057. /**
  5058. * The short description of the Payment Method, goes along with
  5059. * the label.
  5060. * @access public
  5061. * @namespace ebl
  5062. * @var string
  5063. */
  5064. public $OtherPaymentMethodLabelDescription;
  5065. /**
  5066. * The title for the long description.
  5067. * @access public
  5068. * @namespace ebl
  5069. * @var string
  5070. */
  5071. public $OtherPaymentMethodLongDescriptionTitle;
  5072. /**
  5073. * The long description of the Payment Method.
  5074. * @access public
  5075. * @namespace ebl
  5076. * @var string
  5077. */
  5078. public $OtherPaymentMethodLongDescription;
  5079. /**
  5080. * The icon of the Payment Method.
  5081. * @access public
  5082. * @namespace ebl
  5083. * @var string
  5084. */
  5085. public $OtherPaymentMethodIcon;
  5086. /**
  5087. * If this flag is true, then OtherPaymentMethodIcon is
  5088. * required to have a valid value; the label will be hidden and
  5089. * only ICON will be shown.
  5090. * @access public
  5091. * @namespace ebl
  5092. * @var boolean
  5093. */
  5094. public $OtherPaymentMethodHideLabel;
  5095. }
  5096. /**
  5097. * Details about the buyer's account passed in by the merchant
  5098. * or partner. Optional.
  5099. */
  5100. class BuyerDetailsType
  5101. extends PPXmlMessage{
  5102. /**
  5103. * The client's unique ID for this user.
  5104. * @access public
  5105. * @namespace ebl
  5106. * @var string
  5107. */
  5108. public $BuyerId;
  5109. /**
  5110. * The user name of the user at the marketplaces site.
  5111. * @access public
  5112. * @namespace ebl
  5113. * @var string
  5114. */
  5115. public $BuyerUserName;
  5116. /**
  5117. * Date when the user registered with the marketplace.
  5118. * @access public
  5119. * @namespace ebl
  5120. * @var dateTime
  5121. */
  5122. public $BuyerRegistrationDate;
  5123. /**
  5124. * Details about payer's tax info. Refer to the
  5125. * TaxIdDetailsType for more details.
  5126. * @access public
  5127. * @namespace ebl
  5128. * @var TaxIdDetailsType
  5129. */
  5130. public $TaxIdDetails;
  5131. /**
  5132. * Contains information that identifies the buyer. e.g. email
  5133. * address or the external remember me id.
  5134. * @access public
  5135. * @namespace ebl
  5136. * @var IdentificationInfoType
  5137. */
  5138. public $IdentificationInfo;
  5139. }
  5140. /**
  5141. * Details about the payer's tax info passed in by the merchant
  5142. * or partner. Optional.
  5143. */
  5144. class TaxIdDetailsType
  5145. extends PPXmlMessage{
  5146. /**
  5147. * The payer's Tax ID type; CNPJ/CPF for BR country.
  5148. * @access public
  5149. * @namespace ebl
  5150. * @var string
  5151. */
  5152. public $TaxIdType;
  5153. /**
  5154. * The payer's Tax ID
  5155. * @access public
  5156. * @namespace ebl
  5157. * @var string
  5158. */
  5159. public $TaxId;
  5160. }
  5161. /**
  5162. * The Common 3DS fields. Common for both GTD and DCC API's.
  5163. */
  5164. class ThreeDSecureRequestType
  5165. extends PPXmlMessage{
  5166. /**
  5167. *
  5168. * @access public
  5169. * @namespace ebl
  5170. * @var string
  5171. */
  5172. public $Eci3ds;
  5173. /**
  5174. *
  5175. * @access public
  5176. * @namespace ebl
  5177. * @var string
  5178. */
  5179. public $Cavv;
  5180. /**
  5181. *
  5182. * @access public
  5183. * @namespace ebl
  5184. * @var string
  5185. */
  5186. public $Xid;
  5187. /**
  5188. *
  5189. * @access public
  5190. * @namespace ebl
  5191. * @var string
  5192. */
  5193. public $MpiVendor3ds;
  5194. /**
  5195. *
  5196. * @access public
  5197. * @namespace ebl
  5198. * @var string
  5199. */
  5200. public $AuthStatus3ds;
  5201. }
  5202. /**
  5203. * 3DS remaining fields.
  5204. */
  5205. class ThreeDSecureResponseType
  5206. extends PPXmlMessage{
  5207. /**
  5208. *
  5209. * @access public
  5210. * @namespace ebl
  5211. * @var string
  5212. */
  5213. public $Vpas;
  5214. /**
  5215. *
  5216. * @access public
  5217. * @namespace ebl
  5218. * @var string
  5219. */
  5220. public $EciSubmitted3DS;
  5221. }
  5222. /**
  5223. * 3DSecureInfoType Information about 3D Secure parameters.
  5224. */
  5225. class ThreeDSecureInfoType
  5226. extends PPXmlMessage{
  5227. /**
  5228. *
  5229. * @access public
  5230. * @namespace ebl
  5231. * @var ThreeDSecureRequestType
  5232. */
  5233. public $ThreeDSecureRequest;
  5234. /**
  5235. *
  5236. * @access public
  5237. * @namespace ebl
  5238. * @var ThreeDSecureResponseType
  5239. */
  5240. public $ThreeDSecureResponse;
  5241. }
  5242. /**
  5243. * CreditCardDetailsType Information about a Credit Card.
  5244. */
  5245. class CreditCardDetailsType
  5246. extends PPXmlMessage{
  5247. /**
  5248. *
  5249. * @access public
  5250. * @namespace ebl
  5251. * @var string
  5252. */
  5253. public $CreditCardType;
  5254. /**
  5255. *
  5256. * @access public
  5257. * @namespace ebl
  5258. * @var string
  5259. */
  5260. public $CreditCardNumber;
  5261. /**
  5262. *
  5263. * @access public
  5264. * @namespace ebl
  5265. * @var integer
  5266. */
  5267. public $ExpMonth;
  5268. /**
  5269. *
  5270. * @access public
  5271. * @namespace ebl
  5272. * @var integer
  5273. */
  5274. public $ExpYear;
  5275. /**
  5276. *
  5277. * @access public
  5278. * @namespace ebl
  5279. * @var PayerInfoType
  5280. */
  5281. public $CardOwner;
  5282. /**
  5283. *
  5284. * @access public
  5285. * @namespace ebl
  5286. * @var string
  5287. */
  5288. public $CVV2;
  5289. /**
  5290. *
  5291. * @access public
  5292. * @namespace ebl
  5293. * @var integer
  5294. */
  5295. public $StartMonth;
  5296. /**
  5297. *
  5298. * @access public
  5299. * @namespace ebl
  5300. * @var integer
  5301. */
  5302. public $StartYear;
  5303. /**
  5304. *
  5305. * @access public
  5306. * @namespace ebl
  5307. * @var string
  5308. */
  5309. public $IssueNumber;
  5310. /**
  5311. *
  5312. * @access public
  5313. * @namespace ebl
  5314. * @var ThreeDSecureRequestType
  5315. */
  5316. public $ThreeDSecureRequest;
  5317. }
  5318. /**
  5319. * Fallback shipping options type.
  5320. */
  5321. class ShippingOptionType
  5322. extends PPXmlMessage{
  5323. /**
  5324. *
  5325. * @access public
  5326. * @namespace ebl
  5327. * @var string
  5328. */
  5329. public $ShippingOptionIsDefault;
  5330. /**
  5331. *
  5332. * @access public
  5333. * @namespace ebl
  5334. * @var BasicAmountType
  5335. */
  5336. public $ShippingOptionAmount;
  5337. /**
  5338. *
  5339. * @access public
  5340. * @namespace ebl
  5341. * @var string
  5342. */
  5343. public $ShippingOptionName;
  5344. }
  5345. /**
  5346. * Information on user selected options
  5347. */
  5348. class UserSelectedOptionType
  5349. extends PPXmlMessage{
  5350. /**
  5351. *
  5352. * @access public
  5353. * @namespace ebl
  5354. * @var string
  5355. */
  5356. public $ShippingCalculationMode;
  5357. /**
  5358. *
  5359. * @access public
  5360. * @namespace ebl
  5361. * @var string
  5362. */
  5363. public $InsuranceOptionSelected;
  5364. /**
  5365. *
  5366. * @access public
  5367. * @namespace ebl
  5368. * @var string
  5369. */
  5370. public $ShippingOptionIsDefault;
  5371. /**
  5372. *
  5373. * @access public
  5374. * @namespace ebl
  5375. * @var BasicAmountType
  5376. */
  5377. public $ShippingOptionAmount;
  5378. /**
  5379. *
  5380. * @access public
  5381. * @namespace ebl
  5382. * @var string
  5383. */
  5384. public $ShippingOptionName;
  5385. }
  5386. /**
  5387. *
  5388. */
  5389. class CreditCardNumberTypeType
  5390. extends PPXmlMessage{
  5391. /**
  5392. *
  5393. * @access public
  5394. * @namespace ebl
  5395. * @var string
  5396. */
  5397. public $CreditCardType;
  5398. /**
  5399. *
  5400. * @access public
  5401. * @namespace ebl
  5402. * @var string
  5403. */
  5404. public $CreditCardNumber;
  5405. }
  5406. /**
  5407. * CreditCardDetailsType for DCC Reference Transaction
  5408. * Information about a Credit Card.
  5409. */
  5410. class ReferenceCreditCardDetailsType
  5411. extends PPXmlMessage{
  5412. /**
  5413. *
  5414. * @access public
  5415. * @namespace ebl
  5416. * @var CreditCardNumberTypeType
  5417. */
  5418. public $CreditCardNumberType;
  5419. /**
  5420. *
  5421. * @access public
  5422. * @namespace ebl
  5423. * @var integer
  5424. */
  5425. public $ExpMonth;
  5426. /**
  5427. *
  5428. * @access public
  5429. * @namespace ebl
  5430. * @var integer
  5431. */
  5432. public $ExpYear;
  5433. /**
  5434. *
  5435. * @access public
  5436. * @namespace ebl
  5437. * @var PersonNameType
  5438. */
  5439. public $CardOwnerName;
  5440. /**
  5441. *
  5442. * @access public
  5443. * @namespace ebl
  5444. * @var AddressType
  5445. */
  5446. public $BillingAddress;
  5447. /**
  5448. *
  5449. * @access public
  5450. * @namespace ebl
  5451. * @var string
  5452. */
  5453. public $CVV2;
  5454. /**
  5455. *
  5456. * @access public
  5457. * @namespace ebl
  5458. * @var integer
  5459. */
  5460. public $StartMonth;
  5461. /**
  5462. *
  5463. * @access public
  5464. * @namespace ebl
  5465. * @var integer
  5466. */
  5467. public $StartYear;
  5468. /**
  5469. *
  5470. * @access public
  5471. * @namespace ebl
  5472. * @var string
  5473. */
  5474. public $IssueNumber;
  5475. }
  5476. /**
  5477. *
  5478. */
  5479. class SetCustomerBillingAgreementRequestDetailsType
  5480. extends PPXmlMessage{
  5481. /**
  5482. *
  5483. * @access public
  5484. * @namespace ebl
  5485. * @var BillingAgreementDetailsType
  5486. */
  5487. public $BillingAgreementDetails;
  5488. /**
  5489. *
  5490. * @access public
  5491. * @namespace ebl
  5492. * @var string
  5493. */
  5494. public $ReturnURL;
  5495. /**
  5496. *
  5497. * @access public
  5498. * @namespace ebl
  5499. * @var string
  5500. */
  5501. public $CancelURL;
  5502. /**
  5503. *
  5504. * @access public
  5505. * @namespace ebl
  5506. * @var string
  5507. */
  5508. public $LocaleCode;
  5509. /**
  5510. *
  5511. * @access public
  5512. * @namespace ebl
  5513. * @var string
  5514. */
  5515. public $PageStyle;
  5516. /**
  5517. *
  5518. * @access public
  5519. * @namespace ebl
  5520. * @name cpp-header-image
  5521. * @var string
  5522. */
  5523. public $cppheaderimage;
  5524. /**
  5525. *
  5526. * @access public
  5527. * @namespace ebl
  5528. * @name cpp-header-border-color
  5529. * @var string
  5530. */
  5531. public $cppheaderbordercolor;
  5532. /**
  5533. *
  5534. * @access public
  5535. * @namespace ebl
  5536. * @name cpp-header-back-color
  5537. * @var string
  5538. */
  5539. public $cppheaderbackcolor;
  5540. /**
  5541. *
  5542. * @access public
  5543. * @namespace ebl
  5544. * @name cpp-payflow-color
  5545. * @var string
  5546. */
  5547. public $cpppayflowcolor;
  5548. /**
  5549. *
  5550. * @access public
  5551. * @namespace ebl
  5552. * @var string
  5553. */
  5554. public $BuyerEmail;
  5555. /**
  5556. * The value 1 indicates that you require that the customer's
  5557. * billing address on file. Setting this element overrides the
  5558. * setting you have specified in Admin. Optional Character
  5559. * length and limitations: One single-byte numeric character.
  5560. * @access public
  5561. * @namespace ebl
  5562. * @var string
  5563. */
  5564. public $ReqBillingAddress;
  5565. /**
  5566. * Constructor with arguments
  5567. */
  5568. public function __construct($BillingAgreementDetails = NULL, $ReturnURL = NULL, $CancelURL = NULL) {
  5569. $this->BillingAgreementDetails = $BillingAgreementDetails;
  5570. $this->ReturnURL = $ReturnURL;
  5571. $this->CancelURL = $CancelURL;
  5572. }
  5573. }
  5574. /**
  5575. *
  5576. */
  5577. class GetBillingAgreementCustomerDetailsResponseDetailsType
  5578. extends PPXmlMessage{
  5579. /**
  5580. *
  5581. * @access public
  5582. * @namespace ebl
  5583. * @var PayerInfoType
  5584. */
  5585. public $PayerInfo;
  5586. /**
  5587. * Customer's billing address. Optional If you have a credit
  5588. * card mapped in your PayPal account, PayPal returns the
  5589. * billing address of the credit billing address otherwise your
  5590. * primary address as billing address in
  5591. * GetBillingAgreementCustomerDetails.
  5592. * @access public
  5593. * @namespace ebl
  5594. * @var AddressType
  5595. */
  5596. public $BillingAddress;
  5597. }
  5598. /**
  5599. * Device ID Optional Character length and limits: 256
  5600. * single-byte characters DeviceID length morethan 256 is
  5601. * truncated
  5602. */
  5603. class DeviceDetailsType
  5604. extends PPXmlMessage{
  5605. /**
  5606. * Device ID Optional Character length and limits: 256
  5607. * single-byte characters DeviceID length morethan 256 is
  5608. * truncated
  5609. * @access public
  5610. * @namespace ebl
  5611. * @var string
  5612. */
  5613. public $DeviceID;
  5614. }
  5615. /**
  5616. *
  5617. */
  5618. class SenderDetailsType
  5619. extends PPXmlMessage{
  5620. /**
  5621. *
  5622. * @access public
  5623. * @namespace ebl
  5624. * @var DeviceDetailsType
  5625. */
  5626. public $DeviceDetails;
  5627. }
  5628. /**
  5629. *
  5630. */
  5631. class DoReferenceTransactionRequestDetailsType
  5632. extends PPXmlMessage{
  5633. /**
  5634. *
  5635. * @access public
  5636. * @namespace ebl
  5637. * @var string
  5638. */
  5639. public $ReferenceID;
  5640. /**
  5641. *
  5642. * @access public
  5643. * @namespace ebl
  5644. * @var string
  5645. */
  5646. public $PaymentAction;
  5647. /**
  5648. *
  5649. * @access public
  5650. * @namespace ebl
  5651. * @var string
  5652. */
  5653. public $PaymentType;
  5654. /**
  5655. *
  5656. * @access public
  5657. * @namespace ebl
  5658. * @var PaymentDetailsType
  5659. */
  5660. public $PaymentDetails;
  5661. /**
  5662. *
  5663. * @access public
  5664. * @namespace ebl
  5665. * @var ReferenceCreditCardDetailsType
  5666. */
  5667. public $CreditCard;
  5668. /**
  5669. *
  5670. * @access public
  5671. * @namespace ebl
  5672. * @var string
  5673. */
  5674. public $IPAddress;
  5675. /**
  5676. *
  5677. * @access public
  5678. * @namespace ebl
  5679. * @var string
  5680. */
  5681. public $MerchantSessionId;
  5682. /**
  5683. *
  5684. * @access public
  5685. * @namespace ebl
  5686. * @var string
  5687. */
  5688. public $ReqConfirmShipping;
  5689. /**
  5690. *
  5691. * @access public
  5692. * @namespace ebl
  5693. * @var string
  5694. */
  5695. public $SoftDescriptor;
  5696. /**
  5697. *
  5698. * @access public
  5699. * @namespace ebl
  5700. * @var SenderDetailsType
  5701. */
  5702. public $SenderDetails;
  5703. /**
  5704. * Unique id for each API request to prevent duplicate
  5705. * payments. Optional Character length and limits: 38
  5706. * single-byte characters maximum.
  5707. * @access public
  5708. * @namespace ebl
  5709. * @var string
  5710. */
  5711. public $MsgSubID;
  5712. /**
  5713. * Constructor with arguments
  5714. */
  5715. public function __construct($ReferenceID = NULL, $PaymentAction = NULL, $PaymentDetails = NULL) {
  5716. $this->ReferenceID = $ReferenceID;
  5717. $this->PaymentAction = $PaymentAction;
  5718. $this->PaymentDetails = $PaymentDetails;
  5719. }
  5720. }
  5721. /**
  5722. *
  5723. */
  5724. class DoReferenceTransactionResponseDetailsType
  5725. extends PPXmlMessage{
  5726. /**
  5727. *
  5728. * @access public
  5729. * @namespace ebl
  5730. * @var string
  5731. */
  5732. public $BillingAgreementID;
  5733. /**
  5734. *
  5735. * @access public
  5736. * @namespace ebl
  5737. * @var PaymentInfoType
  5738. */
  5739. public $PaymentInfo;
  5740. /**
  5741. *
  5742. * @access public
  5743. * @namespace ebl
  5744. * @var BasicAmountType
  5745. */
  5746. public $Amount;
  5747. /**
  5748. *
  5749. * @access public
  5750. * @namespace ebl
  5751. * @var string
  5752. */
  5753. public $AVSCode;
  5754. /**
  5755. *
  5756. * @access public
  5757. * @namespace ebl
  5758. * @var string
  5759. */
  5760. public $CVV2Code;
  5761. /**
  5762. *
  5763. * @access public
  5764. * @namespace ebl
  5765. * @var string
  5766. */
  5767. public $TransactionID;
  5768. /**
  5769. * Response code from the processor when a recurring
  5770. * transaction is declined
  5771. * @access public
  5772. * @namespace ebl
  5773. * @var string
  5774. */
  5775. public $PaymentAdviceCode;
  5776. /**
  5777. * Return msgsubid back to merchant
  5778. * @access public
  5779. * @namespace ebl
  5780. * @var string
  5781. */
  5782. public $MsgSubID;
  5783. }
  5784. /**
  5785. *
  5786. */
  5787. class DoNonReferencedCreditRequestDetailsType
  5788. extends PPXmlMessage{
  5789. /**
  5790. *
  5791. * @access public
  5792. * @namespace ebl
  5793. * @var BasicAmountType
  5794. */
  5795. public $Amount;
  5796. /**
  5797. *
  5798. * @access public
  5799. * @namespace ebl
  5800. * @var BasicAmountType
  5801. */
  5802. public $NetAmount;
  5803. /**
  5804. *
  5805. * @access public
  5806. * @namespace ebl
  5807. * @var BasicAmountType
  5808. */
  5809. public $TaxAmount;
  5810. /**
  5811. *
  5812. * @access public
  5813. * @namespace ebl
  5814. * @var BasicAmountType
  5815. */
  5816. public $ShippingAmount;
  5817. /**
  5818. *
  5819. * @access public
  5820. * @namespace ebl
  5821. * @var CreditCardDetailsType
  5822. */
  5823. public $CreditCard;
  5824. /**
  5825. *
  5826. * @access public
  5827. * @namespace ebl
  5828. * @var string
  5829. */
  5830. public $ReceiverEmail;
  5831. /**
  5832. *
  5833. * @access public
  5834. * @namespace ebl
  5835. * @var string
  5836. */
  5837. public $Comment;
  5838. }
  5839. /**
  5840. *
  5841. */
  5842. class DoNonReferencedCreditResponseDetailsType
  5843. extends PPXmlMessage{
  5844. /**
  5845. *
  5846. * @access public
  5847. * @namespace ebl
  5848. * @var BasicAmountType
  5849. */
  5850. public $Amount;
  5851. /**
  5852. *
  5853. * @access public
  5854. * @namespace ebl
  5855. * @var string
  5856. */
  5857. public $TransactionID;
  5858. }
  5859. /**
  5860. * Onboarding program code given to you by PayPal. Required
  5861. * Character length and limitations: 64 alphanumeric characters
  5862. *
  5863. */
  5864. class EnterBoardingRequestDetailsType
  5865. extends PPXmlMessage{
  5866. /**
  5867. * Onboarding program code given to you by PayPal. Required
  5868. * Character length and limitations: 64 alphanumeric characters
  5869. * @access public
  5870. * @namespace ebl
  5871. * @var string
  5872. */
  5873. public $ProgramCode;
  5874. /**
  5875. * A list of comma-separated values that indicate the PayPal
  5876. * products you are implementing for this merchant: Direct
  5877. * Payment (dp) allows payments by credit card without
  5878. * requiring the customer to have a PayPal account. Express
  5879. * Checkout (ec) allows customers to fund transactions with
  5880. * their PayPal account. Authorization and Capture
  5881. * (auth_settle) allows merchants to verify availability of
  5882. * funds in a PayPal account, but capture them at a later time.
  5883. * Administrative APIs (admin_api) is a collection of the
  5884. * PayPal APIs for transaction searching, getting transaction
  5885. * details, refunding, and mass payments. Required Character
  5886. * length and limitations: 64 alphanumeric characters
  5887. * @access public
  5888. * @namespace ebl
  5889. * @var string
  5890. */
  5891. public $ProductList;
  5892. /**
  5893. * Any custom information you want to store for this partner
  5894. * Optional Character length and limitations: 256 alphanumeric
  5895. * characters
  5896. * @access public
  5897. * @namespace ebl
  5898. * @var string
  5899. */
  5900. public $PartnerCustom;
  5901. /**
  5902. * The URL for the logo displayed on the PayPal Partner Welcome
  5903. * Page. Optional Character length and limitations: 2,048
  5904. * alphanumeric characters
  5905. * @access public
  5906. * @namespace ebl
  5907. * @var string
  5908. */
  5909. public $ImageUrl;
  5910. /**
  5911. * Marketing category tha configures the graphic displayed n
  5912. * the PayPal Partner Welcome page.
  5913. * @access public
  5914. * @namespace ebl
  5915. * @var string
  5916. */
  5917. public $MarketingCategory;
  5918. /**
  5919. * Information about the merchant’s business
  5920. * @access public
  5921. * @namespace ebl
  5922. * @var BusinessInfoType
  5923. */
  5924. public $BusinessInfo;
  5925. /**
  5926. * Information about the merchant (the business owner)
  5927. * @access public
  5928. * @namespace ebl
  5929. * @var BusinessOwnerInfoType
  5930. */
  5931. public $OwnerInfo;
  5932. /**
  5933. * Information about the merchant's bank account
  5934. * @access public
  5935. * @namespace ebl
  5936. * @var BankAccountDetailsType
  5937. */
  5938. public $BankAccount;
  5939. }
  5940. /**
  5941. * BusinessInfoType
  5942. */
  5943. class BusinessInfoType
  5944. extends PPXmlMessage{
  5945. /**
  5946. * Type of business, such as corporation or sole proprietorship
  5947. * @access public
  5948. * @namespace ebl
  5949. * @var string
  5950. */
  5951. public $Type;
  5952. /**
  5953. * Official name of business Character length and limitations:
  5954. * 75 alphanumeric characters
  5955. * @access public
  5956. * @namespace ebl
  5957. * @var string
  5958. */
  5959. public $Name;
  5960. /**
  5961. * Merchant’s business postal address
  5962. * @access public
  5963. * @namespace ebl
  5964. * @var AddressType
  5965. */
  5966. public $Address;
  5967. /**
  5968. * Business’s primary telephone number Character length and
  5969. * limitations: 20 alphanumeric characters
  5970. * @access public
  5971. * @namespace ebl
  5972. * @var string
  5973. */
  5974. public $WorkPhone;
  5975. /**
  5976. * Line of business, as defined in the enumerations
  5977. * @access public
  5978. * @namespace ebl
  5979. * @var string
  5980. */
  5981. public $Category;
  5982. /**
  5983. * Business sub-category, as defined in the enumerations
  5984. * @access public
  5985. * @namespace ebl
  5986. * @var string
  5987. */
  5988. public $SubCategory;
  5989. /**
  5990. * Average transaction price, as defined by the enumerations.
  5991. * Enumeration Meaning AverageTransactionPrice-Not-Applicable
  5992. * AverageTransactionPrice-Range1 Less than $25 USD
  5993. * AverageTransactionPrice-Range2 $25 USD to $50 USD
  5994. * AverageTransactionPrice-Range3 $50 USD to $100 USD
  5995. * AverageTransactionPrice-Range4 $100 USD to $250 USD
  5996. * AverageTransactionPrice-Range5 $250 USD to $500 USD
  5997. * AverageTransactionPrice-Range6 $500 USD to $1,000 USD
  5998. * AverageTransactionPrice-Range7 $1,000 USD to $2,000 USD
  5999. * AverageTransactionPrice-Range8 $2,000 USD to $5,000 USD
  6000. * AverageTransactionPrice-Range9 $5,000 USD to $10,000 USD
  6001. * AverageTransactionPrice-Range10 More than $10,000 USD
  6002. * @access public
  6003. * @namespace ebl
  6004. * @var string
  6005. */
  6006. public $AveragePrice;
  6007. /**
  6008. * Average monthly sales volume, as defined by the
  6009. * enumerations. Enumeration Meaning
  6010. * AverageMonthlyVolume-Not-Applicable
  6011. * AverageMonthlyVolume-Range1 Less than $1,000 USD
  6012. * AverageMonthlyVolume-Range2 $1,000 USD to $5,000 USD
  6013. * AverageMonthlyVolume-Range3 $5,000 USD to $25,000 USD
  6014. * AverageMonthlyVolume-Range4 $25,000 USD to $100,000 USD
  6015. * AverageMonthlyVolume-Range5 $100,000 USD to $1,000,000 USD
  6016. * AverageMonthlyVolume-Range6 More than $1,000,000 USD
  6017. * @access public
  6018. * @namespace ebl
  6019. * @var string
  6020. */
  6021. public $AverageMonthlyVolume;
  6022. /**
  6023. * Main sales venue, such as eBay
  6024. * @access public
  6025. * @namespace ebl
  6026. * @var string
  6027. */
  6028. public $SalesVenue;
  6029. /**
  6030. * Primary URL of business Character length and limitations:
  6031. * 2,048 alphanumeric characters
  6032. * @access public
  6033. * @namespace ebl
  6034. * @var string
  6035. */
  6036. public $Website;
  6037. /**
  6038. * Percentage of revenue attributable to online sales, as
  6039. * defined by the enumerations Enumeration Meaning
  6040. * PercentageRevenueFromOnlineSales-Not-Applicable
  6041. * PercentageRevenueFromOnlineSales-Range1 Less than 25%
  6042. * PercentageRevenueFromOnlineSales-Range2 25% to 50%
  6043. * PercentageRevenueFromOnlineSales-Range3 50% to 75%
  6044. * PercentageRevenueFromOnlineSales-Range4 75% to 100%
  6045. * @access public
  6046. * @namespace ebl
  6047. * @var string
  6048. */
  6049. public $RevenueFromOnlineSales;
  6050. /**
  6051. * Date the merchant’s business was established
  6052. * @access public
  6053. * @namespace ebl
  6054. * @var dateTime
  6055. */
  6056. public $BusinessEstablished;
  6057. /**
  6058. * Email address to contact business’s customer service
  6059. * Character length and limitations: 127 alphanumeric
  6060. * characters
  6061. * @access public
  6062. * @namespace ebl
  6063. * @var string
  6064. */
  6065. public $CustomerServiceEmail;
  6066. /**
  6067. * Telephone number to contact business’s customer service
  6068. * Character length and limitations: 32 alphanumeric characters
  6069. * @access public
  6070. * @namespace ebl
  6071. * @var string
  6072. */
  6073. public $CustomerServicePhone;
  6074. }
  6075. /**
  6076. * BusinessOwnerInfoType
  6077. */
  6078. class BusinessOwnerInfoType
  6079. extends PPXmlMessage{
  6080. /**
  6081. * Details about the business owner
  6082. * @access public
  6083. * @namespace ebl
  6084. * @var PayerInfoType
  6085. */
  6086. public $Owner;
  6087. /**
  6088. * Business owner’s home telephone number Character length
  6089. * and limitations: 32 alphanumeric characters
  6090. * @access public
  6091. * @namespace ebl
  6092. * @var string
  6093. */
  6094. public $HomePhone;
  6095. /**
  6096. * Business owner’s mobile telephone number Character length
  6097. * and limitations: 32 alphanumeric characters
  6098. * @access public
  6099. * @namespace ebl
  6100. * @var string
  6101. */
  6102. public $MobilePhone;
  6103. /**
  6104. * Business owner’s social security number Character length
  6105. * and limitations: 9 alphanumeric characters
  6106. * @access public
  6107. * @namespace ebl
  6108. * @var string
  6109. */
  6110. public $SSN;
  6111. }
  6112. /**
  6113. * BankAccountDetailsType
  6114. */
  6115. class BankAccountDetailsType
  6116. extends PPXmlMessage{
  6117. /**
  6118. * Name of bank Character length and limitations: 192
  6119. * alphanumeric characters
  6120. * @access public
  6121. * @namespace ebl
  6122. * @var string
  6123. */
  6124. public $Name;
  6125. /**
  6126. * Type of bank account: Checking or Savings
  6127. * @access public
  6128. * @namespace ebl
  6129. * @var string
  6130. */
  6131. public $Type;
  6132. /**
  6133. * Merchant’s bank routing number Character length and
  6134. * limitations: 23 alphanumeric characters
  6135. * @access public
  6136. * @namespace ebl
  6137. * @var string
  6138. */
  6139. public $RoutingNumber;
  6140. /**
  6141. * Merchant’s bank account number Character length and
  6142. * limitations: 256 alphanumeric characters
  6143. * @access public
  6144. * @namespace ebl
  6145. * @var string
  6146. */
  6147. public $AccountNumber;
  6148. }
  6149. /**
  6150. * Status of merchant's onboarding process:
  6151. * CompletedCancelledPending Character length and limitations:
  6152. * Eight alphabetic characters
  6153. */
  6154. class GetBoardingDetailsResponseDetailsType
  6155. extends PPXmlMessage{
  6156. /**
  6157. * Status of merchant's onboarding process:
  6158. * CompletedCancelledPending Character length and limitations:
  6159. * Eight alphabetic characters
  6160. * @access public
  6161. * @namespace ebl
  6162. * @var string
  6163. */
  6164. public $Status;
  6165. /**
  6166. * Date the boarding process started
  6167. * @access public
  6168. * @namespace ebl
  6169. * @var dateTime
  6170. */
  6171. public $StartDate;
  6172. /**
  6173. * Date the merchant’s status or progress was last updated
  6174. * @access public
  6175. * @namespace ebl
  6176. * @var dateTime
  6177. */
  6178. public $LastUpdated;
  6179. /**
  6180. * Reason for merchant’s cancellation of sign-up. Character
  6181. * length and limitations: 1,024 alphanumeric characters
  6182. * @access public
  6183. * @namespace ebl
  6184. * @var string
  6185. */
  6186. public $Reason;
  6187. /**
  6188. *
  6189. * @access public
  6190. * @namespace ebl
  6191. * @var string
  6192. */
  6193. public $ProgramName;
  6194. /**
  6195. *
  6196. * @access public
  6197. * @namespace ebl
  6198. * @var string
  6199. */
  6200. public $ProgramCode;
  6201. /**
  6202. *
  6203. * @access public
  6204. * @namespace ebl
  6205. * @var string
  6206. */
  6207. public $CampaignID;
  6208. /**
  6209. * Indicates if there is a limitation on the amount of money
  6210. * the business can withdraw from PayPal
  6211. * @access public
  6212. * @namespace ebl
  6213. * @var string
  6214. */
  6215. public $UserWithdrawalLimit;
  6216. /**
  6217. * Custom information you set on the EnterBoarding API call
  6218. * Character length and limitations: 256 alphanumeric
  6219. * characters
  6220. * @access public
  6221. * @namespace ebl
  6222. * @var string
  6223. */
  6224. public $PartnerCustom;
  6225. /**
  6226. * Details about the owner of the account
  6227. * @access public
  6228. * @namespace ebl
  6229. * @var PayerInfoType
  6230. */
  6231. public $AccountOwner;
  6232. /**
  6233. * Merchant’s PayPal API credentials
  6234. * @access public
  6235. * @namespace ebl
  6236. * @var APICredentialsType
  6237. */
  6238. public $Credentials;
  6239. /**
  6240. * The APIs that this merchant has granted the business partner
  6241. * permission to call on his behalf. For example:
  6242. * SetExpressCheckout,GetExpressCheckoutDetails,DoExpressCheckoutPayment
  6243. * @access public
  6244. * @namespace ebl
  6245. * @var string
  6246. */
  6247. public $ConfigureAPIs;
  6248. /**
  6249. * Primary email verification status. Confirmed, Unconfirmed
  6250. * @access public
  6251. * @namespace ebl
  6252. * @var string
  6253. */
  6254. public $EmailVerificationStatus;
  6255. /**
  6256. * Gives VettingStatus - Pending, Cancelled, Approved,
  6257. * UnderReview Character length and limitations: 256
  6258. * alphanumeric characters
  6259. * @access public
  6260. * @namespace ebl
  6261. * @var string
  6262. */
  6263. public $VettingStatus;
  6264. /**
  6265. * Gives BankAccountVerificationStatus - Added, Confirmed
  6266. * Character length and limitations: 256 alphanumeric
  6267. * characters
  6268. * @access public
  6269. * @namespace ebl
  6270. * @var string
  6271. */
  6272. public $BankAccountVerificationStatus;
  6273. }
  6274. /**
  6275. * APICredentialsType
  6276. */
  6277. class APICredentialsType
  6278. extends PPXmlMessage{
  6279. /**
  6280. * Merchant’s PayPal API usernameCharacter length and
  6281. * limitations: 128 alphanumeric characters
  6282. * @access public
  6283. * @namespace ebl
  6284. * @var string
  6285. */
  6286. public $Username;
  6287. /**
  6288. * Merchant’s PayPal API passwordCharacter length and
  6289. * limitations: 40 alphanumeric characters
  6290. * @access public
  6291. * @namespace ebl
  6292. * @var string
  6293. */
  6294. public $Password;
  6295. /**
  6296. * Merchant’s PayPal API signature, if one exists. Character
  6297. * length and limitations: 256 alphanumeric characters
  6298. * @access public
  6299. * @namespace ebl
  6300. * @var string
  6301. */
  6302. public $Signature;
  6303. /**
  6304. * Merchant’s PayPal API certificate in PEM format, if one
  6305. * exists The certificate consists of two parts: the private
  6306. * key (2,048 bytes) and the certificate proper (4,000 bytes).
  6307. * Character length and limitations: 6,048 alphanumeric
  6308. * characters
  6309. * @access public
  6310. * @namespace ebl
  6311. * @var string
  6312. */
  6313. public $Certificate;
  6314. /**
  6315. * Merchant’s PayPal API authentication mechanism. Auth-None:
  6316. * no authentication mechanism on file Cert: API certificate
  6317. * Sign: API signature Character length and limitations: 9
  6318. * alphanumeric characters
  6319. * @access public
  6320. * @namespace ebl
  6321. * @var string
  6322. */
  6323. public $Type;
  6324. }
  6325. /**
  6326. * The phone number of the buyer's mobile device, if available.
  6327. * Optional
  6328. */
  6329. class SetMobileCheckoutRequestDetailsType
  6330. extends PPXmlMessage{
  6331. /**
  6332. * The phone number of the buyer's mobile device, if available.
  6333. * Optional
  6334. * @access public
  6335. * @namespace ebl
  6336. * @var PhoneNumberType
  6337. */
  6338. public $BuyerPhone;
  6339. /**
  6340. * Cost of this item before tax and shipping.You must set the
  6341. * currencyID attribute to one of the three-character currency
  6342. * codes for any of the supported PayPal currencies. Required
  6343. * @access public
  6344. * @namespace ebl
  6345. * @var BasicAmountType
  6346. */
  6347. public $ItemAmount;
  6348. /**
  6349. * Tax amount for this item.You must set the currencyID
  6350. * attribute to one of the three-character currency codes for
  6351. * any of the supported PayPal currencies. Optional
  6352. * @access public
  6353. * @namespace ebl
  6354. * @var BasicAmountType
  6355. */
  6356. public $Tax;
  6357. /**
  6358. * Shipping amount for this item.You must set the currencyID
  6359. * attribute to one of the three-character currency codes for
  6360. * any of the supported PayPal currencies. Optional
  6361. * @access public
  6362. * @namespace ebl
  6363. * @var BasicAmountType
  6364. */
  6365. public $Shipping;
  6366. /**
  6367. * Description of the item that the customer is purchasing.
  6368. * Required Character length and limitations: 127 single-byte
  6369. * alphanumeric characters
  6370. * @access public
  6371. * @namespace ebl
  6372. * @var string
  6373. */
  6374. public $ItemName;
  6375. /**
  6376. * Reference number of the item that the customer is
  6377. * purchasing. Optional Character length and limitations: 127
  6378. * single-byte alphanumeric characters
  6379. * @access public
  6380. * @namespace ebl
  6381. * @var string
  6382. */
  6383. public $ItemNumber;
  6384. /**
  6385. * A free-form field for your own use, such as a tracking
  6386. * number or other value you want returned to you in IPN.
  6387. * Optional Character length and limitations: 256 single-byte
  6388. * alphanumeric characters
  6389. * @access public
  6390. * @namespace ebl
  6391. * @var string
  6392. */
  6393. public $Custom;
  6394. /**
  6395. * Your own unique invoice or tracking number. Optional
  6396. * Character length and limitations: 127 single-byte
  6397. * alphanumeric characters
  6398. * @access public
  6399. * @namespace ebl
  6400. * @var string
  6401. */
  6402. public $InvoiceID;
  6403. /**
  6404. * URL to which the customer's browser is returned after
  6405. * choosing to pay with PayPal. PayPal recommends that the
  6406. * value of ReturnURL be the final review page on which the
  6407. * customer confirms the order and payment. Required Character
  6408. * length and limitations: no limit.
  6409. * @access public
  6410. * @namespace ebl
  6411. * @var string
  6412. */
  6413. public $ReturnURL;
  6414. /**
  6415. * URL to which the customer is returned if he does not approve
  6416. * the use of PayPal to pay you. PayPal recommends that the
  6417. * value of CancelURL be the original page on which the
  6418. * customer chose to pay with PayPal. Optional Character length
  6419. * and limitations: no limit
  6420. * @access public
  6421. * @namespace ebl
  6422. * @var string
  6423. */
  6424. public $CancelURL;
  6425. /**
  6426. * The value 1 indicates that you require that the customer's
  6427. * shipping address on file with PayPal be a confirmed address.
  6428. * Setting this element overrides the setting you have
  6429. * specified in your Merchant Account Profile. Optional
  6430. * @access public
  6431. * @namespace ebl
  6432. * @var integer
  6433. */
  6434. public $AddressDisplayOptions;
  6435. /**
  6436. * The value 1 indicates that you require that the customer
  6437. * specifies a contact phone for the transactxion. Default is 0
  6438. * / none required. Optional
  6439. * @access public
  6440. * @namespace ebl
  6441. * @var integer
  6442. */
  6443. public $SharePhone;
  6444. /**
  6445. * Customer's shipping address. Optional
  6446. * @access public
  6447. * @namespace ebl
  6448. * @var AddressType
  6449. */
  6450. public $ShipToAddress;
  6451. /**
  6452. * Email address of the buyer as entered during checkout.
  6453. * PayPal uses this value to pre-fill the login portion of the
  6454. * PayPal login page. Optional Character length and limit: 127
  6455. * single-byte alphanumeric characters
  6456. * @access public
  6457. * @namespace ebl
  6458. * @var string
  6459. */
  6460. public $BuyerEmail;
  6461. /**
  6462. * Constructor with arguments
  6463. */
  6464. public function __construct($ItemAmount = NULL, $ItemName = NULL, $ReturnURL = NULL) {
  6465. $this->ItemAmount = $ItemAmount;
  6466. $this->ItemName = $ItemName;
  6467. $this->ReturnURL = $ReturnURL;
  6468. }
  6469. }
  6470. /**
  6471. * A free-form field for your own use, such as a tracking
  6472. * number or other value you want returned to you in IPN.
  6473. * Optional Character length and limitations: 256 single-byte
  6474. * alphanumeric characters
  6475. */
  6476. class DoMobileCheckoutPaymentResponseDetailsType
  6477. extends PPXmlMessage{
  6478. /**
  6479. * A free-form field for your own use, such as a tracking
  6480. * number or other value you want returned to you in IPN.
  6481. * Optional Character length and limitations: 256 single-byte
  6482. * alphanumeric characters
  6483. * @access public
  6484. * @namespace ebl
  6485. * @var string
  6486. */
  6487. public $Custom;
  6488. /**
  6489. * Your own unique invoice or tracking number. Optional
  6490. * Character length and limitations: 127 single-byte
  6491. * alphanumeric characters
  6492. * @access public
  6493. * @namespace ebl
  6494. * @var string
  6495. */
  6496. public $InvoiceID;
  6497. /**
  6498. * Information about the payer
  6499. * @access public
  6500. * @namespace ebl
  6501. * @var PayerInfoType
  6502. */
  6503. public $PayerInfo;
  6504. /**
  6505. * Information about the transaction
  6506. * @access public
  6507. * @namespace ebl
  6508. * @var PaymentInfoType
  6509. */
  6510. public $PaymentInfo;
  6511. }
  6512. /**
  6513. * UATP Card Details Type
  6514. */
  6515. class UATPDetailsType
  6516. extends PPXmlMessage{
  6517. /**
  6518. * UATP Card Number
  6519. * @access public
  6520. * @namespace ebl
  6521. * @var string
  6522. */
  6523. public $UATPNumber;
  6524. /**
  6525. * UATP Card expirty month
  6526. * @access public
  6527. * @namespace ebl
  6528. * @var integer
  6529. */
  6530. public $ExpMonth;
  6531. /**
  6532. * UATP Card expirty year
  6533. * @access public
  6534. * @namespace ebl
  6535. * @var integer
  6536. */
  6537. public $ExpYear;
  6538. }
  6539. /**
  6540. *
  6541. */
  6542. class RecurringPaymentsSummaryType
  6543. extends PPXmlMessage{
  6544. /**
  6545. *
  6546. * @access public
  6547. * @namespace ebl
  6548. * @var dateTime
  6549. */
  6550. public $NextBillingDate;
  6551. /**
  6552. *
  6553. * @access public
  6554. * @namespace ebl
  6555. * @var integer
  6556. */
  6557. public $NumberCyclesCompleted;
  6558. /**
  6559. *
  6560. * @access public
  6561. * @namespace ebl
  6562. * @var integer
  6563. */
  6564. public $NumberCyclesRemaining;
  6565. /**
  6566. *
  6567. * @access public
  6568. * @namespace ebl
  6569. * @var BasicAmountType
  6570. */
  6571. public $OutstandingBalance;
  6572. /**
  6573. *
  6574. * @access public
  6575. * @namespace ebl
  6576. * @var integer
  6577. */
  6578. public $FailedPaymentCount;
  6579. /**
  6580. *
  6581. * @access public
  6582. * @namespace ebl
  6583. * @var dateTime
  6584. */
  6585. public $LastPaymentDate;
  6586. /**
  6587. *
  6588. * @access public
  6589. * @namespace ebl
  6590. * @var BasicAmountType
  6591. */
  6592. public $LastPaymentAmount;
  6593. }
  6594. /**
  6595. *
  6596. */
  6597. class ActivationDetailsType
  6598. extends PPXmlMessage{
  6599. /**
  6600. *
  6601. * @access public
  6602. * @namespace ebl
  6603. * @var BasicAmountType
  6604. */
  6605. public $InitialAmount;
  6606. /**
  6607. *
  6608. * @access public
  6609. * @namespace ebl
  6610. * @var string
  6611. */
  6612. public $FailedInitialAmountAction;
  6613. /**
  6614. * Constructor with arguments
  6615. */
  6616. public function __construct($InitialAmount = NULL) {
  6617. $this->InitialAmount = $InitialAmount;
  6618. }
  6619. }
  6620. /**
  6621. * Unit of meausre for billing cycle
  6622. */
  6623. class BillingPeriodDetailsType
  6624. extends PPXmlMessage{
  6625. /**
  6626. * Unit of meausre for billing cycle
  6627. * @access public
  6628. * @namespace ebl
  6629. * @var string
  6630. */
  6631. public $BillingPeriod;
  6632. /**
  6633. * Number of BillingPeriod that make up one billing cycle
  6634. * @access public
  6635. * @namespace ebl
  6636. * @var integer
  6637. */
  6638. public $BillingFrequency;
  6639. /**
  6640. * Total billing cycles in this portion of the schedule
  6641. * @access public
  6642. * @namespace ebl
  6643. * @var integer
  6644. */
  6645. public $TotalBillingCycles;
  6646. /**
  6647. * Amount to charge
  6648. * @access public
  6649. * @namespace ebl
  6650. * @var BasicAmountType
  6651. */
  6652. public $Amount;
  6653. /**
  6654. * Additional shipping amount to charge
  6655. * @access public
  6656. * @namespace ebl
  6657. * @var BasicAmountType
  6658. */
  6659. public $ShippingAmount;
  6660. /**
  6661. * Additional tax amount to charge
  6662. * @access public
  6663. * @namespace ebl
  6664. * @var BasicAmountType
  6665. */
  6666. public $TaxAmount;
  6667. /**
  6668. * Constructor with arguments
  6669. */
  6670. public function __construct($BillingPeriod = NULL, $BillingFrequency = NULL, $Amount = NULL) {
  6671. $this->BillingPeriod = $BillingPeriod;
  6672. $this->BillingFrequency = $BillingFrequency;
  6673. $this->Amount = $Amount;
  6674. }
  6675. }
  6676. /**
  6677. * Unit of meausre for billing cycle
  6678. */
  6679. class BillingPeriodDetailsType_Update
  6680. extends PPXmlMessage{
  6681. /**
  6682. * Unit of meausre for billing cycle
  6683. * @access public
  6684. * @namespace ebl
  6685. * @var string
  6686. */
  6687. public $BillingPeriod;
  6688. /**
  6689. * Number of BillingPeriod that make up one billing cycle
  6690. * @access public
  6691. * @namespace ebl
  6692. * @var integer
  6693. */
  6694. public $BillingFrequency;
  6695. /**
  6696. * Total billing cycles in this portion of the schedule
  6697. * @access public
  6698. * @namespace ebl
  6699. * @var integer
  6700. */
  6701. public $TotalBillingCycles;
  6702. /**
  6703. * Amount to charge
  6704. * @access public
  6705. * @namespace ebl
  6706. * @var BasicAmountType
  6707. */
  6708. public $Amount;
  6709. /**
  6710. * Additional shipping amount to charge
  6711. * @access public
  6712. * @namespace ebl
  6713. * @var BasicAmountType
  6714. */
  6715. public $ShippingAmount;
  6716. /**
  6717. * Additional tax amount to charge
  6718. * @access public
  6719. * @namespace ebl
  6720. * @var BasicAmountType
  6721. */
  6722. public $TaxAmount;
  6723. }
  6724. /**
  6725. * Schedule details for the Recurring Payment
  6726. */
  6727. class ScheduleDetailsType
  6728. extends PPXmlMessage{
  6729. /**
  6730. * Schedule details for the Recurring Payment
  6731. * @access public
  6732. * @namespace ebl
  6733. * @var string
  6734. */
  6735. public $Description;
  6736. /**
  6737. * Trial period of this schedule
  6738. * @access public
  6739. * @namespace ebl
  6740. * @var BillingPeriodDetailsType
  6741. */
  6742. public $TrialPeriod;
  6743. /**
  6744. *
  6745. * @access public
  6746. * @namespace ebl
  6747. * @var BillingPeriodDetailsType
  6748. */
  6749. public $PaymentPeriod;
  6750. /**
  6751. * The max number of payments the buyer can fail before this
  6752. * Recurring Payments profile is cancelled
  6753. * @access public
  6754. * @namespace ebl
  6755. * @var integer
  6756. */
  6757. public $MaxFailedPayments;
  6758. /**
  6759. *
  6760. * @access public
  6761. * @namespace ebl
  6762. * @var ActivationDetailsType
  6763. */
  6764. public $ActivationDetails;
  6765. /**
  6766. *
  6767. * @access public
  6768. * @namespace ebl
  6769. * @var string
  6770. */
  6771. public $AutoBillOutstandingAmount;
  6772. /**
  6773. * Constructor with arguments
  6774. */
  6775. public function __construct($Description = NULL, $PaymentPeriod = NULL) {
  6776. $this->Description = $Description;
  6777. $this->PaymentPeriod = $PaymentPeriod;
  6778. }
  6779. }
  6780. /**
  6781. * Subscriber name - if missing, will use name in buyer's
  6782. * account
  6783. */
  6784. class RecurringPaymentsProfileDetailsType
  6785. extends PPXmlMessage{
  6786. /**
  6787. * Subscriber name - if missing, will use name in buyer's
  6788. * account
  6789. * @access public
  6790. * @namespace ebl
  6791. * @var string
  6792. */
  6793. public $SubscriberName;
  6794. /**
  6795. * Subscriber address - if missing, will use address in buyer's
  6796. * account
  6797. * @access public
  6798. * @namespace ebl
  6799. * @var AddressType
  6800. */
  6801. public $SubscriberShippingAddress;
  6802. /**
  6803. * When does this Profile begin billing?
  6804. * @access public
  6805. * @namespace ebl
  6806. * @var dateTime
  6807. */
  6808. public $BillingStartDate;
  6809. /**
  6810. * Your own unique invoice or tracking number. Optional
  6811. * Character length and limitations: 127 single-byte
  6812. * alphanumeric characters
  6813. * @access public
  6814. * @namespace ebl
  6815. * @var string
  6816. */
  6817. public $ProfileReference;
  6818. /**
  6819. * Constructor with arguments
  6820. */
  6821. public function __construct($BillingStartDate = NULL) {
  6822. $this->BillingStartDate = $BillingStartDate;
  6823. }
  6824. }
  6825. /**
  6826. * Billing Agreement token (required if Express Checkout)
  6827. */
  6828. class CreateRecurringPaymentsProfileRequestDetailsType
  6829. extends PPXmlMessage{
  6830. /**
  6831. * Billing Agreement token (required if Express Checkout)
  6832. * @access public
  6833. * @namespace ebl
  6834. * @var string
  6835. */
  6836. public $Token;
  6837. /**
  6838. * Information about the credit card to be charged (required if
  6839. * Direct Payment)
  6840. * @access public
  6841. * @namespace ebl
  6842. * @var CreditCardDetailsType
  6843. */
  6844. public $CreditCard;
  6845. /**
  6846. * Customer Information for this Recurring Payments
  6847. * @access public
  6848. * @namespace ebl
  6849. * @var RecurringPaymentsProfileDetailsType
  6850. */
  6851. public $RecurringPaymentsProfileDetails;
  6852. /**
  6853. * Schedule Information for this Recurring Payments
  6854. * @access public
  6855. * @namespace ebl
  6856. * @var ScheduleDetailsType
  6857. */
  6858. public $ScheduleDetails;
  6859. /**
  6860. * Information about the Item Details.
  6861. * @array
  6862. * @access public
  6863. * @namespace ebl
  6864. * @var PaymentDetailsItemType
  6865. */
  6866. public $PaymentDetailsItem;
  6867. /**
  6868. * Constructor with arguments
  6869. */
  6870. public function __construct($RecurringPaymentsProfileDetails = NULL, $ScheduleDetails = NULL) {
  6871. $this->RecurringPaymentsProfileDetails = $RecurringPaymentsProfileDetails;
  6872. $this->ScheduleDetails = $ScheduleDetails;
  6873. }
  6874. }
  6875. /**
  6876. * Recurring Billing Profile ID
  6877. */
  6878. class CreateRecurringPaymentsProfileResponseDetailsType
  6879. extends PPXmlMessage{
  6880. /**
  6881. * Recurring Billing Profile ID
  6882. * @access public
  6883. * @namespace ebl
  6884. * @var string
  6885. */
  6886. public $ProfileID;
  6887. /**
  6888. * Recurring Billing Profile Status
  6889. * @access public
  6890. * @namespace ebl
  6891. * @var string
  6892. */
  6893. public $ProfileStatus;
  6894. /**
  6895. * Transaction id from DCC initial payment
  6896. * @access public
  6897. * @namespace ebl
  6898. * @var string
  6899. */
  6900. public $TransactionID;
  6901. /**
  6902. * Response from DCC initial payment
  6903. * @access public
  6904. * @namespace ebl
  6905. * @var string
  6906. */
  6907. public $DCCProcessorResponse;
  6908. /**
  6909. * Return code if DCC initial payment fails
  6910. * @access public
  6911. * @namespace ebl
  6912. * @var string
  6913. */
  6914. public $DCCReturnCode;
  6915. }
  6916. /**
  6917. * Recurring Billing Profile ID
  6918. */
  6919. class GetRecurringPaymentsProfileDetailsResponseDetailsType
  6920. extends PPXmlMessage{
  6921. /**
  6922. * Recurring Billing Profile ID
  6923. * @access public
  6924. * @namespace ebl
  6925. * @var string
  6926. */
  6927. public $ProfileID;
  6928. /**
  6929. *
  6930. * @access public
  6931. * @namespace ebl
  6932. * @var string
  6933. */
  6934. public $ProfileStatus;
  6935. /**
  6936. *
  6937. * @access public
  6938. * @namespace ebl
  6939. * @var string
  6940. */
  6941. public $Description;
  6942. /**
  6943. *
  6944. * @access public
  6945. * @namespace ebl
  6946. * @var string
  6947. */
  6948. public $AutoBillOutstandingAmount;
  6949. /**
  6950. *
  6951. * @access public
  6952. * @namespace ebl
  6953. * @var integer
  6954. */
  6955. public $MaxFailedPayments;
  6956. /**
  6957. *
  6958. * @access public
  6959. * @namespace ebl
  6960. * @var RecurringPaymentsProfileDetailsType
  6961. */
  6962. public $RecurringPaymentsProfileDetails;
  6963. /**
  6964. *
  6965. * @access public
  6966. * @namespace ebl
  6967. * @var BillingPeriodDetailsType
  6968. */
  6969. public $CurrentRecurringPaymentsPeriod;
  6970. /**
  6971. *
  6972. * @access public
  6973. * @namespace ebl
  6974. * @var RecurringPaymentsSummaryType
  6975. */
  6976. public $RecurringPaymentsSummary;
  6977. /**
  6978. *
  6979. * @access public
  6980. * @namespace ebl
  6981. * @var CreditCardDetailsType
  6982. */
  6983. public $CreditCard;
  6984. /**
  6985. *
  6986. * @access public
  6987. * @namespace ebl
  6988. * @var BillingPeriodDetailsType
  6989. */
  6990. public $TrialRecurringPaymentsPeriod;
  6991. /**
  6992. *
  6993. * @access public
  6994. * @namespace ebl
  6995. * @var BillingPeriodDetailsType
  6996. */
  6997. public $RegularRecurringPaymentsPeriod;
  6998. /**
  6999. *
  7000. * @access public
  7001. * @namespace ebl
  7002. * @var BasicAmountType
  7003. */
  7004. public $TrialAmountPaid;
  7005. /**
  7006. *
  7007. * @access public
  7008. * @namespace ebl
  7009. * @var BasicAmountType
  7010. */
  7011. public $RegularAmountPaid;
  7012. /**
  7013. *
  7014. * @access public
  7015. * @namespace ebl
  7016. * @var BasicAmountType
  7017. */
  7018. public $AggregateAmount;
  7019. /**
  7020. *
  7021. * @access public
  7022. * @namespace ebl
  7023. * @var BasicAmountType
  7024. */
  7025. public $AggregateOptionalAmount;
  7026. /**
  7027. *
  7028. * @access public
  7029. * @namespace ebl
  7030. * @var dateTime
  7031. */
  7032. public $FinalPaymentDueDate;
  7033. }
  7034. /**
  7035. *
  7036. */
  7037. class ManageRecurringPaymentsProfileStatusRequestDetailsType
  7038. extends PPXmlMessage{
  7039. /**
  7040. *
  7041. * @access public
  7042. * @namespace ebl
  7043. * @var string
  7044. */
  7045. public $ProfileID;
  7046. /**
  7047. *
  7048. * @access public
  7049. * @namespace ebl
  7050. * @var string
  7051. */
  7052. public $Action;
  7053. /**
  7054. *
  7055. * @access public
  7056. * @namespace ebl
  7057. * @var string
  7058. */
  7059. public $Note;
  7060. /**
  7061. * Constructor with arguments
  7062. */
  7063. public function __construct($ProfileID = NULL, $Action = NULL) {
  7064. $this->ProfileID = $ProfileID;
  7065. $this->Action = $Action;
  7066. }
  7067. }
  7068. /**
  7069. *
  7070. */
  7071. class ManageRecurringPaymentsProfileStatusResponseDetailsType
  7072. extends PPXmlMessage{
  7073. /**
  7074. *
  7075. * @access public
  7076. * @namespace ebl
  7077. * @var string
  7078. */
  7079. public $ProfileID;
  7080. }
  7081. /**
  7082. *
  7083. */
  7084. class BillOutstandingAmountRequestDetailsType
  7085. extends PPXmlMessage{
  7086. /**
  7087. *
  7088. * @access public
  7089. * @namespace ebl
  7090. * @var string
  7091. */
  7092. public $ProfileID;
  7093. /**
  7094. *
  7095. * @access public
  7096. * @namespace ebl
  7097. * @var BasicAmountType
  7098. */
  7099. public $Amount;
  7100. /**
  7101. *
  7102. * @access public
  7103. * @namespace ebl
  7104. * @var string
  7105. */
  7106. public $Note;
  7107. /**
  7108. * Constructor with arguments
  7109. */
  7110. public function __construct($ProfileID = NULL) {
  7111. $this->ProfileID = $ProfileID;
  7112. }
  7113. }
  7114. /**
  7115. *
  7116. */
  7117. class BillOutstandingAmountResponseDetailsType
  7118. extends PPXmlMessage{
  7119. /**
  7120. *
  7121. * @access public
  7122. * @namespace ebl
  7123. * @var string
  7124. */
  7125. public $ProfileID;
  7126. }
  7127. /**
  7128. *
  7129. */
  7130. class UpdateRecurringPaymentsProfileRequestDetailsType
  7131. extends PPXmlMessage{
  7132. /**
  7133. *
  7134. * @access public
  7135. * @namespace ebl
  7136. * @var string
  7137. */
  7138. public $ProfileID;
  7139. /**
  7140. *
  7141. * @access public
  7142. * @namespace ebl
  7143. * @var string
  7144. */
  7145. public $Note;
  7146. /**
  7147. *
  7148. * @access public
  7149. * @namespace ebl
  7150. * @var string
  7151. */
  7152. public $Description;
  7153. /**
  7154. *
  7155. * @access public
  7156. * @namespace ebl
  7157. * @var string
  7158. */
  7159. public $SubscriberName;
  7160. /**
  7161. *
  7162. * @access public
  7163. * @namespace ebl
  7164. * @var AddressType
  7165. */
  7166. public $SubscriberShippingAddress;
  7167. /**
  7168. *
  7169. * @access public
  7170. * @namespace ebl
  7171. * @var string
  7172. */
  7173. public $ProfileReference;
  7174. /**
  7175. *
  7176. * @access public
  7177. * @namespace ebl
  7178. * @var integer
  7179. */
  7180. public $AdditionalBillingCycles;
  7181. /**
  7182. *
  7183. * @access public
  7184. * @namespace ebl
  7185. * @var BasicAmountType
  7186. */
  7187. public $Amount;
  7188. /**
  7189. *
  7190. * @access public
  7191. * @namespace ebl
  7192. * @var BasicAmountType
  7193. */
  7194. public $ShippingAmount;
  7195. /**
  7196. *
  7197. * @access public
  7198. * @namespace ebl
  7199. * @var BasicAmountType
  7200. */
  7201. public $TaxAmount;
  7202. /**
  7203. *
  7204. * @access public
  7205. * @namespace ebl
  7206. * @var BasicAmountType
  7207. */
  7208. public $OutstandingBalance;
  7209. /**
  7210. *
  7211. * @access public
  7212. * @namespace ebl
  7213. * @var string
  7214. */
  7215. public $AutoBillOutstandingAmount;
  7216. /**
  7217. *
  7218. * @access public
  7219. * @namespace ebl
  7220. * @var integer
  7221. */
  7222. public $MaxFailedPayments;
  7223. /**
  7224. * Information about the credit card to be charged (required if
  7225. * Direct Payment)
  7226. * @access public
  7227. * @namespace ebl
  7228. * @var CreditCardDetailsType
  7229. */
  7230. public $CreditCard;
  7231. /**
  7232. * When does this Profile begin billing?
  7233. * @access public
  7234. * @namespace ebl
  7235. * @var dateTime
  7236. */
  7237. public $BillingStartDate;
  7238. /**
  7239. * Trial period of this schedule
  7240. * @access public
  7241. * @namespace ebl
  7242. * @var BillingPeriodDetailsType_Update
  7243. */
  7244. public $TrialPeriod;
  7245. /**
  7246. *
  7247. * @access public
  7248. * @namespace ebl
  7249. * @var BillingPeriodDetailsType_Update
  7250. */
  7251. public $PaymentPeriod;
  7252. /**
  7253. * Constructor with arguments
  7254. */
  7255. public function __construct($ProfileID = NULL) {
  7256. $this->ProfileID = $ProfileID;
  7257. }
  7258. }
  7259. /**
  7260. *
  7261. */
  7262. class UpdateRecurringPaymentsProfileResponseDetailsType
  7263. extends PPXmlMessage{
  7264. /**
  7265. *
  7266. * @access public
  7267. * @namespace ebl
  7268. * @var string
  7269. */
  7270. public $ProfileID;
  7271. }
  7272. /**
  7273. * Details of Risk Filter.
  7274. */
  7275. class RiskFilterDetailsType
  7276. extends PPXmlMessage{
  7277. /**
  7278. *
  7279. * @access public
  7280. * @namespace ebl
  7281. * @var integer
  7282. */
  7283. public $Id;
  7284. /**
  7285. *
  7286. * @access public
  7287. * @namespace ebl
  7288. * @var string
  7289. */
  7290. public $Name;
  7291. /**
  7292. *
  7293. * @access public
  7294. * @namespace ebl
  7295. * @var string
  7296. */
  7297. public $Description;
  7298. }
  7299. /**
  7300. * Details of Risk Filter.
  7301. */
  7302. class RiskFilterListType
  7303. extends PPXmlMessage{
  7304. /**
  7305. *
  7306. * @array
  7307. * @access public
  7308. * @namespace ebl
  7309. * @var RiskFilterDetailsType
  7310. */
  7311. public $Filters;
  7312. }
  7313. /**
  7314. * Thes are filters that could result in accept/deny/pending
  7315. * action.
  7316. */
  7317. class FMFDetailsType
  7318. extends PPXmlMessage{
  7319. /**
  7320. *
  7321. * @access public
  7322. * @namespace ebl
  7323. * @var RiskFilterListType
  7324. */
  7325. public $AcceptFilters;
  7326. /**
  7327. *
  7328. * @access public
  7329. * @namespace ebl
  7330. * @var RiskFilterListType
  7331. */
  7332. public $PendingFilters;
  7333. /**
  7334. *
  7335. * @access public
  7336. * @namespace ebl
  7337. * @var RiskFilterListType
  7338. */
  7339. public $DenyFilters;
  7340. /**
  7341. *
  7342. * @access public
  7343. * @namespace ebl
  7344. * @var RiskFilterListType
  7345. */
  7346. public $ReportFilters;
  7347. }
  7348. /**
  7349. * Enhanced Data Information. Example: AID for Airlines
  7350. */
  7351. class EnhancedDataType
  7352. extends PPXmlMessage{
  7353. /**
  7354. *
  7355. * @access public
  7356. * @namespace ebl
  7357. * @var AirlineItineraryType
  7358. */
  7359. public $AirlineItinerary;
  7360. }
  7361. /**
  7362. * AID for Airlines
  7363. */
  7364. class AirlineItineraryType
  7365. extends PPXmlMessage{
  7366. /**
  7367. *
  7368. * @access public
  7369. * @namespace ebl
  7370. * @var string
  7371. */
  7372. public $PassengerName;
  7373. /**
  7374. *
  7375. * @access public
  7376. * @namespace ebl
  7377. * @var string
  7378. */
  7379. public $IssueDate;
  7380. /**
  7381. *
  7382. * @access public
  7383. * @namespace ebl
  7384. * @var string
  7385. */
  7386. public $TravelAgencyName;
  7387. /**
  7388. *
  7389. * @access public
  7390. * @namespace ebl
  7391. * @var string
  7392. */
  7393. public $TravelAgencyCode;
  7394. /**
  7395. *
  7396. * @access public
  7397. * @namespace ebl
  7398. * @var string
  7399. */
  7400. public $TicketNumber;
  7401. /**
  7402. *
  7403. * @access public
  7404. * @namespace ebl
  7405. * @var string
  7406. */
  7407. public $IssuingCarrierCode;
  7408. /**
  7409. *
  7410. * @access public
  7411. * @namespace ebl
  7412. * @var string
  7413. */
  7414. public $CustomerCode;
  7415. /**
  7416. *
  7417. * @access public
  7418. * @namespace ebl
  7419. * @var BasicAmountType
  7420. */
  7421. public $TotalFare;
  7422. /**
  7423. *
  7424. * @access public
  7425. * @namespace ebl
  7426. * @var BasicAmountType
  7427. */
  7428. public $TotalTaxes;
  7429. /**
  7430. *
  7431. * @access public
  7432. * @namespace ebl
  7433. * @var BasicAmountType
  7434. */
  7435. public $TotalFee;
  7436. /**
  7437. *
  7438. * @access public
  7439. * @namespace ebl
  7440. * @var string
  7441. */
  7442. public $RestrictedTicket;
  7443. /**
  7444. *
  7445. * @access public
  7446. * @namespace ebl
  7447. * @var string
  7448. */
  7449. public $ClearingSequence;
  7450. /**
  7451. *
  7452. * @access public
  7453. * @namespace ebl
  7454. * @var string
  7455. */
  7456. public $ClearingCount;
  7457. /**
  7458. *
  7459. * @array
  7460. * @access public
  7461. * @namespace ebl
  7462. * @var FlightDetailsType
  7463. */
  7464. public $FlightDetails;
  7465. }
  7466. /**
  7467. * Details of leg information
  7468. */
  7469. class FlightDetailsType
  7470. extends PPXmlMessage{
  7471. /**
  7472. *
  7473. * @access public
  7474. * @namespace ebl
  7475. * @var string
  7476. */
  7477. public $ConjuctionTicket;
  7478. /**
  7479. *
  7480. * @access public
  7481. * @namespace ebl
  7482. * @var string
  7483. */
  7484. public $ExchangeTicket;
  7485. /**
  7486. *
  7487. * @access public
  7488. * @namespace ebl
  7489. * @var string
  7490. */
  7491. public $CouponNumber;
  7492. /**
  7493. *
  7494. * @access public
  7495. * @namespace ebl
  7496. * @var string
  7497. */
  7498. public $ServiceClass;
  7499. /**
  7500. *
  7501. * @access public
  7502. * @namespace ebl
  7503. * @var string
  7504. */
  7505. public $TravelDate;
  7506. /**
  7507. *
  7508. * @access public
  7509. * @namespace ebl
  7510. * @var string
  7511. */
  7512. public $CarrierCode;
  7513. /**
  7514. *
  7515. * @access public
  7516. * @namespace ebl
  7517. * @var string
  7518. */
  7519. public $StopOverPermitted;
  7520. /**
  7521. *
  7522. * @access public
  7523. * @namespace ebl
  7524. * @var string
  7525. */
  7526. public $DepartureAirport;
  7527. /**
  7528. *
  7529. * @access public
  7530. * @namespace ebl
  7531. * @var string
  7532. */
  7533. public $ArrivalAirport;
  7534. /**
  7535. *
  7536. * @access public
  7537. * @namespace ebl
  7538. * @var string
  7539. */
  7540. public $FlightNumber;
  7541. /**
  7542. *
  7543. * @access public
  7544. * @namespace ebl
  7545. * @var string
  7546. */
  7547. public $DepartureTime;
  7548. /**
  7549. *
  7550. * @access public
  7551. * @namespace ebl
  7552. * @var string
  7553. */
  7554. public $ArrivalTime;
  7555. /**
  7556. *
  7557. * @access public
  7558. * @namespace ebl
  7559. * @var string
  7560. */
  7561. public $FareBasisCode;
  7562. /**
  7563. *
  7564. * @access public
  7565. * @namespace ebl
  7566. * @var BasicAmountType
  7567. */
  7568. public $Fare;
  7569. /**
  7570. *
  7571. * @access public
  7572. * @namespace ebl
  7573. * @var BasicAmountType
  7574. */
  7575. public $Taxes;
  7576. /**
  7577. *
  7578. * @access public
  7579. * @namespace ebl
  7580. * @var BasicAmountType
  7581. */
  7582. public $Fee;
  7583. /**
  7584. *
  7585. * @access public
  7586. * @namespace ebl
  7587. * @var string
  7588. */
  7589. public $EndorsementOrRestrictions;
  7590. }
  7591. /**
  7592. * Authorization details
  7593. */
  7594. class AuthorizationInfoType
  7595. extends PPXmlMessage{
  7596. /**
  7597. * The status of the payment: Pending: The payment is pending.
  7598. * See "PendingReason" for more information.
  7599. * @access public
  7600. * @namespace ebl
  7601. * @var string
  7602. */
  7603. public $PaymentStatus;
  7604. /**
  7605. * The reason the payment is pending:none: No pending reason
  7606. * address: The payment is pending because your customer did
  7607. * not include a confirmed shipping address and your Payment
  7608. * Receiving Preferences is set such that you want to manually
  7609. * accept or deny each of these payments. To change your
  7610. * preference, go to the Preferences section of your Profile.
  7611. * authorization: The authorization is pending at time of
  7612. * creation if payment is not under review echeck: The payment
  7613. * is pending because it was made by an eCheck that has not yet
  7614. * cleared. intl: The payment is pending because you hold a
  7615. * non-U.S. account and do not have a withdrawal mechanism. You
  7616. * must manually accept or deny this payment from your Account
  7617. * Overview. multi-currency: You do not have a balance in the
  7618. * currency sent, and you do not have your Payment Receiving
  7619. * Preferences set to automatically convert and accept this
  7620. * payment. You must manually accept or deny this payment.
  7621. * unilateral: The payment is pending because it was made to an
  7622. * email address that is not yet registered or confirmed.
  7623. * upgrade: The payment is pending because it was made via
  7624. * credit card and you must upgrade your account to Business or
  7625. * Premier status in order to receive the funds. upgrade can
  7626. * also mean that you have reached the monthly limit for
  7627. * transactions on your account. verify: The payment is pending
  7628. * because you are not yet verified. You must verify your
  7629. * account before you can accept this payment. payment_review:
  7630. * The payment is pending because it is under payment review.
  7631. * other: The payment is pending for a reason other than those
  7632. * listed above. For more information, contact PayPal Customer
  7633. * Service.
  7634. * @access public
  7635. * @namespace ebl
  7636. * @var string
  7637. */
  7638. public $PendingReason;
  7639. /**
  7640. * Protection Eligibility for this Transaction - None, SPP or
  7641. * ESPP
  7642. * @access public
  7643. * @namespace ebl
  7644. * @var string
  7645. */
  7646. public $ProtectionEligibility;
  7647. /**
  7648. * Protection Eligibility Type for this Transaction
  7649. * @access public
  7650. * @namespace ebl
  7651. * @var string
  7652. */
  7653. public $ProtectionEligibilityType;
  7654. }
  7655. /**
  7656. * Option Number. Optional
  7657. */
  7658. class OptionTrackingDetailsType
  7659. extends PPXmlMessage{
  7660. /**
  7661. * Option Number. Optional
  7662. * @access public
  7663. * @namespace ebl
  7664. * @var string
  7665. */
  7666. public $OptionNumber;
  7667. /**
  7668. * Option Quantity. Optional
  7669. * @access public
  7670. * @namespace ebl
  7671. * @var string
  7672. */
  7673. public $OptionQty;
  7674. /**
  7675. * Option Select Name. Optional
  7676. * @access public
  7677. * @namespace ebl
  7678. * @var string
  7679. */
  7680. public $OptionSelect;
  7681. /**
  7682. * Option Quantity Delta. Optional
  7683. * @access public
  7684. * @namespace ebl
  7685. * @var string
  7686. */
  7687. public $OptionQtyDelta;
  7688. /**
  7689. * Option Alert. Optional
  7690. * @access public
  7691. * @namespace ebl
  7692. * @var string
  7693. */
  7694. public $OptionAlert;
  7695. /**
  7696. * Option Cost. Optional
  7697. * @access public
  7698. * @namespace ebl
  7699. * @var string
  7700. */
  7701. public $OptionCost;
  7702. }
  7703. /**
  7704. * Item Number. Required
  7705. */
  7706. class ItemTrackingDetailsType
  7707. extends PPXmlMessage{
  7708. /**
  7709. * Item Number. Required
  7710. * @access public
  7711. * @namespace ebl
  7712. * @var string
  7713. */
  7714. public $ItemNumber;
  7715. /**
  7716. * Option Quantity. Optional
  7717. * @access public
  7718. * @namespace ebl
  7719. * @var string
  7720. */
  7721. public $ItemQty;
  7722. /**
  7723. * Item Quantity Delta. Optional
  7724. * @access public
  7725. * @namespace ebl
  7726. * @var string
  7727. */
  7728. public $ItemQtyDelta;
  7729. /**
  7730. * Item Alert. Optional
  7731. * @access public
  7732. * @namespace ebl
  7733. * @var string
  7734. */
  7735. public $ItemAlert;
  7736. /**
  7737. * Item Cost. Optional
  7738. * @access public
  7739. * @namespace ebl
  7740. * @var string
  7741. */
  7742. public $ItemCost;
  7743. }
  7744. /**
  7745. *
  7746. */
  7747. class ButtonSearchResultType
  7748. extends PPXmlMessage{
  7749. /**
  7750. *
  7751. * @access public
  7752. * @namespace ebl
  7753. * @var string
  7754. */
  7755. public $HostedButtonID;
  7756. /**
  7757. *
  7758. * @access public
  7759. * @namespace ebl
  7760. * @var string
  7761. */
  7762. public $ButtonType;
  7763. /**
  7764. *
  7765. * @access public
  7766. * @namespace ebl
  7767. * @var string
  7768. */
  7769. public $ItemName;
  7770. /**
  7771. *
  7772. * @access public
  7773. * @namespace ebl
  7774. * @var dateTime
  7775. */
  7776. public $ModifyDate;
  7777. }
  7778. /**
  7779. * Identifier of the transaction to reverse. Required Character
  7780. * length and limitations: 17 single-byte alphanumeric
  7781. * characters
  7782. */
  7783. class ReverseTransactionRequestDetailsType
  7784. extends PPXmlMessage{
  7785. /**
  7786. * Identifier of the transaction to reverse. Required Character
  7787. * length and limitations: 17 single-byte alphanumeric
  7788. * characters
  7789. * @access public
  7790. * @namespace ebl
  7791. * @var string
  7792. */
  7793. public $TransactionID;
  7794. }
  7795. /**
  7796. * Unique transaction identifier of the reversal transaction
  7797. * created. Character length and limitations:17 single-byte
  7798. * characters
  7799. */
  7800. class ReverseTransactionResponseDetailsType
  7801. extends PPXmlMessage{
  7802. /**
  7803. * Unique transaction identifier of the reversal transaction
  7804. * created. Character length and limitations:17 single-byte
  7805. * characters
  7806. * @access public
  7807. * @namespace ebl
  7808. * @var string
  7809. */
  7810. public $ReverseTransactionID;
  7811. /**
  7812. * Status of reversal request. Required
  7813. * @access public
  7814. * @namespace ebl
  7815. * @var string
  7816. */
  7817. public $Status;
  7818. }
  7819. /**
  7820. * Details of incentive application on individual bucket.
  7821. */
  7822. class IncentiveInfoType
  7823. extends PPXmlMessage{
  7824. /**
  7825. * Incentive redemption code.
  7826. * @access public
  7827. * @namespace ebl
  7828. * @var string
  7829. */
  7830. public $IncentiveCode;
  7831. /**
  7832. * Defines which bucket or item that the incentive should be
  7833. * applied to.
  7834. * @array
  7835. * @access public
  7836. * @namespace ebl
  7837. * @var IncentiveApplyIndicationType
  7838. */
  7839. public $ApplyIndication;
  7840. }
  7841. /**
  7842. * Defines which bucket or item that the incentive should be
  7843. * applied to.
  7844. */
  7845. class IncentiveApplyIndicationType
  7846. extends PPXmlMessage{
  7847. /**
  7848. * The Bucket ID that the incentive is applied to.
  7849. * @access public
  7850. * @namespace ebl
  7851. * @var string
  7852. */
  7853. public $PaymentRequestID;
  7854. /**
  7855. * The item that the incentive is applied to.
  7856. * @access public
  7857. * @namespace ebl
  7858. * @var string
  7859. */
  7860. public $ItemId;
  7861. }
  7862. /**
  7863. * Contains payment request information for each bucket in the
  7864. * cart.
  7865. */
  7866. class PaymentRequestInfoType
  7867. extends PPXmlMessage{
  7868. /**
  7869. * Contains the transaction id of the bucket.
  7870. * @access public
  7871. * @namespace ebl
  7872. * @var string
  7873. */
  7874. public $TransactionId;
  7875. /**
  7876. * Contains the bucket id.
  7877. * @access public
  7878. * @namespace ebl
  7879. * @var string
  7880. */
  7881. public $PaymentRequestID;
  7882. /**
  7883. * Contains the error details.
  7884. * @access public
  7885. * @namespace ebl
  7886. * @var ErrorType
  7887. */
  7888. public $PaymentError;
  7889. }
  7890. /**
  7891. * E-mail address or secure merchant account ID of merchant to
  7892. * associate with new external remember-me.
  7893. */
  7894. class ExternalRememberMeOwnerDetailsType
  7895. extends PPXmlMessage{
  7896. /**
  7897. * A discriminant that tells SetEC what kind of data the
  7898. * ExternalRememberMeOwnerID parameter contains. Currently, the
  7899. * owner must be either the API actor or omitted/none. In the
  7900. * future, we may allow the owner to be a 3rd party merchant
  7901. * account. Possible values are: None, ignore the
  7902. * ExternalRememberMeOwnerID. An empty value for this field
  7903. * also signifies None. Email, the owner ID is an email address
  7904. * SecureMerchantAccountID, the owner id is a string
  7905. * representing the secure merchant account ID
  7906. * @access public
  7907. * @namespace ebl
  7908. * @var string
  7909. */
  7910. public $ExternalRememberMeOwnerIDType;
  7911. /**
  7912. * When opting in to bypass login via remember me, this
  7913. * parameter specifies the merchant account associated with the
  7914. * remembered login. Currentl, the owner must be either the API
  7915. * actor or omitted/none. In the future, we may allow the owner
  7916. * to be a 3rd party merchant account. If the Owner ID Type
  7917. * field is not present or "None", this parameter is ignored.
  7918. * @access public
  7919. * @namespace ebl
  7920. * @var string
  7921. */
  7922. public $ExternalRememberMeOwnerID;
  7923. }
  7924. /**
  7925. * This element contains information that allows the merchant
  7926. * to request to opt into external remember me on behalf of the
  7927. * buyer or to request login bypass using external remember me.
  7928. *
  7929. */
  7930. class ExternalRememberMeOptInDetailsType
  7931. extends PPXmlMessage{
  7932. /**
  7933. * 1 = opt in to external remember me. 0 or omitted = no opt-in
  7934. * Other values are invalid
  7935. * @access public
  7936. * @namespace ebl
  7937. * @var string
  7938. */
  7939. public $ExternalRememberMeOptIn;
  7940. /**
  7941. * E-mail address or secure merchant account ID of merchant to
  7942. * associate with new external remember-me. Currently, the
  7943. * owner must be either the API actor or omitted/none. In the
  7944. * future, we may allow the owner to be a 3rd party merchant
  7945. * account.
  7946. * @access public
  7947. * @namespace ebl
  7948. * @var ExternalRememberMeOwnerDetailsType
  7949. */
  7950. public $ExternalRememberMeOwnerDetails;
  7951. }
  7952. /**
  7953. * An optional set of values related to flow-specific details.
  7954. */
  7955. class FlowControlDetailsType
  7956. extends PPXmlMessage{
  7957. /**
  7958. * The URL to redirect to for an unpayable transaction. This
  7959. * field is currently used only for the inline checkout flow.
  7960. * @access public
  7961. * @namespace ebl
  7962. * @var string
  7963. */
  7964. public $ErrorURL;
  7965. /**
  7966. * The URL to redirect to after a user clicks the "Pay" or
  7967. * "Continue" button on the merchant's site. This field is
  7968. * currently used only for the inline checkout flow.
  7969. * @access public
  7970. * @namespace ebl
  7971. * @var string
  7972. */
  7973. public $InContextReturnURL;
  7974. }
  7975. /**
  7976. * Response information resulting from opt-in operation or
  7977. * current login bypass status.
  7978. */
  7979. class ExternalRememberMeStatusDetailsType
  7980. extends PPXmlMessage{
  7981. /**
  7982. * Required field that reports status of opt-in or login bypass
  7983. * attempt. 0 = Success - successful opt-in or
  7984. * ExternalRememberMeID specified in SetExpressCheckout is
  7985. * valid. 1 = Invalid ID - ExternalRememberMeID specified in
  7986. * SetExpressCheckout is invalid. 2 = Internal Error - System
  7987. * error or outage during opt-in or login bypass. Can retry
  7988. * opt-in or login bypass next time. Flow will force full
  7989. * authentication and allow buyer to complete transaction. -1 =
  7990. * None - the return value does not signify any valid remember
  7991. * me status.
  7992. * @access public
  7993. * @namespace ebl
  7994. * @var integer
  7995. */
  7996. public $ExternalRememberMeStatus;
  7997. /**
  7998. * Identifier returned on external-remember-me-opt-in to allow
  7999. * the merchant to request bypass of PayPal login through
  8000. * external remember me on behalf of the buyer in future
  8001. * transactions. The ExternalRememberMeID is a 17-character
  8002. * alphanumeric (encrypted) string. This field has meaning only
  8003. * to the merchant.
  8004. * @access public
  8005. * @namespace ebl
  8006. * @var string
  8007. */
  8008. public $ExternalRememberMeID;
  8009. }
  8010. /**
  8011. * Response information resulting from opt-in operation or
  8012. * current login bypass status.
  8013. */
  8014. class RefreshTokenStatusDetailsType
  8015. extends PPXmlMessage{
  8016. /**
  8017. * Required field that reports status of opt-in or login bypass
  8018. * attempt. 0 = Success, successful opt-in or RefreshToken
  8019. * corresponding to AccessToken specified in
  8020. * SetExpressCheckout is valid (user is still opted in). 1 =
  8021. * New RefreshToken was generated (user is still opted in). 2
  8022. * = Invalid ID, RefreshToken corresponding to AccessToken
  8023. * specified in SetExpressCheckout is invalid (user is opted
  8024. * out). -2 = Internal Error, system error or outage during
  8025. * opt-in or login bypass. Can retry opt-in or login bypass
  8026. * next time. Flow will force full authentication and allow
  8027. * buyer to complete transaction. -1 = None, the field does not
  8028. * represent any valid value of the status.
  8029. * @access public
  8030. * @namespace ebl
  8031. * @var integer
  8032. */
  8033. public $RefreshTokenStatus;
  8034. /**
  8035. * Identifier returned on external-remember-me-opt-in to allow
  8036. * the merchant to request bypass of PayPal login
  8037. * @access public
  8038. * @namespace ebl
  8039. * @var string
  8040. */
  8041. public $RefreshToken;
  8042. /**
  8043. * The immutable_id is the user's unique value per merchant
  8044. * that should never ever change for that account. This would
  8045. * be the key used to uniquely identify the user
  8046. * @access public
  8047. * @namespace ebl
  8048. * @var string
  8049. */
  8050. public $ImmutableID;
  8051. }
  8052. /**
  8053. * Contains elements that allows customization of display (user
  8054. * interface) elements.
  8055. */
  8056. class DisplayControlDetailsType
  8057. extends PPXmlMessage{
  8058. /**
  8059. * Optional URL to pay button image for the inline checkout
  8060. * flow. Currently applicable only to the inline checkout flow
  8061. * when the FlowControlDetails/InlineReturnURL is present.
  8062. * @access public
  8063. * @namespace ebl
  8064. * @var string
  8065. */
  8066. public $InContextPaymentButtonImage;
  8067. }
  8068. /**
  8069. * Contains elements that allow tracking for an external
  8070. * partner.
  8071. */
  8072. class ExternalPartnerTrackingDetailsType
  8073. extends PPXmlMessage{
  8074. /**
  8075. * PayPal will just log this string. There will NOT be any
  8076. * business logic around it, nor any decisions made based on
  8077. * the value of the string that is passed in. From a
  8078. * tracking/analytical perspective, PayPal would not infer any
  8079. * meaning to any specific value. We would just segment the
  8080. * traffic based on the value passed (Cart and None as an
  8081. * example) and track different metrics like risk/conversion
  8082. * etc based on these segments. The external partner would
  8083. * control the value of what gets passed and we take that value
  8084. * as is and generate data based on it. Optional
  8085. * @access public
  8086. * @namespace ebl
  8087. * @var string
  8088. */
  8089. public $ExternalPartnerSegmentID;
  8090. }
  8091. /**
  8092. * Store IDOptional Character length and limits: 50 single-byte
  8093. * characters
  8094. */
  8095. class MerchantStoreDetailsType
  8096. extends PPXmlMessage{
  8097. /**
  8098. * Store IDOptional Character length and limits: 50 single-byte
  8099. * characters
  8100. * @access public
  8101. * @namespace ebl
  8102. * @var string
  8103. */
  8104. public $StoreID;
  8105. /**
  8106. * Terminal IDOptional Character length and limits: 50
  8107. * single-byte characters
  8108. * @access public
  8109. * @namespace ebl
  8110. * @var string
  8111. */
  8112. public $TerminalID;
  8113. /**
  8114. * Constructor with arguments
  8115. */
  8116. public function __construct($StoreID = NULL) {
  8117. $this->StoreID = $StoreID;
  8118. }
  8119. }
  8120. /**
  8121. *
  8122. */
  8123. class AdditionalFeeType
  8124. extends PPXmlMessage{
  8125. /**
  8126. *
  8127. * @access public
  8128. * @namespace ebl
  8129. * @var string
  8130. */
  8131. public $Type;
  8132. /**
  8133. *
  8134. * @access public
  8135. * @namespace ebl
  8136. * @var BasicAmountType
  8137. */
  8138. public $Amount;
  8139. }
  8140. /**
  8141. * Describes discount information
  8142. */
  8143. class DiscountType
  8144. extends PPXmlMessage{
  8145. /**
  8146. * Item nameOptional Character length and limits: 127
  8147. * single-byte characters
  8148. * @access public
  8149. * @namespace ebl
  8150. * @var string
  8151. */
  8152. public $Name;
  8153. /**
  8154. * description of the discountOptional Character length and
  8155. * limits: 127 single-byte characters
  8156. * @access public
  8157. * @namespace ebl
  8158. * @var string
  8159. */
  8160. public $Description;
  8161. /**
  8162. * amount discountedOptional
  8163. * @access public
  8164. * @namespace ebl
  8165. * @var BasicAmountType
  8166. */
  8167. public $Amount;
  8168. /**
  8169. * offer typeOptional
  8170. * @access public
  8171. * @namespace ebl
  8172. * @var string
  8173. */
  8174. public $RedeemedOfferType;
  8175. /**
  8176. * offer IDOptional Character length and limits: 64 single-byte
  8177. * characters
  8178. * @access public
  8179. * @namespace ebl
  8180. * @var string
  8181. */
  8182. public $RedeemedOfferID;
  8183. /**
  8184. * Constructor with arguments
  8185. */
  8186. public function __construct($Amount = NULL) {
  8187. $this->Amount = $Amount;
  8188. }
  8189. }
  8190. /**
  8191. * Describes an individual item for an invoice.
  8192. */
  8193. class InvoiceItemType
  8194. extends PPXmlMessage{
  8195. /**
  8196. * a human readable item nameOptional Character length and
  8197. * limits: 127 single-byte characters
  8198. * @access public
  8199. * @namespace ebl
  8200. * @var string
  8201. */
  8202. public $Name;
  8203. /**
  8204. * a human readable item descriptionOptional Character length
  8205. * and limits: 127 single-byte characters
  8206. * @access public
  8207. * @namespace ebl
  8208. * @var string
  8209. */
  8210. public $Description;
  8211. /**
  8212. * The International Article Number or Universal Product Code
  8213. * (UPC) for the item. Empty string is allowed. Character
  8214. * length and limits: 17 single-byte characters
  8215. * @access public
  8216. * @namespace ebl
  8217. * @var string
  8218. */
  8219. public $EAN;
  8220. /**
  8221. * The Stock-Keeping Unit or other identification code assigned
  8222. * to the item. Character length and limits: 64 single-byte
  8223. * characters
  8224. * @access public
  8225. * @namespace ebl
  8226. * @var string
  8227. */
  8228. public $SKU;
  8229. /**
  8230. * A retailer could apply different return policies on
  8231. * different items. Each return policy would be identified
  8232. * using a label or identifier. This return policy identifier
  8233. * should be set here. This identifier will be displayed next
  8234. * to the item in the e-Receipt. Character length and limits: 8
  8235. * single-byte characters
  8236. * @access public
  8237. * @namespace ebl
  8238. * @var string
  8239. */
  8240. public $ReturnPolicyIdentifier;
  8241. /**
  8242. * total price of this item
  8243. * @access public
  8244. * @namespace ebl
  8245. * @var BasicAmountType
  8246. */
  8247. public $Price;
  8248. /**
  8249. * price per item quantity
  8250. * @access public
  8251. * @namespace ebl
  8252. * @var BasicAmountType
  8253. */
  8254. public $ItemPrice;
  8255. /**
  8256. * quantity of the item (non-negative)
  8257. * @access public
  8258. * @namespace ebl
  8259. * @var double
  8260. */
  8261. public $ItemCount;
  8262. /**
  8263. * Unit of measure for the itemCount
  8264. * @access public
  8265. * @namespace ebl
  8266. * @var string
  8267. */
  8268. public $ItemCountUnit;
  8269. /**
  8270. * discount applied to this item
  8271. * @array
  8272. * @access public
  8273. * @namespace ebl
  8274. * @var DiscountType
  8275. */
  8276. public $Discount;
  8277. /**
  8278. * identifies whether this item is taxable or not. If not
  8279. * passed, this will be assumed to be true.
  8280. * @access public
  8281. * @namespace ebl
  8282. * @var boolean
  8283. */
  8284. public $Taxable;
  8285. /**
  8286. * The tax percentage applied to the item. This is only used
  8287. * for displaying in the receipt, it is not used in pricing
  8288. * calculations. Note: we have totalTax at invoice level. It's
  8289. * up to the caller to do the calculations for setting that
  8290. * other element.
  8291. * @access public
  8292. * @namespace ebl
  8293. * @var double
  8294. */
  8295. public $TaxRate;
  8296. /**
  8297. * Additional fees to this item
  8298. * @array
  8299. * @access public
  8300. * @namespace ebl
  8301. * @var AdditionalFeeType
  8302. */
  8303. public $AdditionalFees;
  8304. /**
  8305. * identifies whether this is reimbursable or not. If not pass,
  8306. * this will be assumed to be true.
  8307. * @access public
  8308. * @namespace ebl
  8309. * @var boolean
  8310. */
  8311. public $Reimbursable;
  8312. /**
  8313. * Manufacturer part number.
  8314. * @access public
  8315. * @namespace ebl
  8316. * @var string
  8317. */
  8318. public $MPN;
  8319. /**
  8320. * International Standard Book Number. Reference
  8321. * http://en.wikipedia.org/wiki/ISBN Character length and
  8322. * limits: 32 single-byte characters
  8323. * @access public
  8324. * @namespace ebl
  8325. * @var string
  8326. */
  8327. public $ISBN;
  8328. /**
  8329. * Price Look-Up code Reference
  8330. * http://en.wikipedia.org/wiki/Price_Look-Up_code Character
  8331. * length and limits: 5 single-byte characters
  8332. * @access public
  8333. * @namespace ebl
  8334. * @var string
  8335. */
  8336. public $PLU;
  8337. /**
  8338. * Character length and limits: 32 single-byte characters
  8339. * @access public
  8340. * @namespace ebl
  8341. * @var string
  8342. */
  8343. public $ModelNumber;
  8344. /**
  8345. * Character length and limits: 32 single-byte characters
  8346. * @access public
  8347. * @namespace ebl
  8348. * @var string
  8349. */
  8350. public $StyleNumber;
  8351. }
  8352. /**
  8353. * Holds refunds payment status information
  8354. */
  8355. class RefundInfoType
  8356. extends PPXmlMessage{
  8357. /**
  8358. * Refund status whether it is Instant or Delayed.
  8359. * @access public
  8360. * @namespace ebl
  8361. * @var string
  8362. */
  8363. public $RefundStatus;
  8364. /**
  8365. * Tells us the reason when refund payment status is Delayed.
  8366. * @access public
  8367. * @namespace ebl
  8368. * @var string
  8369. */
  8370. public $PendingReason;
  8371. }
  8372. /**
  8373. * Defines relationship between buckets
  8374. */
  8375. class CoupledBucketsType
  8376. extends PPXmlMessage{
  8377. /**
  8378. * Relationship Type - LifeTime (default)
  8379. * @access public
  8380. * @namespace ebl
  8381. * @var string
  8382. */
  8383. public $CoupleType;
  8384. /**
  8385. * Identifier for this relation
  8386. * @access public
  8387. * @namespace ebl
  8388. * @var string
  8389. */
  8390. public $CoupledPaymentRequestID;
  8391. /**
  8392. *
  8393. * @array
  8394. * @access public
  8395. * @namespace ebl
  8396. * @var string
  8397. */
  8398. public $PaymentRequestID;
  8399. /**
  8400. * Constructor with arguments
  8401. */
  8402. public function __construct($PaymentRequestID = NULL) {
  8403. $this->PaymentRequestID = $PaymentRequestID;
  8404. }
  8405. }
  8406. /**
  8407. * Information about Coupled Payment transactions.
  8408. */
  8409. class CoupledPaymentInfoType
  8410. extends PPXmlMessage{
  8411. /**
  8412. * ID received in the Coupled Payment Request
  8413. * @access public
  8414. * @namespace ebl
  8415. * @var string
  8416. */
  8417. public $CoupledPaymentRequestID;
  8418. /**
  8419. * ID that uniquely identifies this CoupledPayment. Generated
  8420. * by PP in Response
  8421. * @access public
  8422. * @namespace ebl
  8423. * @var string
  8424. */
  8425. public $CoupledPaymentID;
  8426. }
  8427. /**
  8428. *
  8429. */
  8430. class EnhancedCheckoutDataType
  8431. extends PPXmlMessage{
  8432. }
  8433. /**
  8434. *
  8435. */
  8436. class EnhancedPaymentDataType
  8437. extends PPXmlMessage{
  8438. }
  8439. /**
  8440. *
  8441. */
  8442. class EnhancedItemDataType
  8443. extends PPXmlMessage{
  8444. }
  8445. /**
  8446. *
  8447. */
  8448. class EnhancedPaymentInfoType
  8449. extends PPXmlMessage{
  8450. }
  8451. /**
  8452. *
  8453. */
  8454. class EnhancedInitiateRecoupRequestDetailsType
  8455. extends PPXmlMessage{
  8456. }
  8457. /**
  8458. *
  8459. */
  8460. class EnhancedCompleteRecoupRequestDetailsType
  8461. extends PPXmlMessage{
  8462. }
  8463. /**
  8464. *
  8465. */
  8466. class EnhancedCompleteRecoupResponseDetailsType
  8467. extends PPXmlMessage{
  8468. }
  8469. /**
  8470. *
  8471. */
  8472. class EnhancedCancelRecoupRequestDetailsType
  8473. extends PPXmlMessage{
  8474. }
  8475. /**
  8476. *
  8477. */
  8478. class EnhancedPayerInfoType
  8479. extends PPXmlMessage{
  8480. }
  8481. /**
  8482. * Installment Period. Optional
  8483. */
  8484. class InstallmentDetailsType
  8485. extends PPXmlMessage{
  8486. /**
  8487. * Installment Period. Optional
  8488. * @access public
  8489. * @namespace ns
  8490. * @var string
  8491. */
  8492. public $BillingPeriod;
  8493. /**
  8494. * Installment Frequency. Optional
  8495. * @access public
  8496. * @namespace ns
  8497. * @var integer
  8498. */
  8499. public $BillingFrequency;
  8500. /**
  8501. * Installment Cycles. Optional
  8502. * @access public
  8503. * @namespace ns
  8504. * @var integer
  8505. */
  8506. public $TotalBillingCycles;
  8507. /**
  8508. * Installment Amount. Optional
  8509. * @access public
  8510. * @namespace ns
  8511. * @var string
  8512. */
  8513. public $Amount;
  8514. /**
  8515. * Installment Amount. Optional
  8516. * @access public
  8517. * @namespace ns
  8518. * @var string
  8519. */
  8520. public $ShippingAmount;
  8521. /**
  8522. * Installment Amount. Optional
  8523. * @access public
  8524. * @namespace ns
  8525. * @var string
  8526. */
  8527. public $TaxAmount;
  8528. }
  8529. /**
  8530. * Option Selection. Required Character length and limitations:
  8531. * 12 single-byte alphanumeric characters
  8532. */
  8533. class OptionSelectionDetailsType
  8534. extends PPXmlMessage{
  8535. /**
  8536. * Option Selection. Required Character length and limitations:
  8537. * 12 single-byte alphanumeric characters
  8538. * @access public
  8539. * @namespace ns
  8540. * @var string
  8541. */
  8542. public $OptionSelection;
  8543. /**
  8544. * Option Price. Optional
  8545. * @access public
  8546. * @namespace ns
  8547. * @var string
  8548. */
  8549. public $Price;
  8550. /**
  8551. * Option Type Optional
  8552. * @access public
  8553. * @namespace ns
  8554. * @var string
  8555. */
  8556. public $OptionType;
  8557. /**
  8558. *
  8559. * @array
  8560. * @access public
  8561. * @namespace ns
  8562. * @var InstallmentDetailsType
  8563. */
  8564. public $PaymentPeriod;
  8565. /**
  8566. * Constructor with arguments
  8567. */
  8568. public function __construct($OptionSelection = NULL) {
  8569. $this->OptionSelection = $OptionSelection;
  8570. }
  8571. }
  8572. /**
  8573. * Option Name. Optional
  8574. */
  8575. class OptionDetailsType
  8576. extends PPXmlMessage{
  8577. /**
  8578. * Option Name. Optional
  8579. * @access public
  8580. * @namespace ns
  8581. * @var string
  8582. */
  8583. public $OptionName;
  8584. /**
  8585. *
  8586. * @array
  8587. * @access public
  8588. * @namespace ns
  8589. * @var OptionSelectionDetailsType
  8590. */
  8591. public $OptionSelectionDetails;
  8592. /**
  8593. * Constructor with arguments
  8594. */
  8595. public function __construct($OptionName = NULL) {
  8596. $this->OptionName = $OptionName;
  8597. }
  8598. }
  8599. /**
  8600. *
  8601. */
  8602. class BMCreateButtonReq
  8603. extends PPXmlMessage{
  8604. /**
  8605. *
  8606. * @access public
  8607. * @namespace ns
  8608. * @var BMCreateButtonRequestType
  8609. */
  8610. public $BMCreateButtonRequest;
  8611. public function toXMLString()
  8612. {
  8613. $str = '';
  8614. $str .= '<ns:BMCreateButtonReq>';
  8615. if($this->BMCreateButtonRequest != NULL)
  8616. {
  8617. $str .= '<ns:BMCreateButtonRequest>';
  8618. $str .= $this->BMCreateButtonRequest->toXMLString();
  8619. $str .= '</ns:BMCreateButtonRequest>';
  8620. }
  8621. $str .= '</ns:BMCreateButtonReq>';
  8622. return $str;
  8623. }
  8624. }
  8625. /**
  8626. * Type of Button to create. Required Must be one of the
  8627. * following: BUYNOW, CART, GIFTCERTIFICATE. SUBSCRIBE,
  8628. * PAYMENTPLAN, AUTOBILLING, DONATE, VIEWCART or UNSUBSCRIBE
  8629. */
  8630. class BMCreateButtonRequestType extends AbstractRequestType
  8631. {
  8632. /**
  8633. * Type of Button to create. Required Must be one of the
  8634. * following: BUYNOW, CART, GIFTCERTIFICATE. SUBSCRIBE,
  8635. * PAYMENTPLAN, AUTOBILLING, DONATE, VIEWCART or UNSUBSCRIBE
  8636. * @access public
  8637. * @namespace ns
  8638. * @var string
  8639. */
  8640. public $ButtonType;
  8641. /**
  8642. * button code. optional Must be one of the following: hosted,
  8643. * encrypted or cleartext
  8644. * @access public
  8645. * @namespace ns
  8646. * @var string
  8647. */
  8648. public $ButtonCode;
  8649. /**
  8650. * Button sub type. optional for button types buynow and cart
  8651. * only Must Be either PRODUCTS or SERVICES
  8652. * @access public
  8653. * @namespace ns
  8654. * @var string
  8655. */
  8656. public $ButtonSubType;
  8657. /**
  8658. * Button Variable information At least one required recurring
  8659. * Character length and limitations: 63 single-byte
  8660. * alphanumeric characters
  8661. * @array
  8662. * @access public
  8663. * @namespace ns
  8664. * @var string
  8665. */
  8666. public $ButtonVar;
  8667. /**
  8668. *
  8669. * @array
  8670. * @access public
  8671. * @namespace ns
  8672. * @var OptionDetailsType
  8673. */
  8674. public $OptionDetails;
  8675. /**
  8676. * Details of each option for the button. Optional
  8677. * @array
  8678. * @access public
  8679. * @namespace ns
  8680. * @var string
  8681. */
  8682. public $TextBox;
  8683. /**
  8684. * Button image to use. Optional Must be one of: REG, SML, or
  8685. * CC
  8686. * @access public
  8687. * @namespace ns
  8688. * @var string
  8689. */
  8690. public $ButtonImage;
  8691. /**
  8692. * Button URL for custom button image. Optional Character
  8693. * length and limitations: 127 single-byte alphanumeric
  8694. * characters
  8695. * @access public
  8696. * @namespace ns
  8697. * @var string
  8698. */
  8699. public $ButtonImageURL;
  8700. /**
  8701. * Text to use on Buy Now Button. Optional Must be either
  8702. * BUYNOW or PAYNOW
  8703. * @access public
  8704. * @namespace ns
  8705. * @var string
  8706. */
  8707. public $BuyNowText;
  8708. /**
  8709. * Text to use on Subscribe button. Optional Must be either
  8710. * BUYNOW or SUBSCRIBE
  8711. * @access public
  8712. * @namespace ns
  8713. * @var string
  8714. */
  8715. public $SubscribeText;
  8716. /**
  8717. * Button Country. Optional Must be valid ISO country code
  8718. * @access public
  8719. * @namespace ns
  8720. * @var string
  8721. */
  8722. public $ButtonCountry;
  8723. /**
  8724. * Button language code. Optional Character length and
  8725. * limitations: 3 single-byte alphanumeric characters
  8726. * @access public
  8727. * @namespace ns
  8728. * @var string
  8729. */
  8730. public $ButtonLanguage;
  8731. }
  8732. /**
  8733. *
  8734. */
  8735. class BMCreateButtonResponseType extends AbstractResponseType
  8736. {
  8737. /**
  8738. *
  8739. * @access public
  8740. * @namespace ns
  8741. * @var string
  8742. */
  8743. public $Website;
  8744. /**
  8745. *
  8746. * @access public
  8747. * @namespace ns
  8748. * @var string
  8749. */
  8750. public $Email;
  8751. /**
  8752. *
  8753. * @access public
  8754. * @namespace ns
  8755. * @var string
  8756. */
  8757. public $Mobile;
  8758. /**
  8759. *
  8760. * @access public
  8761. * @namespace ns
  8762. * @var string
  8763. */
  8764. public $HostedButtonID;
  8765. }
  8766. /**
  8767. *
  8768. */
  8769. class BMUpdateButtonReq
  8770. extends PPXmlMessage{
  8771. /**
  8772. *
  8773. * @access public
  8774. * @namespace ns
  8775. * @var BMUpdateButtonRequestType
  8776. */
  8777. public $BMUpdateButtonRequest;
  8778. public function toXMLString()
  8779. {
  8780. $str = '';
  8781. $str .= '<ns:BMUpdateButtonReq>';
  8782. if($this->BMUpdateButtonRequest != NULL)
  8783. {
  8784. $str .= '<ns:BMUpdateButtonRequest>';
  8785. $str .= $this->BMUpdateButtonRequest->toXMLString();
  8786. $str .= '</ns:BMUpdateButtonRequest>';
  8787. }
  8788. $str .= '</ns:BMUpdateButtonReq>';
  8789. return $str;
  8790. }
  8791. }
  8792. /**
  8793. * Hosted Button id of the button to update. Required
  8794. * Character length and limitations: 10 single-byte numeric
  8795. * characters
  8796. */
  8797. class BMUpdateButtonRequestType extends AbstractRequestType
  8798. {
  8799. /**
  8800. * Hosted Button id of the button to update. Required
  8801. * Character length and limitations: 10 single-byte numeric
  8802. * characters
  8803. * @access public
  8804. * @namespace ns
  8805. * @var string
  8806. */
  8807. public $HostedButtonID;
  8808. /**
  8809. * Type of Button to create. Required Must be one of the
  8810. * following: BUYNOW, CART, GIFTCERTIFICATE. SUBSCRIBE,
  8811. * PAYMENTPLAN, AUTOBILLING, DONATE, VIEWCART or UNSUBSCRIBE
  8812. * @access public
  8813. * @namespace ns
  8814. * @var string
  8815. */
  8816. public $ButtonType;
  8817. /**
  8818. * button code. optional Must be one of the following: hosted,
  8819. * encrypted or cleartext
  8820. * @access public
  8821. * @namespace ns
  8822. * @var string
  8823. */
  8824. public $ButtonCode;
  8825. /**
  8826. * Button sub type. optional for button types buynow and cart
  8827. * only Must Be either PRODUCTS or SERVICES
  8828. * @access public
  8829. * @namespace ns
  8830. * @var string
  8831. */
  8832. public $ButtonSubType;
  8833. /**
  8834. * Button Variable information At least one required recurring
  8835. * Character length and limitations: 63 single-byte
  8836. * alphanumeric characters
  8837. * @array
  8838. * @access public
  8839. * @namespace ns
  8840. * @var string
  8841. */
  8842. public $ButtonVar;
  8843. /**
  8844. *
  8845. * @array
  8846. * @access public
  8847. * @namespace ns
  8848. * @var OptionDetailsType
  8849. */
  8850. public $OptionDetails;
  8851. /**
  8852. * Details of each option for the button. Optional
  8853. * @array
  8854. * @access public
  8855. * @namespace ns
  8856. * @var string
  8857. */
  8858. public $TextBox;
  8859. /**
  8860. * Button image to use. Optional Must be one of: REG, SML, or
  8861. * CC
  8862. * @access public
  8863. * @namespace ns
  8864. * @var string
  8865. */
  8866. public $ButtonImage;
  8867. /**
  8868. * Button URL for custom button image. Optional Character
  8869. * length and limitations: 127 single-byte alphanumeric
  8870. * characters
  8871. * @access public
  8872. * @namespace ns
  8873. * @var string
  8874. */
  8875. public $ButtonImageURL;
  8876. /**
  8877. * Text to use on Buy Now Button. Optional Must be either
  8878. * BUYNOW or PAYNOW
  8879. * @access public
  8880. * @namespace ns
  8881. * @var string
  8882. */
  8883. public $BuyNowText;
  8884. /**
  8885. * Text to use on Subscribe button. Optional Must be either
  8886. * BUYNOW or SUBSCRIBE
  8887. * @access public
  8888. * @namespace ns
  8889. * @var string
  8890. */
  8891. public $SubscribeText;
  8892. /**
  8893. * Button Country. Optional Must be valid ISO country code
  8894. * @access public
  8895. * @namespace ns
  8896. * @var string
  8897. */
  8898. public $ButtonCountry;
  8899. /**
  8900. * Button language code. Optional Character length and
  8901. * limitations: 2 single-byte alphanumeric characters
  8902. * @access public
  8903. * @namespace ns
  8904. * @var string
  8905. */
  8906. public $ButtonLanguage;
  8907. /**
  8908. * Constructor with arguments
  8909. */
  8910. public function __construct($HostedButtonID = NULL) {
  8911. $this->HostedButtonID = $HostedButtonID;
  8912. }
  8913. }
  8914. /**
  8915. *
  8916. */
  8917. class BMUpdateButtonResponseType extends AbstractResponseType
  8918. {
  8919. /**
  8920. *
  8921. * @access public
  8922. * @namespace ns
  8923. * @var string
  8924. */
  8925. public $Website;
  8926. /**
  8927. *
  8928. * @access public
  8929. * @namespace ns
  8930. * @var string
  8931. */
  8932. public $Email;
  8933. /**
  8934. *
  8935. * @access public
  8936. * @namespace ns
  8937. * @var string
  8938. */
  8939. public $Mobile;
  8940. /**
  8941. *
  8942. * @access public
  8943. * @namespace ns
  8944. * @var string
  8945. */
  8946. public $HostedButtonID;
  8947. }
  8948. /**
  8949. *
  8950. */
  8951. class BMManageButtonStatusReq
  8952. extends PPXmlMessage{
  8953. /**
  8954. *
  8955. * @access public
  8956. * @namespace ns
  8957. * @var BMManageButtonStatusRequestType
  8958. */
  8959. public $BMManageButtonStatusRequest;
  8960. public function toXMLString()
  8961. {
  8962. $str = '';
  8963. $str .= '<ns:BMManageButtonStatusReq>';
  8964. if($this->BMManageButtonStatusRequest != NULL)
  8965. {
  8966. $str .= '<ns:BMManageButtonStatusRequest>';
  8967. $str .= $this->BMManageButtonStatusRequest->toXMLString();
  8968. $str .= '</ns:BMManageButtonStatusRequest>';
  8969. }
  8970. $str .= '</ns:BMManageButtonStatusReq>';
  8971. return $str;
  8972. }
  8973. }
  8974. /**
  8975. * Button ID of Hosted button. Required Character length and
  8976. * limitations: 10 single-byte numeric characters
  8977. */
  8978. class BMManageButtonStatusRequestType extends AbstractRequestType
  8979. {
  8980. /**
  8981. * Button ID of Hosted button. Required Character length and
  8982. * limitations: 10 single-byte numeric characters
  8983. * @access public
  8984. * @namespace ns
  8985. * @var string
  8986. */
  8987. public $HostedButtonID;
  8988. /**
  8989. * Requested Status change for hosted button. Required
  8990. * Character length and limitations: 1 single-byte alphanumeric
  8991. * characters
  8992. * @access public
  8993. * @namespace ns
  8994. * @var string
  8995. */
  8996. public $ButtonStatus;
  8997. }
  8998. /**
  8999. *
  9000. */
  9001. class BMManageButtonStatusResponseType extends AbstractResponseType
  9002. {
  9003. }
  9004. /**
  9005. *
  9006. */
  9007. class BMGetButtonDetailsReq
  9008. extends PPXmlMessage{
  9009. /**
  9010. *
  9011. * @access public
  9012. * @namespace ns
  9013. * @var BMGetButtonDetailsRequestType
  9014. */
  9015. public $BMGetButtonDetailsRequest;
  9016. public function toXMLString()
  9017. {
  9018. $str = '';
  9019. $str .= '<ns:BMGetButtonDetailsReq>';
  9020. if($this->BMGetButtonDetailsRequest != NULL)
  9021. {
  9022. $str .= '<ns:BMGetButtonDetailsRequest>';
  9023. $str .= $this->BMGetButtonDetailsRequest->toXMLString();
  9024. $str .= '</ns:BMGetButtonDetailsRequest>';
  9025. }
  9026. $str .= '</ns:BMGetButtonDetailsReq>';
  9027. return $str;
  9028. }
  9029. }
  9030. /**
  9031. * Button ID of button to return. Required Character length
  9032. * and limitations: 10 single-byte numeric characters
  9033. */
  9034. class BMGetButtonDetailsRequestType extends AbstractRequestType
  9035. {
  9036. /**
  9037. * Button ID of button to return. Required Character length
  9038. * and limitations: 10 single-byte numeric characters
  9039. * @access public
  9040. * @namespace ns
  9041. * @var string
  9042. */
  9043. public $HostedButtonID;
  9044. /**
  9045. * Constructor with arguments
  9046. */
  9047. public function __construct($HostedButtonID = NULL) {
  9048. $this->HostedButtonID = $HostedButtonID;
  9049. }
  9050. }
  9051. /**
  9052. * Type of button. One of the following: BUYNOW, CART,
  9053. * GIFTCERTIFICATE. SUBSCRIBE, PAYMENTPLAN, AUTOBILLING,
  9054. * DONATE, VIEWCART or UNSUBSCRIBE
  9055. */
  9056. class BMGetButtonDetailsResponseType extends AbstractResponseType
  9057. {
  9058. /**
  9059. *
  9060. * @access public
  9061. * @namespace ns
  9062. * @var string
  9063. */
  9064. public $Website;
  9065. /**
  9066. *
  9067. * @access public
  9068. * @namespace ns
  9069. * @var string
  9070. */
  9071. public $Email;
  9072. /**
  9073. *
  9074. * @access public
  9075. * @namespace ns
  9076. * @var string
  9077. */
  9078. public $Mobile;
  9079. /**
  9080. *
  9081. * @access public
  9082. * @namespace ns
  9083. * @var string
  9084. */
  9085. public $HostedButtonID;
  9086. /**
  9087. * Type of button. One of the following: BUYNOW, CART,
  9088. * GIFTCERTIFICATE. SUBSCRIBE, PAYMENTPLAN, AUTOBILLING,
  9089. * DONATE, VIEWCART or UNSUBSCRIBE
  9090. * @access public
  9091. * @namespace ns
  9092. * @var string
  9093. */
  9094. public $ButtonType;
  9095. /**
  9096. * Type of button code. One of the following: hosted, encrypted
  9097. * or cleartext
  9098. * @access public
  9099. * @namespace ns
  9100. * @var string
  9101. */
  9102. public $ButtonCode;
  9103. /**
  9104. * Button sub type. optional for button types buynow and cart
  9105. * only Either PRODUCTS or SERVICES
  9106. * @access public
  9107. * @namespace ns
  9108. * @var string
  9109. */
  9110. public $ButtonSubType;
  9111. /**
  9112. * Button Variable information Character length and
  9113. * limitations: 63 single-byte alphanumeric characters
  9114. * @array
  9115. * @access public
  9116. * @namespace ns
  9117. * @var string
  9118. */
  9119. public $ButtonVar;
  9120. /**
  9121. *
  9122. * @array
  9123. * @access public
  9124. * @namespace ns
  9125. * @var OptionDetailsType
  9126. */
  9127. public $OptionDetails;
  9128. /**
  9129. * Text field
  9130. * @array
  9131. * @access public
  9132. * @namespace ns
  9133. * @var string
  9134. */
  9135. public $TextBox;
  9136. /**
  9137. * Button image to use. One of: REG, SML, or CC
  9138. * @access public
  9139. * @namespace ns
  9140. * @var string
  9141. */
  9142. public $ButtonImage;
  9143. /**
  9144. * Button URL for custom button image.
  9145. * @access public
  9146. * @namespace ns
  9147. * @var string
  9148. */
  9149. public $ButtonImageURL;
  9150. /**
  9151. * Text to use on Buy Now Button. Either BUYNOW or PAYNOW
  9152. * @access public
  9153. * @namespace ns
  9154. * @var string
  9155. */
  9156. public $BuyNowText;
  9157. /**
  9158. * Text to use on Subscribe button. Must be either BUYNOW or
  9159. * SUBSCRIBE
  9160. * @access public
  9161. * @namespace ns
  9162. * @var string
  9163. */
  9164. public $SubscribeText;
  9165. /**
  9166. * Button Country. Valid ISO country code or 'International'
  9167. * @access public
  9168. * @namespace ns
  9169. * @var string
  9170. */
  9171. public $ButtonCountry;
  9172. /**
  9173. * Button language code. Character length and limitations: 3
  9174. * single-byte alphanumeric characters
  9175. * @access public
  9176. * @namespace ns
  9177. * @var string
  9178. */
  9179. public $ButtonLanguage;
  9180. }
  9181. /**
  9182. *
  9183. */
  9184. class BMSetInventoryReq
  9185. extends PPXmlMessage{
  9186. /**
  9187. *
  9188. * @access public
  9189. * @namespace ns
  9190. * @var BMSetInventoryRequestType
  9191. */
  9192. public $BMSetInventoryRequest;
  9193. public function toXMLString()
  9194. {
  9195. $str = '';
  9196. $str .= '<ns:BMSetInventoryReq>';
  9197. if($this->BMSetInventoryRequest != NULL)
  9198. {
  9199. $str .= '<ns:BMSetInventoryRequest>';
  9200. $str .= $this->BMSetInventoryRequest->toXMLString();
  9201. $str .= '</ns:BMSetInventoryRequest>';
  9202. }
  9203. $str .= '</ns:BMSetInventoryReq>';
  9204. return $str;
  9205. }
  9206. }
  9207. /**
  9208. * Hosted Button ID of button you wish to change. Required
  9209. * Character length and limitations: 10 single-byte numeric
  9210. * characters
  9211. */
  9212. class BMSetInventoryRequestType extends AbstractRequestType
  9213. {
  9214. /**
  9215. * Hosted Button ID of button you wish to change. Required
  9216. * Character length and limitations: 10 single-byte numeric
  9217. * characters
  9218. * @access public
  9219. * @namespace ns
  9220. * @var string
  9221. */
  9222. public $HostedButtonID;
  9223. /**
  9224. * Is Inventory tracked. Required 0 or 1
  9225. * @access public
  9226. * @namespace ns
  9227. * @var string
  9228. */
  9229. public $TrackInv;
  9230. /**
  9231. * Is PNL Tracked. Required 0 or 1
  9232. * @access public
  9233. * @namespace ns
  9234. * @var string
  9235. */
  9236. public $TrackPnl;
  9237. /**
  9238. *
  9239. * @access public
  9240. * @namespace ebl
  9241. * @var ItemTrackingDetailsType
  9242. */
  9243. public $ItemTrackingDetails;
  9244. /**
  9245. * Option Index. Optional Character length and limitations: 1
  9246. * single-byte alphanumeric characters
  9247. * @access public
  9248. * @namespace ns
  9249. * @var string
  9250. */
  9251. public $OptionIndex;
  9252. /**
  9253. *
  9254. * @array
  9255. * @access public
  9256. * @namespace ebl
  9257. * @var OptionTrackingDetailsType
  9258. */
  9259. public $OptionTrackingDetails;
  9260. /**
  9261. * URL of page to display when an item is soldout. Optional
  9262. * Character length and limitations: 127 single-byte
  9263. * alphanumeric characters
  9264. * @access public
  9265. * @namespace ns
  9266. * @var string
  9267. */
  9268. public $SoldoutURL;
  9269. /**
  9270. * Whether to use the same digital download key repeatedly.
  9271. * Optional
  9272. * @access public
  9273. * @namespace ns
  9274. * @var string
  9275. */
  9276. public $ReuseDigitalDownloadKeys;
  9277. /**
  9278. * Whether to append these keys to the list or not (replace).
  9279. * Optional
  9280. * @access public
  9281. * @namespace ns
  9282. * @var string
  9283. */
  9284. public $AppendDigitalDownloadKeys;
  9285. /**
  9286. * Zero or more digital download keys to distribute to
  9287. * customers after transaction is completed. Optional
  9288. * Character length and limitations: 1000 single-byte
  9289. * alphanumeric characters
  9290. * @array
  9291. * @access public
  9292. * @namespace ns
  9293. * @var string
  9294. */
  9295. public $DigitalDownloadKeys;
  9296. /**
  9297. * Constructor with arguments
  9298. */
  9299. public function __construct($HostedButtonID = NULL, $TrackInv = NULL, $TrackPnl = NULL) {
  9300. $this->HostedButtonID = $HostedButtonID;
  9301. $this->TrackInv = $TrackInv;
  9302. $this->TrackPnl = $TrackPnl;
  9303. }
  9304. }
  9305. /**
  9306. *
  9307. */
  9308. class BMSetInventoryResponseType extends AbstractResponseType
  9309. {
  9310. }
  9311. /**
  9312. *
  9313. */
  9314. class BMGetInventoryReq
  9315. extends PPXmlMessage{
  9316. /**
  9317. *
  9318. * @access public
  9319. * @namespace ns
  9320. * @var BMGetInventoryRequestType
  9321. */
  9322. public $BMGetInventoryRequest;
  9323. public function toXMLString()
  9324. {
  9325. $str = '';
  9326. $str .= '<ns:BMGetInventoryReq>';
  9327. if($this->BMGetInventoryRequest != NULL)
  9328. {
  9329. $str .= '<ns:BMGetInventoryRequest>';
  9330. $str .= $this->BMGetInventoryRequest->toXMLString();
  9331. $str .= '</ns:BMGetInventoryRequest>';
  9332. }
  9333. $str .= '</ns:BMGetInventoryReq>';
  9334. return $str;
  9335. }
  9336. }
  9337. /**
  9338. * Hosted Button ID of the button to return inventory for.
  9339. * Required Character length and limitations: 10 single-byte
  9340. * numeric characters
  9341. */
  9342. class BMGetInventoryRequestType extends AbstractRequestType
  9343. {
  9344. /**
  9345. * Hosted Button ID of the button to return inventory for.
  9346. * Required Character length and limitations: 10 single-byte
  9347. * numeric characters
  9348. * @access public
  9349. * @namespace ns
  9350. * @var string
  9351. */
  9352. public $HostedButtonID;
  9353. /**
  9354. * Constructor with arguments
  9355. */
  9356. public function __construct($HostedButtonID = NULL) {
  9357. $this->HostedButtonID = $HostedButtonID;
  9358. }
  9359. }
  9360. /**
  9361. *
  9362. */
  9363. class BMGetInventoryResponseType extends AbstractResponseType
  9364. {
  9365. /**
  9366. *
  9367. * @access public
  9368. * @namespace ns
  9369. * @var string
  9370. */
  9371. public $HostedButtonID;
  9372. /**
  9373. *
  9374. * @access public
  9375. * @namespace ns
  9376. * @var string
  9377. */
  9378. public $TrackInv;
  9379. /**
  9380. *
  9381. * @access public
  9382. * @namespace ns
  9383. * @var string
  9384. */
  9385. public $TrackPnl;
  9386. /**
  9387. *
  9388. * @access public
  9389. * @namespace ebl
  9390. * @var ItemTrackingDetailsType
  9391. */
  9392. public $ItemTrackingDetails;
  9393. /**
  9394. *
  9395. * @access public
  9396. * @namespace ns
  9397. * @var string
  9398. */
  9399. public $OptionIndex;
  9400. /**
  9401. *
  9402. * @access public
  9403. * @namespace ns
  9404. * @var string
  9405. */
  9406. public $OptionName;
  9407. /**
  9408. *
  9409. * @array
  9410. * @access public
  9411. * @namespace ebl
  9412. * @var OptionTrackingDetailsType
  9413. */
  9414. public $OptionTrackingDetails;
  9415. /**
  9416. *
  9417. * @access public
  9418. * @namespace ns
  9419. * @var string
  9420. */
  9421. public $SoldoutURL;
  9422. /**
  9423. *
  9424. * @array
  9425. * @access public
  9426. * @namespace ns
  9427. * @var string
  9428. */
  9429. public $DigitalDownloadKeys;
  9430. }
  9431. /**
  9432. *
  9433. */
  9434. class BMButtonSearchReq
  9435. extends PPXmlMessage{
  9436. /**
  9437. *
  9438. * @access public
  9439. * @namespace ns
  9440. * @var BMButtonSearchRequestType
  9441. */
  9442. public $BMButtonSearchRequest;
  9443. public function toXMLString()
  9444. {
  9445. $str = '';
  9446. $str .= '<ns:BMButtonSearchReq>';
  9447. if($this->BMButtonSearchRequest != NULL)
  9448. {
  9449. $str .= '<ns:BMButtonSearchRequest>';
  9450. $str .= $this->BMButtonSearchRequest->toXMLString();
  9451. $str .= '</ns:BMButtonSearchRequest>';
  9452. }
  9453. $str .= '</ns:BMButtonSearchReq>';
  9454. return $str;
  9455. }
  9456. }
  9457. /**
  9458. * The earliest transaction date at which to start the search.
  9459. * No wildcards are allowed. Required
  9460. */
  9461. class BMButtonSearchRequestType extends AbstractRequestType
  9462. {
  9463. /**
  9464. * The earliest transaction date at which to start the search.
  9465. * No wildcards are allowed. Required
  9466. * @access public
  9467. * @namespace ns
  9468. * @var dateTime
  9469. */
  9470. public $StartDate;
  9471. /**
  9472. * The latest transaction date to be included in the search
  9473. * Optional
  9474. * @access public
  9475. * @namespace ns
  9476. * @var dateTime
  9477. */
  9478. public $EndDate;
  9479. }
  9480. /**
  9481. *
  9482. */
  9483. class BMButtonSearchResponseType extends AbstractResponseType
  9484. {
  9485. /**
  9486. *
  9487. * @array
  9488. * @access public
  9489. * @namespace ebl
  9490. * @var ButtonSearchResultType
  9491. */
  9492. public $ButtonSearchResult;
  9493. }
  9494. /**
  9495. *
  9496. */
  9497. class RefundTransactionReq
  9498. extends PPXmlMessage{
  9499. /**
  9500. *
  9501. * @access public
  9502. * @namespace ns
  9503. * @var RefundTransactionRequestType
  9504. */
  9505. public $RefundTransactionRequest;
  9506. public function toXMLString()
  9507. {
  9508. $str = '';
  9509. $str .= '<ns:RefundTransactionReq>';
  9510. if($this->RefundTransactionRequest != NULL)
  9511. {
  9512. $str .= '<ns:RefundTransactionRequest>';
  9513. $str .= $this->RefundTransactionRequest->toXMLString();
  9514. $str .= '</ns:RefundTransactionRequest>';
  9515. }
  9516. $str .= '</ns:RefundTransactionReq>';
  9517. return $str;
  9518. }
  9519. }
  9520. /**
  9521. * Unique identifier of the transaction you are refunding.
  9522. * Optional Character length and limitations: 17 single-byte
  9523. * alphanumeric characters
  9524. */
  9525. class RefundTransactionRequestType extends AbstractRequestType
  9526. {
  9527. /**
  9528. * Unique identifier of the transaction you are refunding.
  9529. * Optional Character length and limitations: 17 single-byte
  9530. * alphanumeric characters
  9531. * @access public
  9532. * @namespace ns
  9533. * @var string
  9534. */
  9535. public $TransactionID;
  9536. /**
  9537. * Encrypted PayPal customer account identification number.
  9538. * Optional Character length and limitations: 127 single-byte
  9539. * alphanumeric characters
  9540. * @access public
  9541. * @namespace ns
  9542. * @var string
  9543. */
  9544. public $PayerID;
  9545. /**
  9546. * Invoice number corresponding to transaction details for
  9547. * tracking the refund of a payment. This parameter is passed
  9548. * by the merchant or recipient while refunding the
  9549. * transaction. This parameter does not affect the business
  9550. * logic, it is persisted in the DB for transaction reference
  9551. * Optional
  9552. * @access public
  9553. * @namespace ns
  9554. * @var string
  9555. */
  9556. public $InvoiceID;
  9557. /**
  9558. * Type of refund you are making Required
  9559. * @access public
  9560. * @namespace ns
  9561. * @var string
  9562. */
  9563. public $RefundType;
  9564. /**
  9565. * Refund amount. Amount is required if RefundType is Partial.
  9566. * NOTE: If RefundType is Full, do not set Amount.
  9567. * @access public
  9568. * @namespace ns
  9569. * @var BasicAmountType
  9570. */
  9571. public $Amount;
  9572. /**
  9573. * Custom memo about the refund. Optional Character length and
  9574. * limitations: 255 single-byte alphanumeric characters
  9575. * @access public
  9576. * @namespace ns
  9577. * @var string
  9578. */
  9579. public $Memo;
  9580. /**
  9581. * The maximum time till which refund must be tried. Optional
  9582. * @access public
  9583. * @namespace ns
  9584. * @var dateTime
  9585. */
  9586. public $RetryUntil;
  9587. /**
  9588. * The type of funding source for refund. Optional
  9589. * @access public
  9590. * @namespace ns
  9591. * @var string
  9592. */
  9593. public $RefundSource;
  9594. /**
  9595. * Flag to indicate that the customer was already given store
  9596. * credit for a given transaction. This will allow us to make
  9597. * sure we do not double refund. Optional
  9598. * @access public
  9599. * @namespace ns
  9600. * @var boolean
  9601. */
  9602. public $RefundAdvice;
  9603. /**
  9604. * To pass the Merchant store informationOptional
  9605. * @access public
  9606. * @namespace ebl
  9607. * @var MerchantStoreDetailsType
  9608. */
  9609. public $MerchantStoreDetails;
  9610. /**
  9611. * Information about the individual details of the items to be
  9612. * refunded.Optional
  9613. * @array
  9614. * @access public
  9615. * @namespace ebl
  9616. * @var InvoiceItemType
  9617. */
  9618. public $RefundItemDetails;
  9619. /**
  9620. * Unique id for each API request to prevent duplicate
  9621. * payments. Optional Character length and limits: 38
  9622. * single-byte characters maximum.
  9623. * @access public
  9624. * @namespace ns
  9625. * @var string
  9626. */
  9627. public $MsgSubID;
  9628. }
  9629. /**
  9630. * Unique transaction ID of the refund. Character length and
  9631. * limitations:17 single-byte characters
  9632. */
  9633. class RefundTransactionResponseType extends AbstractResponseType
  9634. {
  9635. /**
  9636. * Unique transaction ID of the refund. Character length and
  9637. * limitations:17 single-byte characters
  9638. * @access public
  9639. * @namespace ns
  9640. * @var string
  9641. */
  9642. public $RefundTransactionID;
  9643. /**
  9644. * Amount subtracted from PayPal balance of original recipient
  9645. * of payment to make this refund
  9646. * @access public
  9647. * @namespace ns
  9648. * @var BasicAmountType
  9649. */
  9650. public $NetRefundAmount;
  9651. /**
  9652. * Transaction fee refunded to original recipient of payment
  9653. * @access public
  9654. * @namespace ns
  9655. * @var BasicAmountType
  9656. */
  9657. public $FeeRefundAmount;
  9658. /**
  9659. * Amount of money refunded to original payer
  9660. * @access public
  9661. * @namespace ns
  9662. * @var BasicAmountType
  9663. */
  9664. public $GrossRefundAmount;
  9665. /**
  9666. * Total of all previous refunds
  9667. * @access public
  9668. * @namespace ns
  9669. * @var BasicAmountType
  9670. */
  9671. public $TotalRefundedAmount;
  9672. /**
  9673. * Contains Refund Payment status information.
  9674. * @access public
  9675. * @namespace ebl
  9676. * @var RefundInfoType
  9677. */
  9678. public $RefundInfo;
  9679. /**
  9680. * Any general information like offer details that is
  9681. * reinstated or any other marketing data
  9682. * @access public
  9683. * @namespace ns
  9684. * @var string
  9685. */
  9686. public $ReceiptData;
  9687. /**
  9688. * Return msgsubid back to merchant
  9689. * @access public
  9690. * @namespace ns
  9691. * @var string
  9692. */
  9693. public $MsgSubID;
  9694. }
  9695. /**
  9696. *
  9697. */
  9698. class InitiateRecoupReq
  9699. extends PPXmlMessage{
  9700. /**
  9701. *
  9702. * @access public
  9703. * @namespace ns
  9704. * @var InitiateRecoupRequestType
  9705. */
  9706. public $InitiateRecoupRequest;
  9707. public function toXMLString()
  9708. {
  9709. $str = '';
  9710. $str .= '<ns:InitiateRecoupReq>';
  9711. if($this->InitiateRecoupRequest != NULL)
  9712. {
  9713. $str .= '<ns:InitiateRecoupRequest>';
  9714. $str .= $this->InitiateRecoupRequest->toXMLString();
  9715. $str .= '</ns:InitiateRecoupRequest>';
  9716. }
  9717. $str .= '</ns:InitiateRecoupReq>';
  9718. return $str;
  9719. }
  9720. }
  9721. /**
  9722. *
  9723. */
  9724. class InitiateRecoupRequestType extends AbstractRequestType
  9725. {
  9726. /**
  9727. *
  9728. * @access public
  9729. * @namespace ed
  9730. * @var EnhancedInitiateRecoupRequestDetailsType
  9731. */
  9732. public $EnhancedInitiateRecoupRequestDetails;
  9733. /**
  9734. * Constructor with arguments
  9735. */
  9736. public function __construct($EnhancedInitiateRecoupRequestDetails = NULL) {
  9737. $this->EnhancedInitiateRecoupRequestDetails = $EnhancedInitiateRecoupRequestDetails;
  9738. }
  9739. }
  9740. /**
  9741. *
  9742. */
  9743. class InitiateRecoupResponseType extends AbstractResponseType
  9744. {
  9745. }
  9746. /**
  9747. *
  9748. */
  9749. class CompleteRecoupReq
  9750. extends PPXmlMessage{
  9751. /**
  9752. *
  9753. * @access public
  9754. * @namespace ns
  9755. * @var CompleteRecoupRequestType
  9756. */
  9757. public $CompleteRecoupRequest;
  9758. public function toXMLString()
  9759. {
  9760. $str = '';
  9761. $str .= '<ns:CompleteRecoupReq>';
  9762. if($this->CompleteRecoupRequest != NULL)
  9763. {
  9764. $str .= '<ns:CompleteRecoupRequest>';
  9765. $str .= $this->CompleteRecoupRequest->toXMLString();
  9766. $str .= '</ns:CompleteRecoupRequest>';
  9767. }
  9768. $str .= '</ns:CompleteRecoupReq>';
  9769. return $str;
  9770. }
  9771. }
  9772. /**
  9773. *
  9774. */
  9775. class CompleteRecoupRequestType extends AbstractRequestType
  9776. {
  9777. /**
  9778. *
  9779. * @access public
  9780. * @namespace ed
  9781. * @var EnhancedCompleteRecoupRequestDetailsType
  9782. */
  9783. public $EnhancedCompleteRecoupRequestDetails;
  9784. /**
  9785. * Constructor with arguments
  9786. */
  9787. public function __construct($EnhancedCompleteRecoupRequestDetails = NULL) {
  9788. $this->EnhancedCompleteRecoupRequestDetails = $EnhancedCompleteRecoupRequestDetails;
  9789. }
  9790. }
  9791. /**
  9792. *
  9793. */
  9794. class CompleteRecoupResponseType extends AbstractResponseType
  9795. {
  9796. /**
  9797. *
  9798. * @access public
  9799. * @namespace ed
  9800. * @var EnhancedCompleteRecoupResponseDetailsType
  9801. */
  9802. public $EnhancedCompleteRecoupResponseDetails;
  9803. }
  9804. /**
  9805. *
  9806. */
  9807. class CancelRecoupReq
  9808. extends PPXmlMessage{
  9809. /**
  9810. *
  9811. * @access public
  9812. * @namespace ns
  9813. * @var CancelRecoupRequestType
  9814. */
  9815. public $CancelRecoupRequest;
  9816. public function toXMLString()
  9817. {
  9818. $str = '';
  9819. $str .= '<ns:CancelRecoupReq>';
  9820. if($this->CancelRecoupRequest != NULL)
  9821. {
  9822. $str .= '<ns:CancelRecoupRequest>';
  9823. $str .= $this->CancelRecoupRequest->toXMLString();
  9824. $str .= '</ns:CancelRecoupRequest>';
  9825. }
  9826. $str .= '</ns:CancelRecoupReq>';
  9827. return $str;
  9828. }
  9829. }
  9830. /**
  9831. *
  9832. */
  9833. class CancelRecoupRequestType extends AbstractRequestType
  9834. {
  9835. /**
  9836. *
  9837. * @access public
  9838. * @namespace ed
  9839. * @var EnhancedCancelRecoupRequestDetailsType
  9840. */
  9841. public $EnhancedCancelRecoupRequestDetails;
  9842. /**
  9843. * Constructor with arguments
  9844. */
  9845. public function __construct($EnhancedCancelRecoupRequestDetails = NULL) {
  9846. $this->EnhancedCancelRecoupRequestDetails = $EnhancedCancelRecoupRequestDetails;
  9847. }
  9848. }
  9849. /**
  9850. *
  9851. */
  9852. class CancelRecoupResponseType extends AbstractResponseType
  9853. {
  9854. }
  9855. /**
  9856. *
  9857. */
  9858. class GetTransactionDetailsReq
  9859. extends PPXmlMessage{
  9860. /**
  9861. *
  9862. * @access public
  9863. * @namespace ns
  9864. * @var GetTransactionDetailsRequestType
  9865. */
  9866. public $GetTransactionDetailsRequest;
  9867. public function toXMLString()
  9868. {
  9869. $str = '';
  9870. $str .= '<ns:GetTransactionDetailsReq>';
  9871. if($this->GetTransactionDetailsRequest != NULL)
  9872. {
  9873. $str .= '<ns:GetTransactionDetailsRequest>';
  9874. $str .= $this->GetTransactionDetailsRequest->toXMLString();
  9875. $str .= '</ns:GetTransactionDetailsRequest>';
  9876. }
  9877. $str .= '</ns:GetTransactionDetailsReq>';
  9878. return $str;
  9879. }
  9880. }
  9881. /**
  9882. * Unique identifier of a transaction. RequiredThe details for
  9883. * some kinds of transactions cannot be retrieved with
  9884. * GetTransactionDetailsRequest. You cannot obtain details of
  9885. * bank transfer withdrawals, for example. Character length and
  9886. * limitations: 17 single-byte alphanumeric characters
  9887. */
  9888. class GetTransactionDetailsRequestType extends AbstractRequestType
  9889. {
  9890. /**
  9891. * Unique identifier of a transaction. RequiredThe details for
  9892. * some kinds of transactions cannot be retrieved with
  9893. * GetTransactionDetailsRequest. You cannot obtain details of
  9894. * bank transfer withdrawals, for example. Character length and
  9895. * limitations: 17 single-byte alphanumeric characters
  9896. * @access public
  9897. * @namespace ns
  9898. * @var string
  9899. */
  9900. public $TransactionID;
  9901. }
  9902. /**
  9903. *
  9904. */
  9905. class GetTransactionDetailsResponseType extends AbstractResponseType
  9906. {
  9907. /**
  9908. *
  9909. * @access public
  9910. * @namespace ebl
  9911. * @var PaymentTransactionType
  9912. */
  9913. public $PaymentTransactionDetails;
  9914. /**
  9915. *
  9916. * @access public
  9917. * @namespace ebl
  9918. * @var ThreeDSecureInfoType
  9919. */
  9920. public $ThreeDSecureDetails;
  9921. }
  9922. /**
  9923. *
  9924. */
  9925. class BillUserReq
  9926. extends PPXmlMessage{
  9927. /**
  9928. *
  9929. * @access public
  9930. * @namespace ns
  9931. * @var BillUserRequestType
  9932. */
  9933. public $BillUserRequest;
  9934. public function toXMLString()
  9935. {
  9936. $str = '';
  9937. $str .= '<ns:BillUserReq>';
  9938. if($this->BillUserRequest != NULL)
  9939. {
  9940. $str .= '<ns:BillUserRequest>';
  9941. $str .= $this->BillUserRequest->toXMLString();
  9942. $str .= '</ns:BillUserRequest>';
  9943. }
  9944. $str .= '</ns:BillUserReq>';
  9945. return $str;
  9946. }
  9947. }
  9948. /**
  9949. * This flag indicates that the response should include
  9950. * FMFDetails
  9951. */
  9952. class BillUserRequestType extends AbstractRequestType
  9953. {
  9954. /**
  9955. *
  9956. * @access public
  9957. * @namespace ebl
  9958. * @var MerchantPullPaymentType
  9959. */
  9960. public $MerchantPullPaymentDetails;
  9961. /**
  9962. * This flag indicates that the response should include
  9963. * FMFDetails
  9964. * @access public
  9965. * @namespace ns
  9966. * @var integer
  9967. */
  9968. public $ReturnFMFDetails;
  9969. }
  9970. /**
  9971. *
  9972. */
  9973. class BillUserResponseType extends AbstractResponseType
  9974. {
  9975. /**
  9976. *
  9977. * @access public
  9978. * @namespace ebl
  9979. * @var MerchantPullPaymentResponseType
  9980. */
  9981. public $BillUserResponseDetails;
  9982. /**
  9983. *
  9984. * @access public
  9985. * @namespace ns
  9986. * @var FMFDetailsType
  9987. */
  9988. public $FMFDetails;
  9989. }
  9990. /**
  9991. *
  9992. */
  9993. class TransactionSearchReq
  9994. extends PPXmlMessage{
  9995. /**
  9996. *
  9997. * @access public
  9998. * @namespace ns
  9999. * @var TransactionSearchRequestType
  10000. */
  10001. public $TransactionSearchRequest;
  10002. public function toXMLString()
  10003. {
  10004. $str = '';
  10005. $str .= '<ns:TransactionSearchReq>';
  10006. if($this->TransactionSearchRequest != NULL)
  10007. {
  10008. $str .= '<ns:TransactionSearchRequest>';
  10009. $str .= $this->TransactionSearchRequest->toXMLString();
  10010. $str .= '</ns:TransactionSearchRequest>';
  10011. }
  10012. $str .= '</ns:TransactionSearchReq>';
  10013. return $str;
  10014. }
  10015. }
  10016. /**
  10017. * The earliest transaction date at which to start the search.
  10018. * No wildcards are allowed. Required
  10019. */
  10020. class TransactionSearchRequestType extends AbstractRequestType
  10021. {
  10022. /**
  10023. * The earliest transaction date at which to start the search.
  10024. * No wildcards are allowed. Required
  10025. * @access public
  10026. * @namespace ns
  10027. * @var dateTime
  10028. */
  10029. public $StartDate;
  10030. /**
  10031. * The latest transaction date to be included in the search
  10032. * Optional
  10033. * @access public
  10034. * @namespace ns
  10035. * @var dateTime
  10036. */
  10037. public $EndDate;
  10038. /**
  10039. * Search by the buyer's email address OptionalCharacter length
  10040. * and limitations: 127 single-byte alphanumeric characters
  10041. * @access public
  10042. * @namespace ns
  10043. * @var string
  10044. */
  10045. public $Payer;
  10046. /**
  10047. * Search by the receiver's email address. If the merchant
  10048. * account has only one email, this is the primary email. Can
  10049. * also be a non-primary email.Optional
  10050. * @access public
  10051. * @namespace ns
  10052. * @var string
  10053. */
  10054. public $Receiver;
  10055. /**
  10056. * Search by the PayPal Account Optional receipt IDOptional
  10057. * @access public
  10058. * @namespace ns
  10059. * @var string
  10060. */
  10061. public $ReceiptID;
  10062. /**
  10063. * Search by the transaction ID. OptionalThe returned results
  10064. * are from the merchant's transaction records. Character
  10065. * length and limitations: 19 single-byte characters maximum
  10066. * @access public
  10067. * @namespace ns
  10068. * @var string
  10069. */
  10070. public $TransactionID;
  10071. /**
  10072. * Search by Recurring Payment Profile id. The ProfileID is
  10073. * returned as part of the CreateRecurringPaymentsProfile API
  10074. * response. Optional
  10075. * @access public
  10076. * @namespace ns
  10077. * @var string
  10078. */
  10079. public $ProfileID;
  10080. /**
  10081. * Search by the buyer's name OptionalSalutation: 20
  10082. * single-byte character limit.FirstName: 25 single-byte
  10083. * character limit.MiddleName: 25 single-byte character
  10084. * limit.LastName: 25 single-byte character limit.Suffix: 12
  10085. * single-byte character limit.
  10086. * @access public
  10087. * @namespace ns
  10088. * @var PersonNameType
  10089. */
  10090. public $PayerName;
  10091. /**
  10092. * Search by item number of the purchased goods.OptionalTo
  10093. * search for purchased items not related to auctions, set the
  10094. * AuctionItemNumber element to the value of the HTML
  10095. * item_number variable set in the shopping cart for the
  10096. * original transaction.
  10097. * @access public
  10098. * @namespace ns
  10099. * @var string
  10100. */
  10101. public $AuctionItemNumber;
  10102. /**
  10103. * Search by invoice identification key, as set by you for the
  10104. * original transaction. InvoiceID searches the invoice records
  10105. * for items sold by the merchant, not the items purchased.
  10106. * OptionalThe value for InvoiceID must exactly match an
  10107. * invoice identification number. No wildcards are allowed.
  10108. * Character length and limitations: 127 single-byte characters
  10109. * maximum
  10110. * @access public
  10111. * @namespace ns
  10112. * @var string
  10113. */
  10114. public $InvoiceID;
  10115. /**
  10116. *
  10117. * @access public
  10118. * @namespace ns
  10119. * @var string
  10120. */
  10121. public $CardNumber;
  10122. /**
  10123. * Search by classification of transaction. Some kinds of
  10124. * possible classes of transactions are not searchable with
  10125. * TransactionSearchRequest. You cannot search for bank
  10126. * transfer withdrawals, for example. OptionalAll: all
  10127. * transaction classifications.Sent: only payments
  10128. * sent.Received: only payments received.MassPay: only mass
  10129. * payments.MoneyRequest: only money requests.FundsAdded: only
  10130. * funds added to balance.FundsWithdrawn: only funds withdrawn
  10131. * from balance.Referral: only transactions involving
  10132. * referrals.Fee: only transactions involving
  10133. * fees.Subscription: only transactions involving
  10134. * subscriptions.Dividend: only transactions involving
  10135. * dividends.Billpay: only transactions involving BillPay
  10136. * Transactions.Refund: only transactions involving
  10137. * funds.CurrencyConversions: only transactions involving
  10138. * currency conversions.BalanceTransfer: only transactions
  10139. * involving balance transfers.Reversal: only transactions
  10140. * involving BillPay reversals.Shipping: only transactions
  10141. * involving UPS shipping fees.BalanceAffecting: only
  10142. * transactions that affect the account balance.ECheck: only
  10143. * transactions involving eCheckForcedPostTransaction: forced
  10144. * post transaction.NonReferencedRefunds: non-referenced
  10145. * refunds.
  10146. * @access public
  10147. * @namespace ns
  10148. * @var string
  10149. */
  10150. public $TransactionClass;
  10151. /**
  10152. * Search by transaction amount OptionalYou must set the
  10153. * currencyID attribute to one of the three-character currency
  10154. * codes for any of the supported PayPal currencies.
  10155. * @access public
  10156. * @namespace ns
  10157. * @var BasicAmountType
  10158. */
  10159. public $Amount;
  10160. /**
  10161. * Search by currency codeOptional
  10162. * @access public
  10163. * @namespace ns
  10164. * @var string
  10165. */
  10166. public $CurrencyCode;
  10167. /**
  10168. * Search by transaction status OptionalPending: The payment is
  10169. * pending. The specific reason the payment is pending is
  10170. * returned by the GetTransactionDetails APIPendingReason
  10171. * element. For more information, see PendingReason.Processing:
  10172. * The payment is being processed.Success: The payment has been
  10173. * completed and the funds have been added successfully to your
  10174. * account balance.Denied: You denied the payment. This happens
  10175. * only if the payment was previously pending.Reversed: A
  10176. * payment was reversed due to a chargeback or other type of
  10177. * reversal. The funds have been removed from your account
  10178. * balance and returned to the buyer.
  10179. * @access public
  10180. * @namespace ns
  10181. * @var string
  10182. */
  10183. public $Status;
  10184. /**
  10185. * Constructor with arguments
  10186. */
  10187. public function __construct($StartDate = NULL) {
  10188. $this->StartDate = $StartDate;
  10189. }
  10190. }
  10191. /**
  10192. * Results of a Transaction Search.
  10193. */
  10194. class TransactionSearchResponseType extends AbstractResponseType
  10195. {
  10196. /**
  10197. * Results of a Transaction Search.
  10198. * @array
  10199. * @access public
  10200. * @namespace ebl
  10201. * @var PaymentTransactionSearchResultType
  10202. */
  10203. public $PaymentTransactions;
  10204. }
  10205. /**
  10206. *
  10207. */
  10208. class MassPayReq
  10209. extends PPXmlMessage{
  10210. /**
  10211. *
  10212. * @access public
  10213. * @namespace ns
  10214. * @var MassPayRequestType
  10215. */
  10216. public $MassPayRequest;
  10217. public function toXMLString()
  10218. {
  10219. $str = '';
  10220. $str .= '<ns:MassPayReq>';
  10221. if($this->MassPayRequest != NULL)
  10222. {
  10223. $str .= '<ns:MassPayRequest>';
  10224. $str .= $this->MassPayRequest->toXMLString();
  10225. $str .= '</ns:MassPayRequest>';
  10226. }
  10227. $str .= '</ns:MassPayReq>';
  10228. return $str;
  10229. }
  10230. }
  10231. /**
  10232. * Subject line of the email sent to all recipients. This
  10233. * subject is not contained in the input file; you must create
  10234. * it with your application. Optional Character length and
  10235. * limitations: 255 single-byte alphanumeric characters
  10236. */
  10237. class MassPayRequestType extends AbstractRequestType
  10238. {
  10239. /**
  10240. * Subject line of the email sent to all recipients. This
  10241. * subject is not contained in the input file; you must create
  10242. * it with your application. Optional Character length and
  10243. * limitations: 255 single-byte alphanumeric characters
  10244. * @access public
  10245. * @namespace ns
  10246. * @var string
  10247. */
  10248. public $EmailSubject;
  10249. /**
  10250. * Indicates how you identify the recipients of payments in all
  10251. * MassPayItems: either by EmailAddress (ReceiverEmail in
  10252. * MassPayItem), PhoneNumber (ReceiverPhone in MassPayItem), or
  10253. * by UserID (ReceiverID in MassPayItem). Required. You must
  10254. * specify one or the other of EmailAddress or UserID.
  10255. * @access public
  10256. * @namespace ns
  10257. * @var string
  10258. */
  10259. public $ReceiverType;
  10260. /**
  10261. * Known as BN code, to track the partner referred merchant
  10262. * transactions. OptionalCharacter length and limitations: 32
  10263. * single-byte alphanumeric characters
  10264. * @access public
  10265. * @namespace ns
  10266. * @var string
  10267. */
  10268. public $ButtonSource;
  10269. /**
  10270. * Details of each payment. A single MassPayRequest can include
  10271. * up to 250 MassPayItems. Required
  10272. * @array
  10273. * @access public
  10274. * @namespace ns
  10275. * @var MassPayRequestItemType
  10276. */
  10277. public $MassPayItem;
  10278. /**
  10279. * Constructor with arguments
  10280. */
  10281. public function __construct($MassPayItem = NULL) {
  10282. $this->MassPayItem = $MassPayItem;
  10283. }
  10284. }
  10285. /**
  10286. *
  10287. */
  10288. class MassPayResponseType extends AbstractResponseType
  10289. {
  10290. }
  10291. /**
  10292. * MassPayRequestItemType
  10293. */
  10294. class MassPayRequestItemType
  10295. extends PPXmlMessage{
  10296. /**
  10297. * Email address of recipient. Required You must specify
  10298. * ReceiverEmail, ReceiverPhone, or ReceiverID, but all
  10299. * MassPayItems in a request must use the same field to specify
  10300. * recipients. Character length and limitations: 127
  10301. * single-byte characters maximum.
  10302. * @access public
  10303. * @namespace ns
  10304. * @var string
  10305. */
  10306. public $ReceiverEmail;
  10307. /**
  10308. * Phone number of recipient. Required You must specify
  10309. * ReceiverEmail, ReceiverPhone, or ReceiverID, but all
  10310. * MassPayItems in a request must use the same field to specify
  10311. * recipients.
  10312. * @access public
  10313. * @namespace ns
  10314. * @var string
  10315. */
  10316. public $ReceiverPhone;
  10317. /**
  10318. * Unique PayPal customer account number. This value
  10319. * corresponds to the value of PayerID returned by
  10320. * GetTransactionDetails. Required You must specify
  10321. * ReceiverEmail, ReceiverPhone, or ReceiverID, but all
  10322. * MassPayItems in a request must use the same field to specify
  10323. * recipients. Character length and limitations: 17 single-byte
  10324. * characters maximum.
  10325. * @access public
  10326. * @namespace ns
  10327. * @var string
  10328. */
  10329. public $ReceiverID;
  10330. /**
  10331. * Payment amount. You must set the currencyID attribute to one
  10332. * of the three-character currency codes for any of the
  10333. * supported PayPal currencies. Required You cannot mix
  10334. * currencies in a single MassPayRequest. A single request must
  10335. * include items that are of the same currency.
  10336. * @access public
  10337. * @namespace ns
  10338. * @var BasicAmountType
  10339. */
  10340. public $Amount;
  10341. /**
  10342. * Transaction-specific identification number for tracking in
  10343. * an accounting system. Optional Character length and
  10344. * limitations: 30 single-byte characters. No whitespace
  10345. * allowed.
  10346. * @access public
  10347. * @namespace ns
  10348. * @var string
  10349. */
  10350. public $UniqueId;
  10351. /**
  10352. * Custom note for each recipient. Optional Character length
  10353. * and limitations: 4,000 single-byte alphanumeric characters
  10354. * @access public
  10355. * @namespace ns
  10356. * @var string
  10357. */
  10358. public $Note;
  10359. /**
  10360. * Constructor with arguments
  10361. */
  10362. public function __construct($Amount = NULL) {
  10363. $this->Amount = $Amount;
  10364. }
  10365. }
  10366. /**
  10367. *
  10368. */
  10369. class BillAgreementUpdateReq
  10370. extends PPXmlMessage{
  10371. /**
  10372. *
  10373. * @access public
  10374. * @namespace ns
  10375. * @var BAUpdateRequestType
  10376. */
  10377. public $BAUpdateRequest;
  10378. public function toXMLString()
  10379. {
  10380. $str = '';
  10381. $str .= '<ns:BillAgreementUpdateReq>';
  10382. if($this->BAUpdateRequest != NULL)
  10383. {
  10384. $str .= '<ns:BAUpdateRequest>';
  10385. $str .= $this->BAUpdateRequest->toXMLString();
  10386. $str .= '</ns:BAUpdateRequest>';
  10387. }
  10388. $str .= '</ns:BillAgreementUpdateReq>';
  10389. return $str;
  10390. }
  10391. }
  10392. /**
  10393. *
  10394. */
  10395. class BAUpdateRequestType extends AbstractRequestType
  10396. {
  10397. /**
  10398. *
  10399. * @access public
  10400. * @namespace ns
  10401. * @var string
  10402. */
  10403. public $ReferenceID;
  10404. /**
  10405. *
  10406. * @access public
  10407. * @namespace ns
  10408. * @var string
  10409. */
  10410. public $BillingAgreementDescription;
  10411. /**
  10412. *
  10413. * @access public
  10414. * @namespace ns
  10415. * @var string
  10416. */
  10417. public $BillingAgreementStatus;
  10418. /**
  10419. *
  10420. * @access public
  10421. * @namespace ns
  10422. * @var string
  10423. */
  10424. public $BillingAgreementCustom;
  10425. /**
  10426. * Constructor with arguments
  10427. */
  10428. public function __construct($ReferenceID = NULL) {
  10429. $this->ReferenceID = $ReferenceID;
  10430. }
  10431. }
  10432. /**
  10433. *
  10434. */
  10435. class BAUpdateResponseType extends AbstractResponseType
  10436. {
  10437. /**
  10438. *
  10439. * @access public
  10440. * @namespace ebl
  10441. * @var BAUpdateResponseDetailsType
  10442. */
  10443. public $BAUpdateResponseDetails;
  10444. }
  10445. /**
  10446. *
  10447. */
  10448. class AddressVerifyReq
  10449. extends PPXmlMessage{
  10450. /**
  10451. *
  10452. * @access public
  10453. * @namespace ns
  10454. * @var AddressVerifyRequestType
  10455. */
  10456. public $AddressVerifyRequest;
  10457. public function toXMLString()
  10458. {
  10459. $str = '';
  10460. $str .= '<ns:AddressVerifyReq>';
  10461. if($this->AddressVerifyRequest != NULL)
  10462. {
  10463. $str .= '<ns:AddressVerifyRequest>';
  10464. $str .= $this->AddressVerifyRequest->toXMLString();
  10465. $str .= '</ns:AddressVerifyRequest>';
  10466. }
  10467. $str .= '</ns:AddressVerifyReq>';
  10468. return $str;
  10469. }
  10470. }
  10471. /**
  10472. * Email address of buyer to be verified. Required Maximum
  10473. * string length: 255 single-byte characters Input mask: ?@?.??
  10474. *
  10475. */
  10476. class AddressVerifyRequestType extends AbstractRequestType
  10477. {
  10478. /**
  10479. * Email address of buyer to be verified. Required Maximum
  10480. * string length: 255 single-byte characters Input mask: ?@?.??
  10481. * @access public
  10482. * @namespace ns
  10483. * @var string
  10484. */
  10485. public $Email;
  10486. /**
  10487. * First line of buyer’s billing or shipping street address
  10488. * to be verified. Required For verification, input value of
  10489. * street address must match the first three single-byte
  10490. * characters of the street address on file for the PayPal
  10491. * account. Maximum string length: 35 single-byte characters
  10492. * Alphanumeric plus - , . ‘ # \ Whitespace and case of input
  10493. * value are ignored.
  10494. * @access public
  10495. * @namespace ns
  10496. * @var string
  10497. */
  10498. public $Street;
  10499. /**
  10500. * Postal code to be verified. Required For verification, input
  10501. * value of postal code must match the first five single-byte
  10502. * characters of the postal code on file for the PayPal
  10503. * account. Maximum string length: 16 single-byte characters
  10504. * Whitespace and case of input value are ignored.
  10505. * @access public
  10506. * @namespace ns
  10507. * @var string
  10508. */
  10509. public $Zip;
  10510. /**
  10511. * Constructor with arguments
  10512. */
  10513. public function __construct($Email = NULL, $Street = NULL, $Zip = NULL) {
  10514. $this->Email = $Email;
  10515. $this->Street = $Street;
  10516. $this->Zip = $Zip;
  10517. }
  10518. }
  10519. /**
  10520. * Confirmation of a match, with one of the following tokens:
  10521. * None: The input value of the Email object does not match any
  10522. * email address on file at PayPal. Confirmed: If the value of
  10523. * the StreetMatch object is Matched, PayPal responds that the
  10524. * entire postal address is confirmed. Unconfirmed: PayPal
  10525. * responds that the postal address is unconfirmed
  10526. */
  10527. class AddressVerifyResponseType extends AbstractResponseType
  10528. {
  10529. /**
  10530. * Confirmation of a match, with one of the following tokens:
  10531. * None: The input value of the Email object does not match any
  10532. * email address on file at PayPal. Confirmed: If the value of
  10533. * the StreetMatch object is Matched, PayPal responds that the
  10534. * entire postal address is confirmed. Unconfirmed: PayPal
  10535. * responds that the postal address is unconfirmed
  10536. * @access public
  10537. * @namespace ns
  10538. * @var string
  10539. */
  10540. public $ConfirmationCode;
  10541. /**
  10542. * PayPal has compared the postal address you want to verify
  10543. * with the postal address on file at PayPal. None: The input
  10544. * value of the Email object does not match any email address
  10545. * on file at PayPal. In addition, an error response is
  10546. * returned. No further comparison of other input values has
  10547. * been made. Matched: The street address matches the street
  10548. * address on file at PayPal. Unmatched: The street address
  10549. * does not match the street address on file at PayPal.
  10550. * @access public
  10551. * @namespace ns
  10552. * @var string
  10553. */
  10554. public $StreetMatch;
  10555. /**
  10556. * PayPal has compared the zip code you want to verify with the
  10557. * zip code on file for the email address. None: The street
  10558. * address was unmatched. No further comparison of other input
  10559. * values has been made. Matched: The zip code matches the zip
  10560. * code on file at PayPal. Unmatched: The zip code does not
  10561. * match the zip code on file at PayPal.
  10562. * @access public
  10563. * @namespace ns
  10564. * @var string
  10565. */
  10566. public $ZipMatch;
  10567. /**
  10568. * Two-character country code (ISO 3166) on file for the PayPal
  10569. * email address.
  10570. * @access public
  10571. * @namespace ns
  10572. * @var string
  10573. */
  10574. public $CountryCode;
  10575. /**
  10576. * The token prevents a buyer from using any street address
  10577. * other than the address on file at PayPal during additional
  10578. * purchases he might make from the merchant. It contains
  10579. * encrypted information about the user’s street address and
  10580. * email address. You can pass the value of the token with the
  10581. * Buy Now button HTML address_api_token variable so that
  10582. * PayPal prevents the buyer from using any street address or
  10583. * email address other than those verified by PayPal. The token
  10584. * is valid for 24 hours. Character length and limitations: 94
  10585. * single-byte characters
  10586. * @access public
  10587. * @namespace ns
  10588. * @var string
  10589. */
  10590. public $PayPalToken;
  10591. }
  10592. /**
  10593. *
  10594. */
  10595. class EnterBoardingReq
  10596. extends PPXmlMessage{
  10597. /**
  10598. *
  10599. * @access public
  10600. * @namespace ns
  10601. * @var EnterBoardingRequestType
  10602. */
  10603. public $EnterBoardingRequest;
  10604. public function toXMLString()
  10605. {
  10606. $str = '';
  10607. $str .= '<ns:EnterBoardingReq>';
  10608. if($this->EnterBoardingRequest != NULL)
  10609. {
  10610. $str .= '<ns:EnterBoardingRequest>';
  10611. $str .= $this->EnterBoardingRequest->toXMLString();
  10612. $str .= '</ns:EnterBoardingRequest>';
  10613. }
  10614. $str .= '</ns:EnterBoardingReq>';
  10615. return $str;
  10616. }
  10617. }
  10618. /**
  10619. *
  10620. */
  10621. class EnterBoardingRequestType extends AbstractRequestType
  10622. {
  10623. /**
  10624. *
  10625. * @access public
  10626. * @namespace ebl
  10627. * @var EnterBoardingRequestDetailsType
  10628. */
  10629. public $EnterBoardingRequestDetails;
  10630. /**
  10631. * Constructor with arguments
  10632. */
  10633. public function __construct($EnterBoardingRequestDetails = NULL) {
  10634. $this->EnterBoardingRequestDetails = $EnterBoardingRequestDetails;
  10635. }
  10636. }
  10637. /**
  10638. * A unique token that identifies this boarding session. Use
  10639. * this token with the GetBoarding Details API call.Character
  10640. * length and limitations: 64 alphanumeric characters. The
  10641. * token has the following format:OB-61characterstring
  10642. */
  10643. class EnterBoardingResponseType extends AbstractResponseType
  10644. {
  10645. /**
  10646. * A unique token that identifies this boarding session. Use
  10647. * this token with the GetBoarding Details API call.Character
  10648. * length and limitations: 64 alphanumeric characters. The
  10649. * token has the following format:OB-61characterstring
  10650. * @access public
  10651. * @namespace ns
  10652. * @var string
  10653. */
  10654. public $Token;
  10655. }
  10656. /**
  10657. *
  10658. */
  10659. class GetBoardingDetailsReq
  10660. extends PPXmlMessage{
  10661. /**
  10662. *
  10663. * @access public
  10664. * @namespace ns
  10665. * @var GetBoardingDetailsRequestType
  10666. */
  10667. public $GetBoardingDetailsRequest;
  10668. public function toXMLString()
  10669. {
  10670. $str = '';
  10671. $str .= '<ns:GetBoardingDetailsReq>';
  10672. if($this->GetBoardingDetailsRequest != NULL)
  10673. {
  10674. $str .= '<ns:GetBoardingDetailsRequest>';
  10675. $str .= $this->GetBoardingDetailsRequest->toXMLString();
  10676. $str .= '</ns:GetBoardingDetailsRequest>';
  10677. }
  10678. $str .= '</ns:GetBoardingDetailsReq>';
  10679. return $str;
  10680. }
  10681. }
  10682. /**
  10683. * A unique token returned by the EnterBoarding API call that
  10684. * identifies this boarding session. RequiredCharacter length
  10685. * and limitations: 64 alphanumeric characters. The token has
  10686. * the following format:OB-61characterstring
  10687. */
  10688. class GetBoardingDetailsRequestType extends AbstractRequestType
  10689. {
  10690. /**
  10691. * A unique token returned by the EnterBoarding API call that
  10692. * identifies this boarding session. RequiredCharacter length
  10693. * and limitations: 64 alphanumeric characters. The token has
  10694. * the following format:OB-61characterstring
  10695. * @access public
  10696. * @namespace ns
  10697. * @var string
  10698. */
  10699. public $Token;
  10700. /**
  10701. * Constructor with arguments
  10702. */
  10703. public function __construct($Token = NULL) {
  10704. $this->Token = $Token;
  10705. }
  10706. }
  10707. /**
  10708. *
  10709. */
  10710. class GetBoardingDetailsResponseType extends AbstractResponseType
  10711. {
  10712. /**
  10713. *
  10714. * @access public
  10715. * @namespace ebl
  10716. * @var GetBoardingDetailsResponseDetailsType
  10717. */
  10718. public $GetBoardingDetailsResponseDetails;
  10719. }
  10720. /**
  10721. *
  10722. */
  10723. class SetAuthFlowParamReq
  10724. extends PPXmlMessage{
  10725. /**
  10726. *
  10727. * @access public
  10728. * @namespace ns
  10729. * @var SetAuthFlowParamRequestType
  10730. */
  10731. public $SetAuthFlowParamRequest;
  10732. public function toXMLString()
  10733. {
  10734. $str = '';
  10735. $str .= '<ns:SetAuthFlowParamReq>';
  10736. if($this->SetAuthFlowParamRequest != NULL)
  10737. {
  10738. $str .= '<ns:SetAuthFlowParamRequest>';
  10739. $str .= $this->SetAuthFlowParamRequest->toXMLString();
  10740. $str .= '</ns:SetAuthFlowParamRequest>';
  10741. }
  10742. $str .= '</ns:SetAuthFlowParamReq>';
  10743. return $str;
  10744. }
  10745. }
  10746. /**
  10747. *
  10748. */
  10749. class SetAuthFlowParamRequestType extends AbstractRequestType
  10750. {
  10751. /**
  10752. *
  10753. * @access public
  10754. * @namespace ebl
  10755. * @var SetAuthFlowParamRequestDetailsType
  10756. */
  10757. public $SetAuthFlowParamRequestDetails;
  10758. /**
  10759. * Constructor with arguments
  10760. */
  10761. public function __construct($SetAuthFlowParamRequestDetails = NULL) {
  10762. $this->SetAuthFlowParamRequestDetails = $SetAuthFlowParamRequestDetails;
  10763. }
  10764. }
  10765. /**
  10766. * A timestamped token by which you identify to PayPal that you
  10767. * are processing this user. The token expires after three
  10768. * hours. Character length and limitations: 20 single-byte
  10769. * characters
  10770. */
  10771. class SetAuthFlowParamResponseType extends AbstractResponseType
  10772. {
  10773. /**
  10774. * A timestamped token by which you identify to PayPal that you
  10775. * are processing this user. The token expires after three
  10776. * hours. Character length and limitations: 20 single-byte
  10777. * characters
  10778. * @access public
  10779. * @namespace ns
  10780. * @var string
  10781. */
  10782. public $Token;
  10783. }
  10784. /**
  10785. *
  10786. */
  10787. class GetAuthDetailsReq
  10788. extends PPXmlMessage{
  10789. /**
  10790. *
  10791. * @access public
  10792. * @namespace ns
  10793. * @var GetAuthDetailsRequestType
  10794. */
  10795. public $GetAuthDetailsRequest;
  10796. public function toXMLString()
  10797. {
  10798. $str = '';
  10799. $str .= '<ns:GetAuthDetailsReq>';
  10800. if($this->GetAuthDetailsRequest != NULL)
  10801. {
  10802. $str .= '<ns:GetAuthDetailsRequest>';
  10803. $str .= $this->GetAuthDetailsRequest->toXMLString();
  10804. $str .= '</ns:GetAuthDetailsRequest>';
  10805. }
  10806. $str .= '</ns:GetAuthDetailsReq>';
  10807. return $str;
  10808. }
  10809. }
  10810. /**
  10811. * A timestamped token, the value of which was returned by
  10812. * SetAuthFlowParam Response. RequiredCharacter length and
  10813. * limitations: 20 single-byte characters
  10814. */
  10815. class GetAuthDetailsRequestType extends AbstractRequestType
  10816. {
  10817. /**
  10818. * A timestamped token, the value of which was returned by
  10819. * SetAuthFlowParam Response. RequiredCharacter length and
  10820. * limitations: 20 single-byte characters
  10821. * @access public
  10822. * @namespace ns
  10823. * @var string
  10824. */
  10825. public $Token;
  10826. /**
  10827. * Constructor with arguments
  10828. */
  10829. public function __construct($Token = NULL) {
  10830. $this->Token = $Token;
  10831. }
  10832. }
  10833. /**
  10834. *
  10835. */
  10836. class GetAuthDetailsResponseType extends AbstractResponseType
  10837. {
  10838. /**
  10839. *
  10840. * @access public
  10841. * @namespace ebl
  10842. * @var GetAuthDetailsResponseDetailsType
  10843. */
  10844. public $GetAuthDetailsResponseDetails;
  10845. }
  10846. /**
  10847. *
  10848. */
  10849. class SetAccessPermissionsReq
  10850. extends PPXmlMessage{
  10851. /**
  10852. *
  10853. * @access public
  10854. * @namespace ns
  10855. * @var SetAccessPermissionsRequestType
  10856. */
  10857. public $SetAccessPermissionsRequest;
  10858. public function toXMLString()
  10859. {
  10860. $str = '';
  10861. $str .= '<ns:SetAccessPermissionsReq>';
  10862. if($this->SetAccessPermissionsRequest != NULL)
  10863. {
  10864. $str .= '<ns:SetAccessPermissionsRequest>';
  10865. $str .= $this->SetAccessPermissionsRequest->toXMLString();
  10866. $str .= '</ns:SetAccessPermissionsRequest>';
  10867. }
  10868. $str .= '</ns:SetAccessPermissionsReq>';
  10869. return $str;
  10870. }
  10871. }
  10872. /**
  10873. *
  10874. */
  10875. class SetAccessPermissionsRequestType extends AbstractRequestType
  10876. {
  10877. /**
  10878. *
  10879. * @access public
  10880. * @namespace ebl
  10881. * @var SetAccessPermissionsRequestDetailsType
  10882. */
  10883. public $SetAccessPermissionsRequestDetails;
  10884. /**
  10885. * Constructor with arguments
  10886. */
  10887. public function __construct($SetAccessPermissionsRequestDetails = NULL) {
  10888. $this->SetAccessPermissionsRequestDetails = $SetAccessPermissionsRequestDetails;
  10889. }
  10890. }
  10891. /**
  10892. * A timestamped token by which you identify to PayPal that you
  10893. * are processing this user. The token expires after three
  10894. * hours. Character length and limitations: 20 single-byte
  10895. * characters
  10896. */
  10897. class SetAccessPermissionsResponseType extends AbstractResponseType
  10898. {
  10899. /**
  10900. * A timestamped token by which you identify to PayPal that you
  10901. * are processing this user. The token expires after three
  10902. * hours. Character length and limitations: 20 single-byte
  10903. * characters
  10904. * @access public
  10905. * @namespace ns
  10906. * @var string
  10907. */
  10908. public $Token;
  10909. }
  10910. /**
  10911. *
  10912. */
  10913. class UpdateAccessPermissionsReq
  10914. extends PPXmlMessage{
  10915. /**
  10916. *
  10917. * @access public
  10918. * @namespace ns
  10919. * @var UpdateAccessPermissionsRequestType
  10920. */
  10921. public $UpdateAccessPermissionsRequest;
  10922. public function toXMLString()
  10923. {
  10924. $str = '';
  10925. $str .= '<ns:UpdateAccessPermissionsReq>';
  10926. if($this->UpdateAccessPermissionsRequest != NULL)
  10927. {
  10928. $str .= '<ns:UpdateAccessPermissionsRequest>';
  10929. $str .= $this->UpdateAccessPermissionsRequest->toXMLString();
  10930. $str .= '</ns:UpdateAccessPermissionsRequest>';
  10931. }
  10932. $str .= '</ns:UpdateAccessPermissionsReq>';
  10933. return $str;
  10934. }
  10935. }
  10936. /**
  10937. * Unique PayPal customer account number, the value of which
  10938. * was returned by GetAuthDetails Response. Required Character
  10939. * length and limitations: 20 single-byte characters
  10940. */
  10941. class UpdateAccessPermissionsRequestType extends AbstractRequestType
  10942. {
  10943. /**
  10944. * Unique PayPal customer account number, the value of which
  10945. * was returned by GetAuthDetails Response. Required Character
  10946. * length and limitations: 20 single-byte characters
  10947. * @access public
  10948. * @namespace ns
  10949. * @var string
  10950. */
  10951. public $PayerID;
  10952. /**
  10953. * Constructor with arguments
  10954. */
  10955. public function __construct($PayerID = NULL) {
  10956. $this->PayerID = $PayerID;
  10957. }
  10958. }
  10959. /**
  10960. * The status of the update call, Success/Failure. Character
  10961. * length and limitations: 20 single-byte characters
  10962. */
  10963. class UpdateAccessPermissionsResponseType extends AbstractResponseType
  10964. {
  10965. /**
  10966. * The status of the update call, Success/Failure. Character
  10967. * length and limitations: 20 single-byte characters
  10968. * @access public
  10969. * @namespace ns
  10970. * @var string
  10971. */
  10972. public $Status;
  10973. }
  10974. /**
  10975. *
  10976. */
  10977. class GetAccessPermissionDetailsReq
  10978. extends PPXmlMessage{
  10979. /**
  10980. *
  10981. * @access public
  10982. * @namespace ns
  10983. * @var GetAccessPermissionDetailsRequestType
  10984. */
  10985. public $GetAccessPermissionDetailsRequest;
  10986. public function toXMLString()
  10987. {
  10988. $str = '';
  10989. $str .= '<ns:GetAccessPermissionDetailsReq>';
  10990. if($this->GetAccessPermissionDetailsRequest != NULL)
  10991. {
  10992. $str .= '<ns:GetAccessPermissionDetailsRequest>';
  10993. $str .= $this->GetAccessPermissionDetailsRequest->toXMLString();
  10994. $str .= '</ns:GetAccessPermissionDetailsRequest>';
  10995. }
  10996. $str .= '</ns:GetAccessPermissionDetailsReq>';
  10997. return $str;
  10998. }
  10999. }
  11000. /**
  11001. * A timestamped token, the value of which was returned by
  11002. * SetAuthFlowParam Response. Required Character length and
  11003. * limitations: 20 single-byte characters
  11004. */
  11005. class GetAccessPermissionDetailsRequestType extends AbstractRequestType
  11006. {
  11007. /**
  11008. * A timestamped token, the value of which was returned by
  11009. * SetAuthFlowParam Response. Required Character length and
  11010. * limitations: 20 single-byte characters
  11011. * @access public
  11012. * @namespace ns
  11013. * @var string
  11014. */
  11015. public $Token;
  11016. /**
  11017. * Constructor with arguments
  11018. */
  11019. public function __construct($Token = NULL) {
  11020. $this->Token = $Token;
  11021. }
  11022. }
  11023. /**
  11024. *
  11025. */
  11026. class GetAccessPermissionDetailsResponseType extends AbstractResponseType
  11027. {
  11028. /**
  11029. *
  11030. * @access public
  11031. * @namespace ebl
  11032. * @var GetAccessPermissionDetailsResponseDetailsType
  11033. */
  11034. public $GetAccessPermissionDetailsResponseDetails;
  11035. }
  11036. /**
  11037. *
  11038. */
  11039. class GetIncentiveEvaluationReq
  11040. extends PPXmlMessage{
  11041. /**
  11042. *
  11043. * @access public
  11044. * @namespace ns
  11045. * @var GetIncentiveEvaluationRequestType
  11046. */
  11047. public $GetIncentiveEvaluationRequest;
  11048. public function toXMLString()
  11049. {
  11050. $str = '';
  11051. $str .= '<ns:GetIncentiveEvaluationReq>';
  11052. if($this->GetIncentiveEvaluationRequest != NULL)
  11053. {
  11054. $str .= '<ns:GetIncentiveEvaluationRequest>';
  11055. $str .= $this->GetIncentiveEvaluationRequest->toXMLString();
  11056. $str .= '</ns:GetIncentiveEvaluationRequest>';
  11057. }
  11058. $str .= '</ns:GetIncentiveEvaluationReq>';
  11059. return $str;
  11060. }
  11061. }
  11062. /**
  11063. *
  11064. */
  11065. class GetIncentiveEvaluationRequestType extends AbstractRequestType
  11066. {
  11067. /**
  11068. *
  11069. * @access public
  11070. * @namespace ebl
  11071. * @var GetIncentiveEvaluationRequestDetailsType
  11072. */
  11073. public $GetIncentiveEvaluationRequestDetails;
  11074. /**
  11075. * Constructor with arguments
  11076. */
  11077. public function __construct($GetIncentiveEvaluationRequestDetails = NULL) {
  11078. $this->GetIncentiveEvaluationRequestDetails = $GetIncentiveEvaluationRequestDetails;
  11079. }
  11080. }
  11081. /**
  11082. *
  11083. */
  11084. class GetIncentiveEvaluationResponseType extends AbstractResponseType
  11085. {
  11086. /**
  11087. *
  11088. * @access public
  11089. * @namespace ebl
  11090. * @var GetIncentiveEvaluationResponseDetailsType
  11091. */
  11092. public $GetIncentiveEvaluationResponseDetails;
  11093. }
  11094. /**
  11095. *
  11096. */
  11097. class SetExpressCheckoutReq
  11098. extends PPXmlMessage{
  11099. /**
  11100. *
  11101. * @access public
  11102. * @namespace ns
  11103. * @var SetExpressCheckoutRequestType
  11104. */
  11105. public $SetExpressCheckoutRequest;
  11106. public function toXMLString()
  11107. {
  11108. $str = '';
  11109. $str .= '<ns:SetExpressCheckoutReq>';
  11110. if($this->SetExpressCheckoutRequest != NULL)
  11111. {
  11112. $str .= '<ns:SetExpressCheckoutRequest>';
  11113. $str .= $this->SetExpressCheckoutRequest->toXMLString();
  11114. $str .= '</ns:SetExpressCheckoutRequest>';
  11115. }
  11116. $str .= '</ns:SetExpressCheckoutReq>';
  11117. return $str;
  11118. }
  11119. }
  11120. /**
  11121. *
  11122. */
  11123. class SetExpressCheckoutRequestType extends AbstractRequestType
  11124. {
  11125. /**
  11126. *
  11127. * @access public
  11128. * @namespace ebl
  11129. * @var SetExpressCheckoutRequestDetailsType
  11130. */
  11131. public $SetExpressCheckoutRequestDetails;
  11132. /**
  11133. * Constructor with arguments
  11134. */
  11135. public function __construct($SetExpressCheckoutRequestDetails = NULL) {
  11136. $this->SetExpressCheckoutRequestDetails = $SetExpressCheckoutRequestDetails;
  11137. }
  11138. }
  11139. /**
  11140. * A timestamped token by which you identify to PayPal that you
  11141. * are processing this payment with Express Checkout. The token
  11142. * expires after three hours. If you set Token in the
  11143. * SetExpressCheckoutRequest, the value of Token in the
  11144. * response is identical to the value in the request. Character
  11145. * length and limitations: 20 single-byte characters
  11146. */
  11147. class SetExpressCheckoutResponseType extends AbstractResponseType
  11148. {
  11149. /**
  11150. * A timestamped token by which you identify to PayPal that you
  11151. * are processing this payment with Express Checkout. The token
  11152. * expires after three hours. If you set Token in the
  11153. * SetExpressCheckoutRequest, the value of Token in the
  11154. * response is identical to the value in the request. Character
  11155. * length and limitations: 20 single-byte characters
  11156. * @access public
  11157. * @namespace ns
  11158. * @var string
  11159. */
  11160. public $Token;
  11161. }
  11162. /**
  11163. *
  11164. */
  11165. class ExecuteCheckoutOperationsReq
  11166. extends PPXmlMessage{
  11167. /**
  11168. *
  11169. * @access public
  11170. * @namespace ns
  11171. * @var ExecuteCheckoutOperationsRequestType
  11172. */
  11173. public $ExecuteCheckoutOperationsRequest;
  11174. public function toXMLString()
  11175. {
  11176. $str = '';
  11177. $str .= '<ns:ExecuteCheckoutOperationsReq>';
  11178. if($this->ExecuteCheckoutOperationsRequest != NULL)
  11179. {
  11180. $str .= '<ns:ExecuteCheckoutOperationsRequest>';
  11181. $str .= $this->ExecuteCheckoutOperationsRequest->toXMLString();
  11182. $str .= '</ns:ExecuteCheckoutOperationsRequest>';
  11183. }
  11184. $str .= '</ns:ExecuteCheckoutOperationsReq>';
  11185. return $str;
  11186. }
  11187. }
  11188. /**
  11189. *
  11190. */
  11191. class ExecuteCheckoutOperationsRequestType extends AbstractRequestType
  11192. {
  11193. /**
  11194. *
  11195. * @access public
  11196. * @namespace ebl
  11197. * @var ExecuteCheckoutOperationsRequestDetailsType
  11198. */
  11199. public $ExecuteCheckoutOperationsRequestDetails;
  11200. /**
  11201. * Constructor with arguments
  11202. */
  11203. public function __construct($ExecuteCheckoutOperationsRequestDetails = NULL) {
  11204. $this->ExecuteCheckoutOperationsRequestDetails = $ExecuteCheckoutOperationsRequestDetails;
  11205. }
  11206. }
  11207. /**
  11208. *
  11209. */
  11210. class ExecuteCheckoutOperationsResponseType extends AbstractResponseType
  11211. {
  11212. /**
  11213. *
  11214. * @access public
  11215. * @namespace ebl
  11216. * @var ExecuteCheckoutOperationsResponseDetailsType
  11217. */
  11218. public $ExecuteCheckoutOperationsResponseDetails;
  11219. }
  11220. /**
  11221. *
  11222. */
  11223. class GetExpressCheckoutDetailsReq
  11224. extends PPXmlMessage{
  11225. /**
  11226. *
  11227. * @access public
  11228. * @namespace ns
  11229. * @var GetExpressCheckoutDetailsRequestType
  11230. */
  11231. public $GetExpressCheckoutDetailsRequest;
  11232. public function toXMLString()
  11233. {
  11234. $str = '';
  11235. $str .= '<ns:GetExpressCheckoutDetailsReq>';
  11236. if($this->GetExpressCheckoutDetailsRequest != NULL)
  11237. {
  11238. $str .= '<ns:GetExpressCheckoutDetailsRequest>';
  11239. $str .= $this->GetExpressCheckoutDetailsRequest->toXMLString();
  11240. $str .= '</ns:GetExpressCheckoutDetailsRequest>';
  11241. }
  11242. $str .= '</ns:GetExpressCheckoutDetailsReq>';
  11243. return $str;
  11244. }
  11245. }
  11246. /**
  11247. * A timestamped token, the value of which was returned by
  11248. * SetExpressCheckoutResponse. RequiredCharacter length and
  11249. * limitations: 20 single-byte characters
  11250. */
  11251. class GetExpressCheckoutDetailsRequestType extends AbstractRequestType
  11252. {
  11253. /**
  11254. * A timestamped token, the value of which was returned by
  11255. * SetExpressCheckoutResponse. RequiredCharacter length and
  11256. * limitations: 20 single-byte characters
  11257. * @access public
  11258. * @namespace ns
  11259. * @var string
  11260. */
  11261. public $Token;
  11262. /**
  11263. * Constructor with arguments
  11264. */
  11265. public function __construct($Token = NULL) {
  11266. $this->Token = $Token;
  11267. }
  11268. }
  11269. /**
  11270. *
  11271. */
  11272. class GetExpressCheckoutDetailsResponseType extends AbstractResponseType
  11273. {
  11274. /**
  11275. *
  11276. * @access public
  11277. * @namespace ebl
  11278. * @var GetExpressCheckoutDetailsResponseDetailsType
  11279. */
  11280. public $GetExpressCheckoutDetailsResponseDetails;
  11281. }
  11282. /**
  11283. *
  11284. */
  11285. class DoExpressCheckoutPaymentReq
  11286. extends PPXmlMessage{
  11287. /**
  11288. *
  11289. * @access public
  11290. * @namespace ns
  11291. * @var DoExpressCheckoutPaymentRequestType
  11292. */
  11293. public $DoExpressCheckoutPaymentRequest;
  11294. public function toXMLString()
  11295. {
  11296. $str = '';
  11297. $str .= '<ns:DoExpressCheckoutPaymentReq>';
  11298. if($this->DoExpressCheckoutPaymentRequest != NULL)
  11299. {
  11300. $str .= '<ns:DoExpressCheckoutPaymentRequest>';
  11301. $str .= $this->DoExpressCheckoutPaymentRequest->toXMLString();
  11302. $str .= '</ns:DoExpressCheckoutPaymentRequest>';
  11303. }
  11304. $str .= '</ns:DoExpressCheckoutPaymentReq>';
  11305. return $str;
  11306. }
  11307. }
  11308. /**
  11309. * This flag indicates that the response should include
  11310. * FMFDetails
  11311. */
  11312. class DoExpressCheckoutPaymentRequestType extends AbstractRequestType
  11313. {
  11314. /**
  11315. *
  11316. * @access public
  11317. * @namespace ebl
  11318. * @var DoExpressCheckoutPaymentRequestDetailsType
  11319. */
  11320. public $DoExpressCheckoutPaymentRequestDetails;
  11321. /**
  11322. * This flag indicates that the response should include
  11323. * FMFDetails
  11324. * @access public
  11325. * @namespace ns
  11326. * @var integer
  11327. */
  11328. public $ReturnFMFDetails;
  11329. /**
  11330. * Constructor with arguments
  11331. */
  11332. public function __construct($DoExpressCheckoutPaymentRequestDetails = NULL) {
  11333. $this->DoExpressCheckoutPaymentRequestDetails = $DoExpressCheckoutPaymentRequestDetails;
  11334. }
  11335. }
  11336. /**
  11337. *
  11338. */
  11339. class DoExpressCheckoutPaymentResponseType extends AbstractResponseType
  11340. {
  11341. /**
  11342. *
  11343. * @access public
  11344. * @namespace ebl
  11345. * @var DoExpressCheckoutPaymentResponseDetailsType
  11346. */
  11347. public $DoExpressCheckoutPaymentResponseDetails;
  11348. /**
  11349. *
  11350. * @access public
  11351. * @namespace ns
  11352. * @var FMFDetailsType
  11353. */
  11354. public $FMFDetails;
  11355. }
  11356. /**
  11357. *
  11358. */
  11359. class DoUATPExpressCheckoutPaymentReq
  11360. extends PPXmlMessage{
  11361. /**
  11362. *
  11363. * @access public
  11364. * @namespace ns
  11365. * @var DoUATPExpressCheckoutPaymentRequestType
  11366. */
  11367. public $DoUATPExpressCheckoutPaymentRequest;
  11368. public function toXMLString()
  11369. {
  11370. $str = '';
  11371. $str .= '<ns:DoUATPExpressCheckoutPaymentReq>';
  11372. if($this->DoUATPExpressCheckoutPaymentRequest != NULL)
  11373. {
  11374. $str .= '<ns:DoUATPExpressCheckoutPaymentRequest>';
  11375. $str .= $this->DoUATPExpressCheckoutPaymentRequest->toXMLString();
  11376. $str .= '</ns:DoUATPExpressCheckoutPaymentRequest>';
  11377. }
  11378. $str .= '</ns:DoUATPExpressCheckoutPaymentReq>';
  11379. return $str;
  11380. }
  11381. }
  11382. /**
  11383. *
  11384. */
  11385. class DoUATPExpressCheckoutPaymentRequestType extends DoExpressCheckoutPaymentRequestType
  11386. {
  11387. }
  11388. /**
  11389. *
  11390. */
  11391. class DoUATPExpressCheckoutPaymentResponseType extends DoExpressCheckoutPaymentResponseType
  11392. {
  11393. /**
  11394. *
  11395. * @access public
  11396. * @namespace ebl
  11397. * @var UATPDetailsType
  11398. */
  11399. public $UATPDetails;
  11400. }
  11401. /**
  11402. *
  11403. */
  11404. class ManagePendingTransactionStatusReq
  11405. extends PPXmlMessage{
  11406. /**
  11407. *
  11408. * @access public
  11409. * @namespace ns
  11410. * @var ManagePendingTransactionStatusRequestType
  11411. */
  11412. public $ManagePendingTransactionStatusRequest;
  11413. public function toXMLString()
  11414. {
  11415. $str = '';
  11416. $str .= '<ns:ManagePendingTransactionStatusReq>';
  11417. if($this->ManagePendingTransactionStatusRequest != NULL)
  11418. {
  11419. $str .= '<ns:ManagePendingTransactionStatusRequest>';
  11420. $str .= $this->ManagePendingTransactionStatusRequest->toXMLString();
  11421. $str .= '</ns:ManagePendingTransactionStatusRequest>';
  11422. }
  11423. $str .= '</ns:ManagePendingTransactionStatusReq>';
  11424. return $str;
  11425. }
  11426. }
  11427. /**
  11428. *
  11429. */
  11430. class ManagePendingTransactionStatusRequestType extends AbstractRequestType
  11431. {
  11432. /**
  11433. *
  11434. * @access public
  11435. * @namespace ns
  11436. * @var string
  11437. */
  11438. public $TransactionID;
  11439. /**
  11440. *
  11441. * @access public
  11442. * @namespace ns
  11443. * @var string
  11444. */
  11445. public $Action;
  11446. /**
  11447. * Constructor with arguments
  11448. */
  11449. public function __construct($TransactionID = NULL, $Action = NULL) {
  11450. $this->TransactionID = $TransactionID;
  11451. $this->Action = $Action;
  11452. }
  11453. }
  11454. /**
  11455. *
  11456. */
  11457. class ManagePendingTransactionStatusResponseType extends AbstractResponseType
  11458. {
  11459. /**
  11460. *
  11461. * @access public
  11462. * @namespace ns
  11463. * @var string
  11464. */
  11465. public $TransactionID;
  11466. /**
  11467. *
  11468. * @access public
  11469. * @namespace ns
  11470. * @var string
  11471. */
  11472. public $Status;
  11473. }
  11474. /**
  11475. *
  11476. */
  11477. class DoDirectPaymentReq
  11478. extends PPXmlMessage{
  11479. /**
  11480. *
  11481. * @access public
  11482. * @namespace ns
  11483. * @var DoDirectPaymentRequestType
  11484. */
  11485. public $DoDirectPaymentRequest;
  11486. public function toXMLString()
  11487. {
  11488. $str = '';
  11489. $str .= '<ns:DoDirectPaymentReq>';
  11490. if($this->DoDirectPaymentRequest != NULL)
  11491. {
  11492. $str .= '<ns:DoDirectPaymentRequest>';
  11493. $str .= $this->DoDirectPaymentRequest->toXMLString();
  11494. $str .= '</ns:DoDirectPaymentRequest>';
  11495. }
  11496. $str .= '</ns:DoDirectPaymentReq>';
  11497. return $str;
  11498. }
  11499. }
  11500. /**
  11501. * This flag indicates that the response should include
  11502. * FMFDetails
  11503. */
  11504. class DoDirectPaymentRequestType extends AbstractRequestType
  11505. {
  11506. /**
  11507. *
  11508. * @access public
  11509. * @namespace ebl
  11510. * @var DoDirectPaymentRequestDetailsType
  11511. */
  11512. public $DoDirectPaymentRequestDetails;
  11513. /**
  11514. * This flag indicates that the response should include
  11515. * FMFDetails
  11516. * @access public
  11517. * @namespace ns
  11518. * @var integer
  11519. */
  11520. public $ReturnFMFDetails;
  11521. /**
  11522. * Constructor with arguments
  11523. */
  11524. public function __construct($DoDirectPaymentRequestDetails = NULL) {
  11525. $this->DoDirectPaymentRequestDetails = $DoDirectPaymentRequestDetails;
  11526. }
  11527. }
  11528. /**
  11529. * The amount of the payment as specified by you on
  11530. * DoDirectPaymentRequest.
  11531. */
  11532. class DoDirectPaymentResponseType extends AbstractResponseType
  11533. {
  11534. /**
  11535. * The amount of the payment as specified by you on
  11536. * DoDirectPaymentRequest.
  11537. * @access public
  11538. * @namespace ns
  11539. * @var BasicAmountType
  11540. */
  11541. public $Amount;
  11542. /**
  11543. * Address Verification System response code. Character limit:
  11544. * One single-byte alphanumeric character AVS
  11545. * CodeMeaningMatched Details A AddressAddress only (no ZIP) B
  11546. * International “A”Address only (no ZIP) CInternational
  11547. * “N” None DInternational “X” Address and Postal Code
  11548. * E Not allowed for MOTO (Internet/Phone) transactions Not
  11549. * applicable F UK-specific “X”Address and Postal Code G
  11550. * Global Unavailable Not applicable I International
  11551. * UnavailableNot applicable N NoNone PPostal (International
  11552. * “Z”)Postal Code only (no Address) RRetryNot applicable S
  11553. * Service not Supported Not applicable U UnavailableNot
  11554. * applicable W Whole ZIPNine-digit ZIP code (no Address) X
  11555. * Exact match Address and nine-digit ZIP code Y YesAddress and
  11556. * five-digit ZIP Z ZIP Five-digit ZIP code (no Address) All
  11557. * others Error Not applicable
  11558. * @access public
  11559. * @namespace ns
  11560. * @var string
  11561. */
  11562. public $AVSCode;
  11563. /**
  11564. * Result of the CVV2 check by PayPal. CVV2 CodeMeaningMatched
  11565. * Details M MatchCVV2 N No match None P Not ProcessedNot
  11566. * applicable SService not SupportedNot applicable U
  11567. * UnavailableNot applicable XNo response Not applicable All
  11568. * others ErrorNot applicable
  11569. * @access public
  11570. * @namespace ns
  11571. * @var string
  11572. */
  11573. public $CVV2Code;
  11574. /**
  11575. * Transaction identification number. Character length and
  11576. * limitations: 19 characters maximum.
  11577. * @access public
  11578. * @namespace ns
  11579. * @var string
  11580. */
  11581. public $TransactionID;
  11582. /**
  11583. * The reason why a particular transaction went in pending.
  11584. * @access public
  11585. * @namespace ns
  11586. * @var string
  11587. */
  11588. public $PendingReason;
  11589. /**
  11590. * This will identify the actual transaction status.
  11591. * @access public
  11592. * @namespace ns
  11593. * @var string
  11594. */
  11595. public $PaymentStatus;
  11596. /**
  11597. *
  11598. * @access public
  11599. * @namespace ns
  11600. * @var FMFDetailsType
  11601. */
  11602. public $FMFDetails;
  11603. /**
  11604. *
  11605. * @access public
  11606. * @namespace ns
  11607. * @var ThreeDSecureResponseType
  11608. */
  11609. public $ThreeDSecureResponse;
  11610. /**
  11611. * Response code from the processor when a recurring
  11612. * transaction is declined.
  11613. * @access public
  11614. * @namespace ns
  11615. * @var string
  11616. */
  11617. public $PaymentAdviceCode;
  11618. }
  11619. /**
  11620. *
  11621. */
  11622. class DoCancelReq
  11623. extends PPXmlMessage{
  11624. /**
  11625. *
  11626. * @access public
  11627. * @namespace ns
  11628. * @var DoCancelRequestType
  11629. */
  11630. public $DoCancelRequest;
  11631. public function toXMLString()
  11632. {
  11633. $str = '';
  11634. $str .= '<ns:DoCancelReq>';
  11635. if($this->DoCancelRequest != NULL)
  11636. {
  11637. $str .= '<ns:DoCancelRequest>';
  11638. $str .= $this->DoCancelRequest->toXMLString();
  11639. $str .= '</ns:DoCancelRequest>';
  11640. }
  11641. $str .= '</ns:DoCancelReq>';
  11642. return $str;
  11643. }
  11644. }
  11645. /**
  11646. * Msg Sub Id that was used for the orginal operation.
  11647. */
  11648. class DoCancelRequestType extends AbstractRequestType
  11649. {
  11650. /**
  11651. * Msg Sub Id that was used for the orginal operation.
  11652. * @access public
  11653. * @namespace ns
  11654. * @var string
  11655. */
  11656. public $CancelMsgSubID;
  11657. /**
  11658. * Original API's type
  11659. * @access public
  11660. * @namespace ns
  11661. * @var string
  11662. */
  11663. public $APIType;
  11664. /**
  11665. * Unique id for each API request to prevent duplicate
  11666. * payments. Optional Character length and limits: 38
  11667. * single-byte characters maximum.
  11668. * @access public
  11669. * @namespace ns
  11670. * @var string
  11671. */
  11672. public $MsgSubID;
  11673. /**
  11674. * Constructor with arguments
  11675. */
  11676. public function __construct($CancelMsgSubID = NULL, $APIType = NULL) {
  11677. $this->CancelMsgSubID = $CancelMsgSubID;
  11678. $this->APIType = $APIType;
  11679. }
  11680. }
  11681. /**
  11682. * Return msgsubid back to merchant
  11683. */
  11684. class DoCancelResponseType extends AbstractResponseType
  11685. {
  11686. /**
  11687. * Return msgsubid back to merchant
  11688. * @access public
  11689. * @namespace ns
  11690. * @var string
  11691. */
  11692. public $MsgSubID;
  11693. }
  11694. /**
  11695. *
  11696. */
  11697. class DoCaptureReq
  11698. extends PPXmlMessage{
  11699. /**
  11700. *
  11701. * @access public
  11702. * @namespace ns
  11703. * @var DoCaptureRequestType
  11704. */
  11705. public $DoCaptureRequest;
  11706. public function toXMLString()
  11707. {
  11708. $str = '';
  11709. $str .= '<ns:DoCaptureReq>';
  11710. if($this->DoCaptureRequest != NULL)
  11711. {
  11712. $str .= '<ns:DoCaptureRequest>';
  11713. $str .= $this->DoCaptureRequest->toXMLString();
  11714. $str .= '</ns:DoCaptureRequest>';
  11715. }
  11716. $str .= '</ns:DoCaptureReq>';
  11717. return $str;
  11718. }
  11719. }
  11720. /**
  11721. * The authorization identification number of the payment you
  11722. * want to capture. Required Character length and limits: 19
  11723. * single-byte characters maximum
  11724. */
  11725. class DoCaptureRequestType extends AbstractRequestType
  11726. {
  11727. /**
  11728. * The authorization identification number of the payment you
  11729. * want to capture. Required Character length and limits: 19
  11730. * single-byte characters maximum
  11731. * @access public
  11732. * @namespace ns
  11733. * @var string
  11734. */
  11735. public $AuthorizationID;
  11736. /**
  11737. * Amount to authorize. You must set the currencyID attribute
  11738. * to USD. Required Limitations: Must not exceed $10,000 USD in
  11739. * any currency. No currency symbol. Decimal separator must be
  11740. * a period (.), and the thousands separator must be a comma
  11741. * (,)
  11742. * @access public
  11743. * @namespace ns
  11744. * @var BasicAmountType
  11745. */
  11746. public $Amount;
  11747. /**
  11748. * Indicates if this capture is the last capture you intend to
  11749. * make. The default is Complete. If CompleteType is Complete,
  11750. * any remaining amount of the original reauthorized
  11751. * transaction is automatically voided. Required Character
  11752. * length and limits: 12 single-byte alphanumeric characters
  11753. * @access public
  11754. * @namespace ns
  11755. * @var string
  11756. */
  11757. public $CompleteType;
  11758. /**
  11759. * An informational note about this settlement that is
  11760. * displayed to the payer in email and in transaction history.
  11761. * Optional Character length and limits: 255 single-byte
  11762. * characters
  11763. * @access public
  11764. * @namespace ns
  11765. * @var string
  11766. */
  11767. public $Note;
  11768. /**
  11769. * Your invoice number or other identification number. The
  11770. * InvoiceID value is recorded only if the authorization you
  11771. * are capturing is an order authorization, not a basic
  11772. * authorization. Optional Character length and limits: 127
  11773. * single-byte alphanumeric characters
  11774. * @access public
  11775. * @namespace ns
  11776. * @var string
  11777. */
  11778. public $InvoiceID;
  11779. /**
  11780. * Contains enhanced data like airline itinerary information.
  11781. * Not Required
  11782. * @access public
  11783. * @namespace ebl
  11784. * @var EnhancedDataType
  11785. */
  11786. public $EnhancedData;
  11787. /**
  11788. * dynamic descriptor Dynamic descriptor is used for merchant
  11789. * to provide detail of a transaction appears on statement
  11790. * Optional Character length and limits: <18 characters
  11791. * alphanumeric characters
  11792. * @access public
  11793. * @namespace ns
  11794. * @var string
  11795. */
  11796. public $Descriptor;
  11797. /**
  11798. * To pass the Merchant store informationOptional
  11799. * @access public
  11800. * @namespace ebl
  11801. * @var MerchantStoreDetailsType
  11802. */
  11803. public $MerchantStoreDetails;
  11804. /**
  11805. * Unique id for each API request to prevent duplicate
  11806. * payments. Optional Character length and limits: 38
  11807. * single-byte characters maximum.
  11808. * @access public
  11809. * @namespace ns
  11810. * @var string
  11811. */
  11812. public $MsgSubID;
  11813. /**
  11814. * Constructor with arguments
  11815. */
  11816. public function __construct($AuthorizationID = NULL, $Amount = NULL, $CompleteType = NULL) {
  11817. $this->AuthorizationID = $AuthorizationID;
  11818. $this->Amount = $Amount;
  11819. $this->CompleteType = $CompleteType;
  11820. }
  11821. }
  11822. /**
  11823. *
  11824. */
  11825. class DoCaptureResponseType extends AbstractResponseType
  11826. {
  11827. /**
  11828. *
  11829. * @access public
  11830. * @namespace ebl
  11831. * @var DoCaptureResponseDetailsType
  11832. */
  11833. public $DoCaptureResponseDetails;
  11834. }
  11835. /**
  11836. *
  11837. */
  11838. class DoReauthorizationReq
  11839. extends PPXmlMessage{
  11840. /**
  11841. *
  11842. * @access public
  11843. * @namespace ns
  11844. * @var DoReauthorizationRequestType
  11845. */
  11846. public $DoReauthorizationRequest;
  11847. public function toXMLString()
  11848. {
  11849. $str = '';
  11850. $str .= '<ns:DoReauthorizationReq>';
  11851. if($this->DoReauthorizationRequest != NULL)
  11852. {
  11853. $str .= '<ns:DoReauthorizationRequest>';
  11854. $str .= $this->DoReauthorizationRequest->toXMLString();
  11855. $str .= '</ns:DoReauthorizationRequest>';
  11856. }
  11857. $str .= '</ns:DoReauthorizationReq>';
  11858. return $str;
  11859. }
  11860. }
  11861. /**
  11862. * The value of a previously authorized transaction
  11863. * identification number returned by a PayPal product. You can
  11864. * obtain a buyer's transaction number from the TransactionID
  11865. * element of the PayerInfo structure returned by
  11866. * GetTransactionDetailsResponse. Required Character length and
  11867. * limits: 19 single-byte characters maximum
  11868. */
  11869. class DoReauthorizationRequestType extends AbstractRequestType
  11870. {
  11871. /**
  11872. * The value of a previously authorized transaction
  11873. * identification number returned by a PayPal product. You can
  11874. * obtain a buyer's transaction number from the TransactionID
  11875. * element of the PayerInfo structure returned by
  11876. * GetTransactionDetailsResponse. Required Character length and
  11877. * limits: 19 single-byte characters maximum
  11878. * @access public
  11879. * @namespace ns
  11880. * @var string
  11881. */
  11882. public $AuthorizationID;
  11883. /**
  11884. * Amount to reauthorize. Required Limitations: Must not exceed
  11885. * $10,000 USD in any currency. No currency symbol. Decimal
  11886. * separator must be a period (.), and the thousands separator
  11887. * must be a comma (,).
  11888. * @access public
  11889. * @namespace ns
  11890. * @var BasicAmountType
  11891. */
  11892. public $Amount;
  11893. /**
  11894. * Unique id for each API request to prevent duplicate
  11895. * payments. Optional Character length and limits: 38
  11896. * single-byte characters maximum.
  11897. * @access public
  11898. * @namespace ns
  11899. * @var string
  11900. */
  11901. public $MsgSubID;
  11902. /**
  11903. * Constructor with arguments
  11904. */
  11905. public function __construct($AuthorizationID = NULL, $Amount = NULL) {
  11906. $this->AuthorizationID = $AuthorizationID;
  11907. $this->Amount = $Amount;
  11908. }
  11909. }
  11910. /**
  11911. * A new authorization identification number. Character length
  11912. * and limits: 19 single-byte characters
  11913. */
  11914. class DoReauthorizationResponseType extends AbstractResponseType
  11915. {
  11916. /**
  11917. * A new authorization identification number. Character length
  11918. * and limits: 19 single-byte characters
  11919. * @access public
  11920. * @namespace ns
  11921. * @var string
  11922. */
  11923. public $AuthorizationID;
  11924. /**
  11925. *
  11926. * @access public
  11927. * @namespace ebl
  11928. * @var AuthorizationInfoType
  11929. */
  11930. public $AuthorizationInfo;
  11931. /**
  11932. * Return msgsubid back to merchant
  11933. * @access public
  11934. * @namespace ns
  11935. * @var string
  11936. */
  11937. public $MsgSubID;
  11938. }
  11939. /**
  11940. *
  11941. */
  11942. class DoVoidReq
  11943. extends PPXmlMessage{
  11944. /**
  11945. *
  11946. * @access public
  11947. * @namespace ns
  11948. * @var DoVoidRequestType
  11949. */
  11950. public $DoVoidRequest;
  11951. public function toXMLString()
  11952. {
  11953. $str = '';
  11954. $str .= '<ns:DoVoidReq>';
  11955. if($this->DoVoidRequest != NULL)
  11956. {
  11957. $str .= '<ns:DoVoidRequest>';
  11958. $str .= $this->DoVoidRequest->toXMLString();
  11959. $str .= '</ns:DoVoidRequest>';
  11960. }
  11961. $str .= '</ns:DoVoidReq>';
  11962. return $str;
  11963. }
  11964. }
  11965. /**
  11966. * The value of the original authorization identification
  11967. * number returned by a PayPal product. If you are voiding a
  11968. * transaction that has been reauthorized, use the ID from the
  11969. * original authorization, and not the reauthorization.
  11970. * Required Character length and limits: 19 single-byte
  11971. * characters
  11972. */
  11973. class DoVoidRequestType extends AbstractRequestType
  11974. {
  11975. /**
  11976. * The value of the original authorization identification
  11977. * number returned by a PayPal product. If you are voiding a
  11978. * transaction that has been reauthorized, use the ID from the
  11979. * original authorization, and not the reauthorization.
  11980. * Required Character length and limits: 19 single-byte
  11981. * characters
  11982. * @access public
  11983. * @namespace ns
  11984. * @var string
  11985. */
  11986. public $AuthorizationID;
  11987. /**
  11988. * An informational note about this settlement that is
  11989. * displayed to the payer in email and in transaction history.
  11990. * Optional Character length and limits: 255 single-byte
  11991. * characters
  11992. * @access public
  11993. * @namespace ns
  11994. * @var string
  11995. */
  11996. public $Note;
  11997. /**
  11998. * Unique id for each API request to prevent duplicate
  11999. * payments. Optional Character length and limits: 38
  12000. * single-byte characters maximum.
  12001. * @access public
  12002. * @namespace ns
  12003. * @var string
  12004. */
  12005. public $MsgSubID;
  12006. /**
  12007. * Constructor with arguments
  12008. */
  12009. public function __construct($AuthorizationID = NULL) {
  12010. $this->AuthorizationID = $AuthorizationID;
  12011. }
  12012. }
  12013. /**
  12014. * The authorization identification number you specified in the
  12015. * request. Character length and limits: 19 single-byte
  12016. * characters
  12017. */
  12018. class DoVoidResponseType extends AbstractResponseType
  12019. {
  12020. /**
  12021. * The authorization identification number you specified in the
  12022. * request. Character length and limits: 19 single-byte
  12023. * characters
  12024. * @access public
  12025. * @namespace ns
  12026. * @var string
  12027. */
  12028. public $AuthorizationID;
  12029. /**
  12030. * Return msgsubid back to merchant
  12031. * @access public
  12032. * @namespace ns
  12033. * @var string
  12034. */
  12035. public $MsgSubID;
  12036. }
  12037. /**
  12038. *
  12039. */
  12040. class DoAuthorizationReq
  12041. extends PPXmlMessage{
  12042. /**
  12043. *
  12044. * @access public
  12045. * @namespace ns
  12046. * @var DoAuthorizationRequestType
  12047. */
  12048. public $DoAuthorizationRequest;
  12049. public function toXMLString()
  12050. {
  12051. $str = '';
  12052. $str .= '<ns:DoAuthorizationReq>';
  12053. if($this->DoAuthorizationRequest != NULL)
  12054. {
  12055. $str .= '<ns:DoAuthorizationRequest>';
  12056. $str .= $this->DoAuthorizationRequest->toXMLString();
  12057. $str .= '</ns:DoAuthorizationRequest>';
  12058. }
  12059. $str .= '</ns:DoAuthorizationReq>';
  12060. return $str;
  12061. }
  12062. }
  12063. /**
  12064. * The value of the order’s transaction identification number
  12065. * returned by a PayPal product. Required Character length and
  12066. * limits: 19 single-byte characters maximum
  12067. */
  12068. class DoAuthorizationRequestType extends AbstractRequestType
  12069. {
  12070. /**
  12071. * The value of the order’s transaction identification number
  12072. * returned by a PayPal product. Required Character length and
  12073. * limits: 19 single-byte characters maximum
  12074. * @access public
  12075. * @namespace ns
  12076. * @var string
  12077. */
  12078. public $TransactionID;
  12079. /**
  12080. * Type of transaction to authorize. The only allowable value
  12081. * is Order, which means that the transaction represents a
  12082. * customer order that can be fulfilled over 29 days. Optional
  12083. * @access public
  12084. * @namespace ns
  12085. * @var string
  12086. */
  12087. public $TransactionEntity;
  12088. /**
  12089. * Amount to authorize. Required Limitations: Must not exceed
  12090. * $10,000 USD in any currency. No currency symbol. Decimal
  12091. * separator must be a period (.), and the thousands separator
  12092. * must be a comma (,).
  12093. * @access public
  12094. * @namespace ns
  12095. * @var BasicAmountType
  12096. */
  12097. public $Amount;
  12098. /**
  12099. * Unique id for each API request to prevent duplicate
  12100. * payments. Optional Character length and limits: 38
  12101. * single-byte characters maximum.
  12102. * @access public
  12103. * @namespace ns
  12104. * @var string
  12105. */
  12106. public $MsgSubID;
  12107. /**
  12108. * Constructor with arguments
  12109. */
  12110. public function __construct($TransactionID = NULL, $Amount = NULL) {
  12111. $this->TransactionID = $TransactionID;
  12112. $this->Amount = $Amount;
  12113. }
  12114. }
  12115. /**
  12116. * An authorization identification number. Character length and
  12117. * limits: 19 single-byte characters
  12118. */
  12119. class DoAuthorizationResponseType extends AbstractResponseType
  12120. {
  12121. /**
  12122. * An authorization identification number. Character length and
  12123. * limits: 19 single-byte characters
  12124. * @access public
  12125. * @namespace ns
  12126. * @var string
  12127. */
  12128. public $TransactionID;
  12129. /**
  12130. * The amount and currency you specified in the request.
  12131. * @access public
  12132. * @namespace ns
  12133. * @var BasicAmountType
  12134. */
  12135. public $Amount;
  12136. /**
  12137. *
  12138. * @access public
  12139. * @namespace ebl
  12140. * @var AuthorizationInfoType
  12141. */
  12142. public $AuthorizationInfo;
  12143. /**
  12144. * Return msgsubid back to merchant
  12145. * @access public
  12146. * @namespace ns
  12147. * @var string
  12148. */
  12149. public $MsgSubID;
  12150. }
  12151. /**
  12152. *
  12153. */
  12154. class DoUATPAuthorizationReq
  12155. extends PPXmlMessage{
  12156. /**
  12157. *
  12158. * @access public
  12159. * @namespace ns
  12160. * @var DoUATPAuthorizationRequestType
  12161. */
  12162. public $DoUATPAuthorizationRequest;
  12163. public function toXMLString()
  12164. {
  12165. $str = '';
  12166. $str .= '<ns:DoUATPAuthorizationReq>';
  12167. if($this->DoUATPAuthorizationRequest != NULL)
  12168. {
  12169. $str .= '<ns:DoUATPAuthorizationRequest>';
  12170. $str .= $this->DoUATPAuthorizationRequest->toXMLString();
  12171. $str .= '</ns:DoUATPAuthorizationRequest>';
  12172. }
  12173. $str .= '</ns:DoUATPAuthorizationReq>';
  12174. return $str;
  12175. }
  12176. }
  12177. /**
  12178. * UATP card details Required
  12179. */
  12180. class DoUATPAuthorizationRequestType extends AbstractRequestType
  12181. {
  12182. /**
  12183. * UATP card details Required
  12184. * @access public
  12185. * @namespace ebl
  12186. * @var UATPDetailsType
  12187. */
  12188. public $UATPDetails;
  12189. /**
  12190. * Type of transaction to authorize. The only allowable value
  12191. * is Order, which means that the transaction represents a
  12192. * customer order that can be fulfilled over 29 days. Optional
  12193. * @access public
  12194. * @namespace ns
  12195. * @var string
  12196. */
  12197. public $TransactionEntity;
  12198. /**
  12199. * Amount to authorize. Required Limitations: Must not exceed
  12200. * $10,000 USD in any currency. No currency symbol. Decimal
  12201. * separator must be a period (.), and the thousands separator
  12202. * must be a comma (,).
  12203. * @access public
  12204. * @namespace ns
  12205. * @var BasicAmountType
  12206. */
  12207. public $Amount;
  12208. /**
  12209. * Invoice ID. A pass through.
  12210. * @access public
  12211. * @namespace ns
  12212. * @var string
  12213. */
  12214. public $InvoiceID;
  12215. /**
  12216. * Unique id for each API request to prevent duplicate
  12217. * payments. Optional Character length and limits: 38
  12218. * single-byte characters maximum.
  12219. * @access public
  12220. * @namespace ns
  12221. * @var string
  12222. */
  12223. public $MsgSubID;
  12224. /**
  12225. * Constructor with arguments
  12226. */
  12227. public function __construct($UATPDetails = NULL, $Amount = NULL) {
  12228. $this->UATPDetails = $UATPDetails;
  12229. $this->Amount = $Amount;
  12230. }
  12231. }
  12232. /**
  12233. * Auth Authorization Code.
  12234. */
  12235. class DoUATPAuthorizationResponseType extends DoAuthorizationResponseType
  12236. {
  12237. /**
  12238. *
  12239. * @access public
  12240. * @namespace ebl
  12241. * @var UATPDetailsType
  12242. */
  12243. public $UATPDetails;
  12244. /**
  12245. * Auth Authorization Code.
  12246. * @access public
  12247. * @namespace ns
  12248. * @var string
  12249. */
  12250. public $AuthorizationCode;
  12251. /**
  12252. * Invoice ID. A pass through.
  12253. * @access public
  12254. * @namespace ns
  12255. * @var string
  12256. */
  12257. public $InvoiceID;
  12258. /**
  12259. * Unique id for each API request to prevent duplicate
  12260. * payments. Optional Character length and limits: 38
  12261. * single-byte characters maximum.
  12262. * @access public
  12263. * @namespace ns
  12264. * @var string
  12265. */
  12266. public $MsgSubID;
  12267. }
  12268. /**
  12269. *
  12270. */
  12271. class CreateMobilePaymentReq
  12272. extends PPXmlMessage{
  12273. /**
  12274. *
  12275. * @access public
  12276. * @namespace ns
  12277. * @var CreateMobilePaymentRequestType
  12278. */
  12279. public $CreateMobilePaymentRequest;
  12280. public function toXMLString()
  12281. {
  12282. $str = '';
  12283. $str .= '<ns:CreateMobilePaymentReq>';
  12284. if($this->CreateMobilePaymentRequest != NULL)
  12285. {
  12286. $str .= '<ns:CreateMobilePaymentRequest>';
  12287. $str .= $this->CreateMobilePaymentRequest->toXMLString();
  12288. $str .= '</ns:CreateMobilePaymentRequest>';
  12289. }
  12290. $str .= '</ns:CreateMobilePaymentReq>';
  12291. return $str;
  12292. }
  12293. }
  12294. /**
  12295. *
  12296. */
  12297. class CreateMobilePaymentRequestType extends AbstractRequestType
  12298. {
  12299. /**
  12300. *
  12301. * @access public
  12302. * @namespace ebl
  12303. * @var CreateMobilePaymentRequestDetailsType
  12304. */
  12305. public $CreateMobilePaymentRequestDetails;
  12306. /**
  12307. * Constructor with arguments
  12308. */
  12309. public function __construct($CreateMobilePaymentRequestDetails = NULL) {
  12310. $this->CreateMobilePaymentRequestDetails = $CreateMobilePaymentRequestDetails;
  12311. }
  12312. }
  12313. /**
  12314. *
  12315. */
  12316. class CreateMobilePaymentResponseType extends AbstractResponseType
  12317. {
  12318. }
  12319. /**
  12320. *
  12321. */
  12322. class GetMobileStatusReq
  12323. extends PPXmlMessage{
  12324. /**
  12325. *
  12326. * @access public
  12327. * @namespace ns
  12328. * @var GetMobileStatusRequestType
  12329. */
  12330. public $GetMobileStatusRequest;
  12331. public function toXMLString()
  12332. {
  12333. $str = '';
  12334. $str .= '<ns:GetMobileStatusReq>';
  12335. if($this->GetMobileStatusRequest != NULL)
  12336. {
  12337. $str .= '<ns:GetMobileStatusRequest>';
  12338. $str .= $this->GetMobileStatusRequest->toXMLString();
  12339. $str .= '</ns:GetMobileStatusRequest>';
  12340. }
  12341. $str .= '</ns:GetMobileStatusReq>';
  12342. return $str;
  12343. }
  12344. }
  12345. /**
  12346. *
  12347. */
  12348. class GetMobileStatusRequestType extends AbstractRequestType
  12349. {
  12350. /**
  12351. *
  12352. * @access public
  12353. * @namespace ebl
  12354. * @var GetMobileStatusRequestDetailsType
  12355. */
  12356. public $GetMobileStatusRequestDetails;
  12357. /**
  12358. * Constructor with arguments
  12359. */
  12360. public function __construct($GetMobileStatusRequestDetails = NULL) {
  12361. $this->GetMobileStatusRequestDetails = $GetMobileStatusRequestDetails;
  12362. }
  12363. }
  12364. /**
  12365. * Indicates whether the phone is activated for mobile payments
  12366. *
  12367. */
  12368. class GetMobileStatusResponseType extends AbstractResponseType
  12369. {
  12370. /**
  12371. * Indicates whether the phone is activated for mobile payments
  12372. *
  12373. * @access public
  12374. * @namespace ns
  12375. * @var integer
  12376. */
  12377. public $IsActivated;
  12378. /**
  12379. * Indicates whether there is a payment pending from the phone
  12380. * @access public
  12381. * @namespace ns
  12382. * @var integer
  12383. */
  12384. public $PaymentPending;
  12385. }
  12386. /**
  12387. *
  12388. */
  12389. class SetMobileCheckoutReq
  12390. extends PPXmlMessage{
  12391. /**
  12392. *
  12393. * @access public
  12394. * @namespace ns
  12395. * @var SetMobileCheckoutRequestType
  12396. */
  12397. public $SetMobileCheckoutRequest;
  12398. public function toXMLString()
  12399. {
  12400. $str = '';
  12401. $str .= '<ns:SetMobileCheckoutReq>';
  12402. if($this->SetMobileCheckoutRequest != NULL)
  12403. {
  12404. $str .= '<ns:SetMobileCheckoutRequest>';
  12405. $str .= $this->SetMobileCheckoutRequest->toXMLString();
  12406. $str .= '</ns:SetMobileCheckoutRequest>';
  12407. }
  12408. $str .= '</ns:SetMobileCheckoutReq>';
  12409. return $str;
  12410. }
  12411. }
  12412. /**
  12413. *
  12414. */
  12415. class SetMobileCheckoutRequestType extends AbstractRequestType
  12416. {
  12417. /**
  12418. *
  12419. * @access public
  12420. * @namespace ebl
  12421. * @var SetMobileCheckoutRequestDetailsType
  12422. */
  12423. public $SetMobileCheckoutRequestDetails;
  12424. /**
  12425. * Constructor with arguments
  12426. */
  12427. public function __construct($SetMobileCheckoutRequestDetails = NULL) {
  12428. $this->SetMobileCheckoutRequestDetails = $SetMobileCheckoutRequestDetails;
  12429. }
  12430. }
  12431. /**
  12432. * A timestamped token by which you identify to PayPal that you
  12433. * are processing this payment with Mobile Checkout. The token
  12434. * expires after three hours. Character length and limitations:
  12435. * 20 single-byte characters
  12436. */
  12437. class SetMobileCheckoutResponseType extends AbstractResponseType
  12438. {
  12439. /**
  12440. * A timestamped token by which you identify to PayPal that you
  12441. * are processing this payment with Mobile Checkout. The token
  12442. * expires after three hours. Character length and limitations:
  12443. * 20 single-byte characters
  12444. * @access public
  12445. * @namespace ns
  12446. * @var string
  12447. */
  12448. public $Token;
  12449. }
  12450. /**
  12451. *
  12452. */
  12453. class DoMobileCheckoutPaymentReq
  12454. extends PPXmlMessage{
  12455. /**
  12456. *
  12457. * @access public
  12458. * @namespace ns
  12459. * @var DoMobileCheckoutPaymentRequestType
  12460. */
  12461. public $DoMobileCheckoutPaymentRequest;
  12462. public function toXMLString()
  12463. {
  12464. $str = '';
  12465. $str .= '<ns:DoMobileCheckoutPaymentReq>';
  12466. if($this->DoMobileCheckoutPaymentRequest != NULL)
  12467. {
  12468. $str .= '<ns:DoMobileCheckoutPaymentRequest>';
  12469. $str .= $this->DoMobileCheckoutPaymentRequest->toXMLString();
  12470. $str .= '</ns:DoMobileCheckoutPaymentRequest>';
  12471. }
  12472. $str .= '</ns:DoMobileCheckoutPaymentReq>';
  12473. return $str;
  12474. }
  12475. }
  12476. /**
  12477. * A timestamped token, the value of which was returned by
  12478. * SetMobileCheckoutResponse. RequiredCharacter length and
  12479. * limitations: 20 single-byte characters
  12480. */
  12481. class DoMobileCheckoutPaymentRequestType extends AbstractRequestType
  12482. {
  12483. /**
  12484. * A timestamped token, the value of which was returned by
  12485. * SetMobileCheckoutResponse. RequiredCharacter length and
  12486. * limitations: 20 single-byte characters
  12487. * @access public
  12488. * @namespace ns
  12489. * @var string
  12490. */
  12491. public $Token;
  12492. /**
  12493. * Constructor with arguments
  12494. */
  12495. public function __construct($Token = NULL) {
  12496. $this->Token = $Token;
  12497. }
  12498. }
  12499. /**
  12500. *
  12501. */
  12502. class DoMobileCheckoutPaymentResponseType extends AbstractResponseType
  12503. {
  12504. /**
  12505. *
  12506. * @access public
  12507. * @namespace ebl
  12508. * @var DoMobileCheckoutPaymentResponseDetailsType
  12509. */
  12510. public $DoMobileCheckoutPaymentResponseDetails;
  12511. }
  12512. /**
  12513. *
  12514. */
  12515. class GetBalanceReq
  12516. extends PPXmlMessage{
  12517. /**
  12518. *
  12519. * @access public
  12520. * @namespace ns
  12521. * @var GetBalanceRequestType
  12522. */
  12523. public $GetBalanceRequest;
  12524. public function toXMLString()
  12525. {
  12526. $str = '';
  12527. $str .= '<ns:GetBalanceReq>';
  12528. if($this->GetBalanceRequest != NULL)
  12529. {
  12530. $str .= '<ns:GetBalanceRequest>';
  12531. $str .= $this->GetBalanceRequest->toXMLString();
  12532. $str .= '</ns:GetBalanceRequest>';
  12533. }
  12534. $str .= '</ns:GetBalanceReq>';
  12535. return $str;
  12536. }
  12537. }
  12538. /**
  12539. *
  12540. */
  12541. class GetBalanceRequestType extends AbstractRequestType
  12542. {
  12543. /**
  12544. *
  12545. * @access public
  12546. * @namespace ns
  12547. * @var string
  12548. */
  12549. public $ReturnAllCurrencies;
  12550. }
  12551. /**
  12552. *
  12553. */
  12554. class GetBalanceResponseType extends AbstractResponseType
  12555. {
  12556. /**
  12557. *
  12558. * @access public
  12559. * @namespace ns
  12560. * @var BasicAmountType
  12561. */
  12562. public $Balance;
  12563. /**
  12564. *
  12565. * @access public
  12566. * @namespace ns
  12567. * @var dateTime
  12568. */
  12569. public $BalanceTimeStamp;
  12570. /**
  12571. *
  12572. * @array
  12573. * @access public
  12574. * @namespace ns
  12575. * @var BasicAmountType
  12576. */
  12577. public $BalanceHoldings;
  12578. }
  12579. /**
  12580. *
  12581. */
  12582. class SetCustomerBillingAgreementReq
  12583. extends PPXmlMessage{
  12584. /**
  12585. *
  12586. * @access public
  12587. * @namespace ns
  12588. * @var SetCustomerBillingAgreementRequestType
  12589. */
  12590. public $SetCustomerBillingAgreementRequest;
  12591. public function toXMLString()
  12592. {
  12593. $str = '';
  12594. $str .= '<ns:SetCustomerBillingAgreementReq>';
  12595. if($this->SetCustomerBillingAgreementRequest != NULL)
  12596. {
  12597. $str .= '<ns:SetCustomerBillingAgreementRequest>';
  12598. $str .= $this->SetCustomerBillingAgreementRequest->toXMLString();
  12599. $str .= '</ns:SetCustomerBillingAgreementRequest>';
  12600. }
  12601. $str .= '</ns:SetCustomerBillingAgreementReq>';
  12602. return $str;
  12603. }
  12604. }
  12605. /**
  12606. *
  12607. */
  12608. class SetCustomerBillingAgreementRequestType extends AbstractRequestType
  12609. {
  12610. /**
  12611. *
  12612. * @access public
  12613. * @namespace ebl
  12614. * @var SetCustomerBillingAgreementRequestDetailsType
  12615. */
  12616. public $SetCustomerBillingAgreementRequestDetails;
  12617. /**
  12618. * Constructor with arguments
  12619. */
  12620. public function __construct($SetCustomerBillingAgreementRequestDetails = NULL) {
  12621. $this->SetCustomerBillingAgreementRequestDetails = $SetCustomerBillingAgreementRequestDetails;
  12622. }
  12623. }
  12624. /**
  12625. *
  12626. */
  12627. class SetCustomerBillingAgreementResponseType extends AbstractResponseType
  12628. {
  12629. /**
  12630. *
  12631. * @access public
  12632. * @namespace ns
  12633. * @var string
  12634. */
  12635. public $Token;
  12636. }
  12637. /**
  12638. *
  12639. */
  12640. class GetBillingAgreementCustomerDetailsReq
  12641. extends PPXmlMessage{
  12642. /**
  12643. *
  12644. * @access public
  12645. * @namespace ns
  12646. * @var GetBillingAgreementCustomerDetailsRequestType
  12647. */
  12648. public $GetBillingAgreementCustomerDetailsRequest;
  12649. public function toXMLString()
  12650. {
  12651. $str = '';
  12652. $str .= '<ns:GetBillingAgreementCustomerDetailsReq>';
  12653. if($this->GetBillingAgreementCustomerDetailsRequest != NULL)
  12654. {
  12655. $str .= '<ns:GetBillingAgreementCustomerDetailsRequest>';
  12656. $str .= $this->GetBillingAgreementCustomerDetailsRequest->toXMLString();
  12657. $str .= '</ns:GetBillingAgreementCustomerDetailsRequest>';
  12658. }
  12659. $str .= '</ns:GetBillingAgreementCustomerDetailsReq>';
  12660. return $str;
  12661. }
  12662. }
  12663. /**
  12664. *
  12665. */
  12666. class GetBillingAgreementCustomerDetailsRequestType extends AbstractRequestType
  12667. {
  12668. /**
  12669. *
  12670. * @access public
  12671. * @namespace ns
  12672. * @var string
  12673. */
  12674. public $Token;
  12675. /**
  12676. * Constructor with arguments
  12677. */
  12678. public function __construct($Token = NULL) {
  12679. $this->Token = $Token;
  12680. }
  12681. }
  12682. /**
  12683. *
  12684. */
  12685. class GetBillingAgreementCustomerDetailsResponseType extends AbstractResponseType
  12686. {
  12687. /**
  12688. *
  12689. * @access public
  12690. * @namespace ebl
  12691. * @var GetBillingAgreementCustomerDetailsResponseDetailsType
  12692. */
  12693. public $GetBillingAgreementCustomerDetailsResponseDetails;
  12694. }
  12695. /**
  12696. *
  12697. */
  12698. class CreateBillingAgreementReq
  12699. extends PPXmlMessage{
  12700. /**
  12701. *
  12702. * @access public
  12703. * @namespace ns
  12704. * @var CreateBillingAgreementRequestType
  12705. */
  12706. public $CreateBillingAgreementRequest;
  12707. public function toXMLString()
  12708. {
  12709. $str = '';
  12710. $str .= '<ns:CreateBillingAgreementReq>';
  12711. if($this->CreateBillingAgreementRequest != NULL)
  12712. {
  12713. $str .= '<ns:CreateBillingAgreementRequest>';
  12714. $str .= $this->CreateBillingAgreementRequest->toXMLString();
  12715. $str .= '</ns:CreateBillingAgreementRequest>';
  12716. }
  12717. $str .= '</ns:CreateBillingAgreementReq>';
  12718. return $str;
  12719. }
  12720. }
  12721. /**
  12722. *
  12723. */
  12724. class CreateBillingAgreementRequestType extends AbstractRequestType
  12725. {
  12726. /**
  12727. *
  12728. * @access public
  12729. * @namespace ns
  12730. * @var string
  12731. */
  12732. public $Token;
  12733. /**
  12734. * Constructor with arguments
  12735. */
  12736. public function __construct($Token = NULL) {
  12737. $this->Token = $Token;
  12738. }
  12739. }
  12740. /**
  12741. *
  12742. */
  12743. class CreateBillingAgreementResponseType extends AbstractResponseType
  12744. {
  12745. /**
  12746. *
  12747. * @access public
  12748. * @namespace ns
  12749. * @var string
  12750. */
  12751. public $BillingAgreementID;
  12752. }
  12753. /**
  12754. *
  12755. */
  12756. class DoReferenceTransactionReq
  12757. extends PPXmlMessage{
  12758. /**
  12759. *
  12760. * @access public
  12761. * @namespace ns
  12762. * @var DoReferenceTransactionRequestType
  12763. */
  12764. public $DoReferenceTransactionRequest;
  12765. public function toXMLString()
  12766. {
  12767. $str = '';
  12768. $str .= '<ns:DoReferenceTransactionReq>';
  12769. if($this->DoReferenceTransactionRequest != NULL)
  12770. {
  12771. $str .= '<ns:DoReferenceTransactionRequest>';
  12772. $str .= $this->DoReferenceTransactionRequest->toXMLString();
  12773. $str .= '</ns:DoReferenceTransactionRequest>';
  12774. }
  12775. $str .= '</ns:DoReferenceTransactionReq>';
  12776. return $str;
  12777. }
  12778. }
  12779. /**
  12780. * This flag indicates that the response should include
  12781. * FMFDetails
  12782. */
  12783. class DoReferenceTransactionRequestType extends AbstractRequestType
  12784. {
  12785. /**
  12786. *
  12787. * @access public
  12788. * @namespace ebl
  12789. * @var DoReferenceTransactionRequestDetailsType
  12790. */
  12791. public $DoReferenceTransactionRequestDetails;
  12792. /**
  12793. * This flag indicates that the response should include
  12794. * FMFDetails
  12795. * @access public
  12796. * @namespace ns
  12797. * @var integer
  12798. */
  12799. public $ReturnFMFDetails;
  12800. /**
  12801. * Constructor with arguments
  12802. */
  12803. public function __construct($DoReferenceTransactionRequestDetails = NULL) {
  12804. $this->DoReferenceTransactionRequestDetails = $DoReferenceTransactionRequestDetails;
  12805. }
  12806. }
  12807. /**
  12808. *
  12809. */
  12810. class DoReferenceTransactionResponseType extends AbstractResponseType
  12811. {
  12812. /**
  12813. *
  12814. * @access public
  12815. * @namespace ebl
  12816. * @var DoReferenceTransactionResponseDetailsType
  12817. */
  12818. public $DoReferenceTransactionResponseDetails;
  12819. /**
  12820. *
  12821. * @access public
  12822. * @namespace ns
  12823. * @var FMFDetailsType
  12824. */
  12825. public $FMFDetails;
  12826. }
  12827. /**
  12828. *
  12829. */
  12830. class DoNonReferencedCreditReq
  12831. extends PPXmlMessage{
  12832. /**
  12833. *
  12834. * @access public
  12835. * @namespace ns
  12836. * @var DoNonReferencedCreditRequestType
  12837. */
  12838. public $DoNonReferencedCreditRequest;
  12839. public function toXMLString()
  12840. {
  12841. $str = '';
  12842. $str .= '<ns:DoNonReferencedCreditReq>';
  12843. if($this->DoNonReferencedCreditRequest != NULL)
  12844. {
  12845. $str .= '<ns:DoNonReferencedCreditRequest>';
  12846. $str .= $this->DoNonReferencedCreditRequest->toXMLString();
  12847. $str .= '</ns:DoNonReferencedCreditRequest>';
  12848. }
  12849. $str .= '</ns:DoNonReferencedCreditReq>';
  12850. return $str;
  12851. }
  12852. }
  12853. /**
  12854. *
  12855. */
  12856. class DoNonReferencedCreditRequestType extends AbstractRequestType
  12857. {
  12858. /**
  12859. *
  12860. * @access public
  12861. * @namespace ebl
  12862. * @var DoNonReferencedCreditRequestDetailsType
  12863. */
  12864. public $DoNonReferencedCreditRequestDetails;
  12865. /**
  12866. * Constructor with arguments
  12867. */
  12868. public function __construct($DoNonReferencedCreditRequestDetails = NULL) {
  12869. $this->DoNonReferencedCreditRequestDetails = $DoNonReferencedCreditRequestDetails;
  12870. }
  12871. }
  12872. /**
  12873. *
  12874. */
  12875. class DoNonReferencedCreditResponseType extends AbstractResponseType
  12876. {
  12877. /**
  12878. *
  12879. * @access public
  12880. * @namespace ebl
  12881. * @var DoNonReferencedCreditResponseDetailsType
  12882. */
  12883. public $DoNonReferencedCreditResponseDetails;
  12884. }
  12885. /**
  12886. *
  12887. */
  12888. class CreateRecurringPaymentsProfileReq
  12889. extends PPXmlMessage{
  12890. /**
  12891. *
  12892. * @access public
  12893. * @namespace ns
  12894. * @var CreateRecurringPaymentsProfileRequestType
  12895. */
  12896. public $CreateRecurringPaymentsProfileRequest;
  12897. public function toXMLString()
  12898. {
  12899. $str = '';
  12900. $str .= '<ns:CreateRecurringPaymentsProfileReq>';
  12901. if($this->CreateRecurringPaymentsProfileRequest != NULL)
  12902. {
  12903. $str .= '<ns:CreateRecurringPaymentsProfileRequest>';
  12904. $str .= $this->CreateRecurringPaymentsProfileRequest->toXMLString();
  12905. $str .= '</ns:CreateRecurringPaymentsProfileRequest>';
  12906. }
  12907. $str .= '</ns:CreateRecurringPaymentsProfileReq>';
  12908. return $str;
  12909. }
  12910. }
  12911. /**
  12912. *
  12913. */
  12914. class CreateRecurringPaymentsProfileRequestType extends AbstractRequestType
  12915. {
  12916. /**
  12917. *
  12918. * @access public
  12919. * @namespace ebl
  12920. * @var CreateRecurringPaymentsProfileRequestDetailsType
  12921. */
  12922. public $CreateRecurringPaymentsProfileRequestDetails;
  12923. }
  12924. /**
  12925. *
  12926. */
  12927. class CreateRecurringPaymentsProfileResponseType extends AbstractResponseType
  12928. {
  12929. /**
  12930. *
  12931. * @access public
  12932. * @namespace ebl
  12933. * @var CreateRecurringPaymentsProfileResponseDetailsType
  12934. */
  12935. public $CreateRecurringPaymentsProfileResponseDetails;
  12936. }
  12937. /**
  12938. *
  12939. */
  12940. class GetRecurringPaymentsProfileDetailsReq
  12941. extends PPXmlMessage{
  12942. /**
  12943. *
  12944. * @access public
  12945. * @namespace ns
  12946. * @var GetRecurringPaymentsProfileDetailsRequestType
  12947. */
  12948. public $GetRecurringPaymentsProfileDetailsRequest;
  12949. public function toXMLString()
  12950. {
  12951. $str = '';
  12952. $str .= '<ns:GetRecurringPaymentsProfileDetailsReq>';
  12953. if($this->GetRecurringPaymentsProfileDetailsRequest != NULL)
  12954. {
  12955. $str .= '<ns:GetRecurringPaymentsProfileDetailsRequest>';
  12956. $str .= $this->GetRecurringPaymentsProfileDetailsRequest->toXMLString();
  12957. $str .= '</ns:GetRecurringPaymentsProfileDetailsRequest>';
  12958. }
  12959. $str .= '</ns:GetRecurringPaymentsProfileDetailsReq>';
  12960. return $str;
  12961. }
  12962. }
  12963. /**
  12964. *
  12965. */
  12966. class GetRecurringPaymentsProfileDetailsRequestType extends AbstractRequestType
  12967. {
  12968. /**
  12969. *
  12970. * @access public
  12971. * @namespace ns
  12972. * @var string
  12973. */
  12974. public $ProfileID;
  12975. /**
  12976. * Constructor with arguments
  12977. */
  12978. public function __construct($ProfileID = NULL) {
  12979. $this->ProfileID = $ProfileID;
  12980. }
  12981. }
  12982. /**
  12983. *
  12984. */
  12985. class GetRecurringPaymentsProfileDetailsResponseType extends AbstractResponseType
  12986. {
  12987. /**
  12988. *
  12989. * @access public
  12990. * @namespace ebl
  12991. * @var GetRecurringPaymentsProfileDetailsResponseDetailsType
  12992. */
  12993. public $GetRecurringPaymentsProfileDetailsResponseDetails;
  12994. }
  12995. /**
  12996. *
  12997. */
  12998. class ManageRecurringPaymentsProfileStatusReq
  12999. extends PPXmlMessage{
  13000. /**
  13001. *
  13002. * @access public
  13003. * @namespace ns
  13004. * @var ManageRecurringPaymentsProfileStatusRequestType
  13005. */
  13006. public $ManageRecurringPaymentsProfileStatusRequest;
  13007. public function toXMLString()
  13008. {
  13009. $str = '';
  13010. $str .= '<ns:ManageRecurringPaymentsProfileStatusReq>';
  13011. if($this->ManageRecurringPaymentsProfileStatusRequest != NULL)
  13012. {
  13013. $str .= '<ns:ManageRecurringPaymentsProfileStatusRequest>';
  13014. $str .= $this->ManageRecurringPaymentsProfileStatusRequest->toXMLString();
  13015. $str .= '</ns:ManageRecurringPaymentsProfileStatusRequest>';
  13016. }
  13017. $str .= '</ns:ManageRecurringPaymentsProfileStatusReq>';
  13018. return $str;
  13019. }
  13020. }
  13021. /**
  13022. *
  13023. */
  13024. class ManageRecurringPaymentsProfileStatusRequestType extends AbstractRequestType
  13025. {
  13026. /**
  13027. *
  13028. * @access public
  13029. * @namespace ebl
  13030. * @var ManageRecurringPaymentsProfileStatusRequestDetailsType
  13031. */
  13032. public $ManageRecurringPaymentsProfileStatusRequestDetails;
  13033. }
  13034. /**
  13035. *
  13036. */
  13037. class ManageRecurringPaymentsProfileStatusResponseType extends AbstractResponseType
  13038. {
  13039. /**
  13040. *
  13041. * @access public
  13042. * @namespace ebl
  13043. * @var ManageRecurringPaymentsProfileStatusResponseDetailsType
  13044. */
  13045. public $ManageRecurringPaymentsProfileStatusResponseDetails;
  13046. }
  13047. /**
  13048. *
  13049. */
  13050. class BillOutstandingAmountReq
  13051. extends PPXmlMessage{
  13052. /**
  13053. *
  13054. * @access public
  13055. * @namespace ns
  13056. * @var BillOutstandingAmountRequestType
  13057. */
  13058. public $BillOutstandingAmountRequest;
  13059. public function toXMLString()
  13060. {
  13061. $str = '';
  13062. $str .= '<ns:BillOutstandingAmountReq>';
  13063. if($this->BillOutstandingAmountRequest != NULL)
  13064. {
  13065. $str .= '<ns:BillOutstandingAmountRequest>';
  13066. $str .= $this->BillOutstandingAmountRequest->toXMLString();
  13067. $str .= '</ns:BillOutstandingAmountRequest>';
  13068. }
  13069. $str .= '</ns:BillOutstandingAmountReq>';
  13070. return $str;
  13071. }
  13072. }
  13073. /**
  13074. *
  13075. */
  13076. class BillOutstandingAmountRequestType extends AbstractRequestType
  13077. {
  13078. /**
  13079. *
  13080. * @access public
  13081. * @namespace ebl
  13082. * @var BillOutstandingAmountRequestDetailsType
  13083. */
  13084. public $BillOutstandingAmountRequestDetails;
  13085. }
  13086. /**
  13087. *
  13088. */
  13089. class BillOutstandingAmountResponseType extends AbstractResponseType
  13090. {
  13091. /**
  13092. *
  13093. * @access public
  13094. * @namespace ebl
  13095. * @var BillOutstandingAmountResponseDetailsType
  13096. */
  13097. public $BillOutstandingAmountResponseDetails;
  13098. }
  13099. /**
  13100. *
  13101. */
  13102. class UpdateRecurringPaymentsProfileReq
  13103. extends PPXmlMessage{
  13104. /**
  13105. *
  13106. * @access public
  13107. * @namespace ns
  13108. * @var UpdateRecurringPaymentsProfileRequestType
  13109. */
  13110. public $UpdateRecurringPaymentsProfileRequest;
  13111. public function toXMLString()
  13112. {
  13113. $str = '';
  13114. $str .= '<ns:UpdateRecurringPaymentsProfileReq>';
  13115. if($this->UpdateRecurringPaymentsProfileRequest != NULL)
  13116. {
  13117. $str .= '<ns:UpdateRecurringPaymentsProfileRequest>';
  13118. $str .= $this->UpdateRecurringPaymentsProfileRequest->toXMLString();
  13119. $str .= '</ns:UpdateRecurringPaymentsProfileRequest>';
  13120. }
  13121. $str .= '</ns:UpdateRecurringPaymentsProfileReq>';
  13122. return $str;
  13123. }
  13124. }
  13125. /**
  13126. *
  13127. */
  13128. class UpdateRecurringPaymentsProfileRequestType extends AbstractRequestType
  13129. {
  13130. /**
  13131. *
  13132. * @access public
  13133. * @namespace ebl
  13134. * @var UpdateRecurringPaymentsProfileRequestDetailsType
  13135. */
  13136. public $UpdateRecurringPaymentsProfileRequestDetails;
  13137. }
  13138. /**
  13139. *
  13140. */
  13141. class UpdateRecurringPaymentsProfileResponseType extends AbstractResponseType
  13142. {
  13143. /**
  13144. *
  13145. * @access public
  13146. * @namespace ebl
  13147. * @var UpdateRecurringPaymentsProfileResponseDetailsType
  13148. */
  13149. public $UpdateRecurringPaymentsProfileResponseDetails;
  13150. }
  13151. /**
  13152. *
  13153. */
  13154. class GetPalDetailsReq
  13155. extends PPXmlMessage{
  13156. /**
  13157. *
  13158. * @access public
  13159. * @namespace ns
  13160. * @var GetPalDetailsRequestType
  13161. */
  13162. public $GetPalDetailsRequest;
  13163. public function toXMLString()
  13164. {
  13165. $str = '';
  13166. $str .= '<ns:GetPalDetailsReq>';
  13167. if($this->GetPalDetailsRequest != NULL)
  13168. {
  13169. $str .= '<ns:GetPalDetailsRequest>';
  13170. $str .= $this->GetPalDetailsRequest->toXMLString();
  13171. $str .= '</ns:GetPalDetailsRequest>';
  13172. }
  13173. $str .= '</ns:GetPalDetailsReq>';
  13174. return $str;
  13175. }
  13176. }
  13177. /**
  13178. *
  13179. */
  13180. class GetPalDetailsRequestType extends AbstractRequestType
  13181. {
  13182. }
  13183. /**
  13184. *
  13185. */
  13186. class GetPalDetailsResponseType extends AbstractResponseType
  13187. {
  13188. /**
  13189. *
  13190. * @access public
  13191. * @namespace ns
  13192. * @var string
  13193. */
  13194. public $Pal;
  13195. /**
  13196. *
  13197. * @access public
  13198. * @namespace ns
  13199. * @var string
  13200. */
  13201. public $Locale;
  13202. }
  13203. /**
  13204. *
  13205. */
  13206. class ReverseTransactionReq
  13207. extends PPXmlMessage{
  13208. /**
  13209. *
  13210. * @access public
  13211. * @namespace ns
  13212. * @var ReverseTransactionRequestType
  13213. */
  13214. public $ReverseTransactionRequest;
  13215. public function toXMLString()
  13216. {
  13217. $str = '';
  13218. $str .= '<ns:ReverseTransactionReq>';
  13219. if($this->ReverseTransactionRequest != NULL)
  13220. {
  13221. $str .= '<ns:ReverseTransactionRequest>';
  13222. $str .= $this->ReverseTransactionRequest->toXMLString();
  13223. $str .= '</ns:ReverseTransactionRequest>';
  13224. }
  13225. $str .= '</ns:ReverseTransactionReq>';
  13226. return $str;
  13227. }
  13228. }
  13229. /**
  13230. *
  13231. */
  13232. class ReverseTransactionRequestType extends AbstractRequestType
  13233. {
  13234. /**
  13235. *
  13236. * @access public
  13237. * @namespace ebl
  13238. * @var ReverseTransactionRequestDetailsType
  13239. */
  13240. public $ReverseTransactionRequestDetails;
  13241. /**
  13242. * Constructor with arguments
  13243. */
  13244. public function __construct($ReverseTransactionRequestDetails = NULL) {
  13245. $this->ReverseTransactionRequestDetails = $ReverseTransactionRequestDetails;
  13246. }
  13247. }
  13248. /**
  13249. *
  13250. */
  13251. class ReverseTransactionResponseType extends AbstractResponseType
  13252. {
  13253. /**
  13254. *
  13255. * @access public
  13256. * @namespace ebl
  13257. * @var ReverseTransactionResponseDetailsType
  13258. */
  13259. public $ReverseTransactionResponseDetails;
  13260. }
  13261. /**
  13262. *
  13263. */
  13264. class ExternalRememberMeOptOutReq
  13265. extends PPXmlMessage{
  13266. /**
  13267. *
  13268. * @access public
  13269. * @namespace ns
  13270. * @var ExternalRememberMeOptOutRequestType
  13271. */
  13272. public $ExternalRememberMeOptOutRequest;
  13273. public function toXMLString()
  13274. {
  13275. $str = '';
  13276. $str .= '<ns:ExternalRememberMeOptOutReq>';
  13277. if($this->ExternalRememberMeOptOutRequest != NULL)
  13278. {
  13279. $str .= '<ns:ExternalRememberMeOptOutRequest>';
  13280. $str .= $this->ExternalRememberMeOptOutRequest->toXMLString();
  13281. $str .= '</ns:ExternalRememberMeOptOutRequest>';
  13282. }
  13283. $str .= '</ns:ExternalRememberMeOptOutReq>';
  13284. return $str;
  13285. }
  13286. }
  13287. /**
  13288. * The merchant passes in the ExternalRememberMeID to identify
  13289. * the user to opt out. This is a 17-character alphanumeric
  13290. * (encrypted) string that identifies the buyer's remembered
  13291. * login with a merchant and has meaning only to the merchant.
  13292. * Required
  13293. */
  13294. class ExternalRememberMeOptOutRequestType extends AbstractRequestType
  13295. {
  13296. /**
  13297. * The merchant passes in the ExternalRememberMeID to identify
  13298. * the user to opt out. This is a 17-character alphanumeric
  13299. * (encrypted) string that identifies the buyer's remembered
  13300. * login with a merchant and has meaning only to the merchant.
  13301. * Required
  13302. * @access public
  13303. * @namespace ns
  13304. * @var string
  13305. */
  13306. public $ExternalRememberMeID;
  13307. /**
  13308. * E-mail address or secure merchant account ID of merchant to
  13309. * associate with external remember-me.
  13310. * @access public
  13311. * @namespace ns
  13312. * @var ExternalRememberMeOwnerDetailsType
  13313. */
  13314. public $ExternalRememberMeOwnerDetails;
  13315. /**
  13316. * Constructor with arguments
  13317. */
  13318. public function __construct($ExternalRememberMeID = NULL) {
  13319. $this->ExternalRememberMeID = $ExternalRememberMeID;
  13320. }
  13321. }
  13322. /**
  13323. *
  13324. */
  13325. class ExternalRememberMeOptOutResponseType extends AbstractResponseType
  13326. {
  13327. }