Best Mockery code snippet using Exact
exacttarget_soap_client.php
Source:exacttarget_soap_client.php
1<?php 2require('soap-wsse.php');3// This class file is generated based on the ExactTarget Email SOAP API WSDL (https://webservice.exacttarget.com/etframework.wsdl).4class ExactTargetSoapClient extends SoapClient {5 public $username = NULL;6 public $password = NULL;7 public $authtoken = NULL;8 function __doRequest($request, $location, $saction, $version) {9 $doc = new DOMDocument();10 $doc->loadXML($request);11 $objWSSE = new WSSESoap($doc);12 $objWSSE->addUserToken($this->username, $this->password, FALSE);13 14 if ($this->authtoken != null){15 $token = $this->authtoken;16 $objWSSE->addOAuth($token);17 }18 return parent::__doRequest($objWSSE->saveXML(), $location, $saction, $version);19 }20 21 22}23class ExactTarget_APIFault {24 public $Code; // int25 public $Message; // string26 public $LogID; // long27 public $Params; // ExactTarget_Params28}29class ExactTarget_Params {30 public $Param; // string31}32class ExactTarget_APIObject {33 public $Client; // ExactTarget_ClientID34 public $PartnerKey; // string35 public $PartnerProperties; // ExactTarget_APIProperty36 public $CreatedDate; // dateTime37 public $ModifiedDate; // dateTime38 public $ID; // int39 public $ObjectID; // string40 public $CustomerKey; // string41 public $Owner; // ExactTarget_Owner42 public $CorrelationID; // string43 public $ObjectState; // string44}45class ExactTarget_ClientID {46 public $ClientID; // int47 public $ID; // int48 public $PartnerClientKey; // string49 public $UserID; // int50 public $PartnerUserKey; // string51 public $CreatedBy; // int52 public $ModifiedBy; // int53 public $EnterpriseID; // long54 public $CustomerKey; // string55}56class ExactTarget_APIProperty {57 public $Name; // string58 public $Value; // string59}60class ExactTarget_NullAPIProperty {61}62class ExactTarget_DataFolder {63 public $ParentFolder; // ExactTarget_DataFolder64 public $Name; // string65 public $Description; // string66 public $ContentType; // string67 public $IsActive; // boolean68 public $IsEditable; // boolean69 public $AllowChildren; // boolean70}71class ExactTarget_Owner {72 public $Client; // ExactTarget_ClientID73 public $FromName; // string74 public $FromAddress; // string75 public $User; // ExactTarget_AccountUser76}77class ExactTarget_AsyncResponseType {78 const None='None';79 const email='email';80 const FTP='FTP';81 const HTTPPost='HTTPPost';82}83class ExactTarget_AsyncResponse {84 public $ResponseType; // ExactTarget_AsyncResponseType85 public $ResponseAddress; // string86 public $RespondWhen; // ExactTarget_RespondWhen87 public $IncludeResults; // boolean88 public $IncludeObjects; // boolean89 public $OnlyIncludeBase; // boolean90}91class ExactTarget_ContainerID {92 public $APIObject; // ExactTarget_APIObject93}94class ExactTarget_Request {95}96class ExactTarget_Result {97 public $StatusCode; // string98 public $StatusMessage; // string99 public $OrdinalID; // int100 public $ErrorCode; // int101 public $RequestID; // string102 public $ConversationID; // string103 public $OverallStatusCode; // string104 public $RequestType; // ExactTarget_RequestType105 public $ResultType; // string106 public $ResultDetailXML; // string107}108class ExactTarget_ResultMessage {109 public $RequestID; // string110 public $ConversationID; // string111 public $OverallStatusCode; // string112 public $StatusCode; // string113 public $StatusMessage; // string114 public $ErrorCode; // int115 public $RequestType; // ExactTarget_RequestType116 public $ResultType; // string117 public $ResultDetailXML; // string118 public $SequenceCode; // int119 public $CallsInConversation; // int120}121class ExactTarget_ResultItem {122 public $RequestID; // string123 public $ConversationID; // string124 public $StatusCode; // string125 public $StatusMessage; // string126 public $OrdinalID; // int127 public $ErrorCode; // int128 public $RequestType; // ExactTarget_RequestType129 public $RequestObjectType; // string130}131class ExactTarget_Priority {132 const Low='Low';133 const Medium='Medium';134 const High='High';135}136class ExactTarget_Options {137 public $Client; // ExactTarget_ClientID138 public $SendResponseTo; // ExactTarget_AsyncResponse139 public $SaveOptions; // ExactTarget_SaveOptions140 public $Priority; // byte141 public $ConversationID; // string142 public $SequenceCode; // int143 public $CallsInConversation; // int144 public $ScheduledTime; // dateTime145 public $RequestType; // ExactTarget_RequestType146 public $QueuePriority; // ExactTarget_Priority147}148class ExactTarget_SaveOptions {149 public $SaveOption; // ExactTarget_SaveOption150}151class ExactTarget_TaskResult {152 public $StatusCode; // string153 public $StatusMessage; // string154 public $OrdinalID; // int155 public $ErrorCode; // int156 public $ID; // string157 public $InteractionObjectID; // string158}159class ExactTarget_RequestType {160 const Synchronous='Synchronous';161 const Asynchronous='Asynchronous';162}163class ExactTarget_RespondWhen {164 const Never='Never';165 const OnError='OnError';166 const Always='Always';167 const OnConversationError='OnConversationError';168 const OnConversationComplete='OnConversationComplete';169 const OnCallComplete='OnCallComplete';170}171class ExactTarget_SaveOption {172 public $PropertyName; // string173 public $SaveAction; // ExactTarget_SaveAction174}175class ExactTarget_SaveAction {176 const AddOnly='AddOnly';177 const _Default='Default';178 const Nothing='Nothing';179 const UpdateAdd='UpdateAdd';180 const UpdateOnly='UpdateOnly';181 const Delete='Delete';182}183class ExactTarget_CreateRequest {184 public $Options; // ExactTarget_CreateOptions185 public $Objects; // ExactTarget_APIObject186}187class ExactTarget_CreateResult {188 public $NewID; // int189 public $NewObjectID; // string190 public $PartnerKey; // string191 public $Object; // ExactTarget_APIObject192 public $CreateResults; // ExactTarget_CreateResult193 public $ParentPropertyName; // string194}195class ExactTarget_CreateResponse {196 public $Results; // ExactTarget_CreateResult197 public $RequestID; // string198 public $OverallStatus; // string199}200class ExactTarget_CreateOptions {201 public $Container; // ExactTarget_ContainerID202}203class ExactTarget_UpdateOptions {204 public $Container; // ExactTarget_ContainerID205 public $Action; // string206}207class ExactTarget_UpdateRequest {208 public $Options; // ExactTarget_UpdateOptions209 public $Objects; // ExactTarget_APIObject210}211class ExactTarget_UpdateResult {212 public $Object; // ExactTarget_APIObject213 public $UpdateResults; // ExactTarget_UpdateResult214 public $ParentPropertyName; // string215}216class ExactTarget_UpdateResponse {217 public $Results; // ExactTarget_UpdateResult218 public $RequestID; // string219 public $OverallStatus; // string220}221class ExactTarget_DeleteOptions {222}223class ExactTarget_DeleteRequest {224 public $Options; // ExactTarget_DeleteOptions225 public $Objects; // ExactTarget_APIObject226}227class ExactTarget_DeleteResult {228 public $Object; // ExactTarget_APIObject229}230class ExactTarget_DeleteResponse {231 public $Results; // ExactTarget_DeleteResult232 public $RequestID; // string233 public $OverallStatus; // string234}235class ExactTarget_RetrieveRequest {236 public $ClientIDs; // ExactTarget_ClientID237 public $ObjectType; // string238 public $Properties; // string239 public $Filter; // ExactTarget_FilterPart240 public $RespondTo; // ExactTarget_AsyncResponse241 public $PartnerProperties; // ExactTarget_APIProperty242 public $ContinueRequest; // string243 public $QueryAllAccounts; // boolean244 public $RetrieveAllSinceLastBatch; // boolean245 public $RepeatLastResult; // boolean246 public $Retrieves; // ExactTarget_Retrieves247 public $Options; // ExactTarget_RetrieveOptions248}249class ExactTarget_Retrieves {250 public $Request; // ExactTarget_Request251}252class ExactTarget_RetrieveRequestMsg {253 public $RetrieveRequest; // ExactTarget_RetrieveRequest254}255class ExactTarget_RetrieveResponseMsg {256 public $OverallStatus; // string257 public $RequestID; // string258 public $Results; // ExactTarget_APIObject259}260class ExactTarget_RetrieveSingleRequest {261 public $RequestedObject; // ExactTarget_APIObject262 public $RetrieveOption; // ExactTarget_Options263}264class ExactTarget_RetrieveSingleOptions {265 public $Parameters; // ExactTarget_Parameters266}267class ExactTarget_RetrieveOptions {268 public $BatchSize; // int269 public $IncludeObjects; // boolean270 public $OnlyIncludeBase; // boolean271}272class ExactTarget_QueryRequest {273 public $ClientIDs; // ExactTarget_ClientID274 public $Query; // ExactTarget_Query275 public $RespondTo; // ExactTarget_AsyncResponse276 public $PartnerProperties; // ExactTarget_APIProperty277 public $ContinueRequest; // string278 public $QueryAllAccounts; // boolean279 public $RetrieveAllSinceLastBatch; // boolean280}281class ExactTarget_QueryRequestMsg {282 public $QueryRequest; // ExactTarget_QueryRequest283}284class ExactTarget_QueryResponseMsg {285 public $OverallStatus; // string286 public $RequestID; // string287 public $Results; // ExactTarget_APIObject288}289class ExactTarget_QueryObject {290 public $ObjectType; // string291 public $Properties; // string292 public $Objects; // ExactTarget_QueryObject293}294class ExactTarget_Query {295 public $Object; // ExactTarget_QueryObject296 public $Filter; // ExactTarget_FilterPart297}298class ExactTarget_FilterPart {299}300class ExactTarget_SimpleFilterPart {301 public $Property; // string302 public $SimpleOperator; // ExactTarget_SimpleOperators303 public $Value; // string304 public $DateValue; // dateTime305}306class ExactTarget_TagFilterPart {307 public $Tags; // ExactTarget_Tags308}309class ExactTarget_Tags {310 public $Tag; // string311}312class ExactTarget_ComplexFilterPart {313 public $LeftOperand; // ExactTarget_FilterPart314 public $LogicalOperator; // ExactTarget_LogicalOperators315 public $RightOperand; // ExactTarget_FilterPart316 public $AdditionalOperands; // ExactTarget_AdditionalOperands317}318class ExactTarget_AdditionalOperands {319 public $Operand; // ExactTarget_FilterPart320}321class ExactTarget_SimpleOperators {322 const equals='equals';323 const notEquals='notEquals';324 const greaterThan='greaterThan';325 const lessThan='lessThan';326 const isNull='isNull';327 const isNotNull='isNotNull';328 const greaterThanOrEqual='greaterThanOrEqual';329 const lessThanOrEqual='lessThanOrEqual';330 const between='between';331 const IN='IN';332 const like='like';333 const existsInString='existsInString';334 const existsInStringAsAWord='existsInStringAsAWord';335 const notExistsInString='notExistsInString';336 const beginsWith='beginsWith';337 const endsWith='endsWith';338 const contains='contains';339 const notContains='notContains';340 const isAnniversary='isAnniversary';341 const isNotAnniversary='isNotAnniversary';342 const greaterThanAnniversary='greaterThanAnniversary';343 const lessThanAnniversary='lessThanAnniversary';344}345class ExactTarget_LogicalOperators {346 const _OR='OR';347 const _AND='AND';348}349class ExactTarget_DefinitionRequestMsg {350 public $DescribeRequests; // ExactTarget_ArrayOfObjectDefinitionRequest351}352class ExactTarget_ArrayOfObjectDefinitionRequest {353 public $ObjectDefinitionRequest; // ExactTarget_ObjectDefinitionRequest354}355class ExactTarget_ObjectDefinitionRequest {356 public $Client; // ExactTarget_ClientID357 public $ObjectType; // string358}359class ExactTarget_DefinitionResponseMsg {360 public $ObjectDefinition; // ExactTarget_ObjectDefinition361 public $RequestID; // string362}363class ExactTarget_PropertyDefinition {364 public $Name; // string365 public $DataType; // string366 public $ValueType; // ExactTarget_SoapType367 public $PropertyType; // ExactTarget_PropertyType368 public $IsCreatable; // boolean369 public $IsUpdatable; // boolean370 public $IsRetrievable; // boolean371 public $IsQueryable; // boolean372 public $IsFilterable; // boolean373 public $IsPartnerProperty; // boolean374 public $IsAccountProperty; // boolean375 public $PartnerMap; // string376 public $AttributeMaps; // ExactTarget_AttributeMap377 public $Markups; // ExactTarget_APIProperty378 public $Precision; // int379 public $Scale; // int380 public $Label; // string381 public $Description; // string382 public $DefaultValue; // string383 public $MinLength; // int384 public $MaxLength; // int385 public $MinValue; // string386 public $MaxValue; // string387 public $IsRequired; // boolean388 public $IsViewable; // boolean389 public $IsEditable; // boolean390 public $IsNillable; // boolean391 public $IsRestrictedPicklist; // boolean392 public $PicklistItems; // ExactTarget_PicklistItems393 public $IsSendTime; // boolean394 public $DisplayOrder; // int395 public $References; // ExactTarget_References396 public $RelationshipName; // string397 public $Status; // string398 public $IsContextSpecific; // boolean399}400class ExactTarget_PicklistItems {401 public $PicklistItem; // ExactTarget_PicklistItem402}403class ExactTarget_References {404 public $Reference; // ExactTarget_APIObject405}406class ExactTarget_ObjectDefinition {407 public $ObjectType; // string408 public $Name; // string409 public $IsCreatable; // boolean410 public $IsUpdatable; // boolean411 public $IsRetrievable; // boolean412 public $IsQueryable; // boolean413 public $IsReference; // boolean414 public $ReferencedType; // string415 public $IsPropertyCollection; // string416 public $IsObjectCollection; // boolean417 public $Properties; // ExactTarget_PropertyDefinition418 public $ExtendedProperties; // ExactTarget_ExtendedProperties419 public $ChildObjects; // ExactTarget_ObjectDefinition420}421class ExactTarget_ExtendedProperties {422 public $ExtendedProperty; // ExactTarget_PropertyDefinition423}424class ExactTarget_AttributeMap {425 public $EntityName; // string426 public $ColumnName; // string427 public $ColumnNameMappedTo; // string428 public $EntityNameMappedTo; // string429 public $AdditionalData; // ExactTarget_APIProperty430}431class ExactTarget_PicklistItem {432 public $IsDefaultValue; // boolean433 public $Label; // string434 public $Value; // string435}436class ExactTarget_SoapType {437 const string='string';438 const boolean='boolean';439 const double='double';440 const dateTime='dateTime';441}442class ExactTarget_PropertyType {443 const string='string';444 const boolean='boolean';445 const double='double';446 const datetime='datetime';447}448class ExactTarget_ExecuteRequest {449 public $Client; // ExactTarget_ClientID450 public $Name; // string451 public $Parameters; // ExactTarget_APIProperty452}453class ExactTarget_ExecuteResponse {454 public $StatusCode; // string455 public $StatusMessage; // string456 public $OrdinalID; // int457 public $Results; // ExactTarget_APIProperty458 public $ErrorCode; // int459}460class ExactTarget_ExecuteRequestMsg {461 public $Requests; // ExactTarget_ExecuteRequest462}463class ExactTarget_ExecuteResponseMsg {464 public $OverallStatus; // string465 public $RequestID; // string466 public $Results; // ExactTarget_ExecuteResponse467}468class ExactTarget_InteractionDefinition {469 public $InteractionObjectID; // string470}471class ExactTarget_InteractionBaseObject {472 public $Name; // string473 public $Description; // string474 public $Keyword; // string475}476class ExactTarget_PerformOptions {477 public $Explanation; // string478}479class ExactTarget_CampaignPerformOptions {480 public $OccurrenceIDs; // string481 public $OccurrenceIDsIndex; // int482}483class ExactTarget_PerformRequest {484 public $Client; // ExactTarget_ClientID485 public $Action; // string486 public $Definitions; // ExactTarget_Definitions487}488class ExactTarget_Definitions {489 public $Definition; // ExactTarget_InteractionBaseObject490}491class ExactTarget_PerformResponse {492 public $StatusCode; // string493 public $StatusMessage; // string494 public $OrdinalID; // int495 public $Results; // ExactTarget_Results496 public $ErrorCode; // int497}498class ExactTarget_Results {499 public $Result; // ExactTarget_APIProperty500}501class ExactTarget_PerformResult {502 public $Object; // ExactTarget_APIObject503 public $Task; // ExactTarget_TaskResult504}505class ExactTarget_PerformRequestMsg {506 public $Options; // ExactTarget_PerformOptions507 public $Action; // string508 public $Definitions; // ExactTarget_Definitions509}510class ExactTarget_PerformResponseMsg {511 public $Results; // ExactTarget_Results512 public $OverallStatus; // string513 public $OverallStatusMessage; // string514 public $RequestID; // string515}516class ExactTarget_ValidationAction {517 public $ValidationType; // string518 public $ValidationOptions; // ExactTarget_ValidationOptions519}520class ExactTarget_ValidationOptions {521 public $ValidationOption; // ExactTarget_APIProperty522}523class ExactTarget_SpamAssassinValidation {524}525class ExactTarget_ContentValidation {526 public $ValidationAction; // ExactTarget_ValidationAction527 public $Email; // ExactTarget_Email528 public $Subscribers; // ExactTarget_Subscribers529}530class ExactTarget_Subscribers {531 public $Subscriber; // ExactTarget_Subscriber532}533class ExactTarget_ContentValidationResult {534}535class ExactTarget_ValidationResult {536 public $Subscriber; // ExactTarget_Subscriber537 public $CheckTime; // dateTime538 public $CheckTimeUTC; // dateTime539 public $IsResultValid; // boolean540 public $IsSpam; // boolean541 public $Score; // double542 public $Threshold; // double543 public $Message; // string544}545class ExactTarget_ContentValidationTaskResult {546 public $ValidationResults; // ExactTarget_ValidationResults547}548class ExactTarget_ValidationResults {549 public $ValidationResult; // ExactTarget_ValidationResult550}551class ExactTarget_ConfigureOptions {552}553class ExactTarget_ConfigureResult {554 public $Object; // ExactTarget_APIObject555}556class ExactTarget_ConfigureRequestMsg {557 public $Options; // ExactTarget_ConfigureOptions558 public $Action; // string559 public $Configurations; // ExactTarget_Configurations560}561class ExactTarget_Configurations {562 public $Configuration; // ExactTarget_APIObject563}564class ExactTarget_ConfigureResponseMsg {565 public $Results; // ExactTarget_Results566 public $OverallStatus; // string567 public $OverallStatusMessage; // string568 public $RequestID; // string569}570class ExactTarget_ScheduleDefinition {571 public $Name; // string572 public $Description; // string573 public $Recurrence; // ExactTarget_Recurrence574 public $RecurrenceType; // ExactTarget_RecurrenceTypeEnum575 public $RecurrenceRangeType; // ExactTarget_RecurrenceRangeTypeEnum576 public $StartDateTime; // dateTime577 public $EndDateTime; // dateTime578 public $Occurrences; // int579 public $Keyword; // string580 public $TimeZone; // ExactTarget_TimeZone581}582class ExactTarget_ScheduleOptions {583}584class ExactTarget_ScheduleResponse {585 public $StatusCode; // string586 public $StatusMessage; // string587 public $OrdinalID; // int588 public $Results; // ExactTarget_Results589 public $ErrorCode; // int590}591class ExactTarget_ScheduleResult {592 public $Object; // ExactTarget_ScheduleDefinition593 public $Task; // ExactTarget_TaskResult594}595class ExactTarget_ScheduleRequestMsg {596 public $Options; // ExactTarget_ScheduleOptions597 public $Action; // string598 public $Schedule; // ExactTarget_ScheduleDefinition599 public $Interactions; // ExactTarget_Interactions600}601class ExactTarget_Interactions {602 public $Interaction; // ExactTarget_APIObject603}604class ExactTarget_ScheduleResponseMsg {605 public $Results; // ExactTarget_Results606 public $OverallStatus; // string607 public $OverallStatusMessage; // string608 public $RequestID; // string609}610class ExactTarget_RecurrenceTypeEnum {611 const Secondly='Secondly';612 const Minutely='Minutely';613 const Hourly='Hourly';614 const Daily='Daily';615 const Weekly='Weekly';616 const Monthly='Monthly';617 const Yearly='Yearly';618}619class ExactTarget_RecurrenceRangeTypeEnum {620 const EndAfter='EndAfter';621 const EndOn='EndOn';622}623class ExactTarget_Recurrence {624}625class ExactTarget_MinutelyRecurrencePatternTypeEnum {626 const Interval='Interval';627}628class ExactTarget_HourlyRecurrencePatternTypeEnum {629 const Interval='Interval';630}631class ExactTarget_DailyRecurrencePatternTypeEnum {632 const Interval='Interval';633 const EveryWeekDay='EveryWeekDay';634}635class ExactTarget_WeeklyRecurrencePatternTypeEnum {636 const ByDay='ByDay';637}638class ExactTarget_MonthlyRecurrencePatternTypeEnum {639 const ByDay='ByDay';640 const ByWeek='ByWeek';641}642class ExactTarget_WeekOfMonthEnum {643 const first='first';644 const second='second';645 const third='third';646 const fourth='fourth';647 const last='last';648}649class ExactTarget_DayOfWeekEnum {650 const Sunday='Sunday';651 const Monday='Monday';652 const Tuesday='Tuesday';653 const Wednesday='Wednesday';654 const Thursday='Thursday';655 const Friday='Friday';656 const Saturday='Saturday';657}658class ExactTarget_YearlyRecurrencePatternTypeEnum {659 const ByDay='ByDay';660 const ByWeek='ByWeek';661 const ByMonth='ByMonth';662}663class ExactTarget_MonthOfYearEnum {664 const January='January';665 const February='February';666 const March='March';667 const April='April';668 const May='May';669 const June='June';670 const July='July';671 const August='August';672 const September='September';673 const October='October';674 const November='November';675 const December='December';676}677class ExactTarget_MinutelyRecurrence {678 public $MinutelyRecurrencePatternType; // ExactTarget_MinutelyRecurrencePatternTypeEnum679 public $MinuteInterval; // int680}681class ExactTarget_HourlyRecurrence {682 public $HourlyRecurrencePatternType; // ExactTarget_HourlyRecurrencePatternTypeEnum683 public $HourInterval; // int684}685class ExactTarget_DailyRecurrence {686 public $DailyRecurrencePatternType; // ExactTarget_DailyRecurrencePatternTypeEnum687 public $DayInterval; // int688}689class ExactTarget_WeeklyRecurrence {690 public $WeeklyRecurrencePatternType; // ExactTarget_WeeklyRecurrencePatternTypeEnum691 public $WeekInterval; // int692 public $Sunday; // boolean693 public $Monday; // boolean694 public $Tuesday; // boolean695 public $Wednesday; // boolean696 public $Thursday; // boolean697 public $Friday; // boolean698 public $Saturday; // boolean699}700class ExactTarget_MonthlyRecurrence {701 public $MonthlyRecurrencePatternType; // ExactTarget_MonthlyRecurrencePatternTypeEnum702 public $MonthlyInterval; // int703 public $ScheduledDay; // int704 public $ScheduledWeek; // ExactTarget_WeekOfMonthEnum705 public $ScheduledDayOfWeek; // ExactTarget_DayOfWeekEnum706}707class ExactTarget_YearlyRecurrence {708 public $YearlyRecurrencePatternType; // ExactTarget_YearlyRecurrencePatternTypeEnum709 public $ScheduledDay; // int710 public $ScheduledWeek; // ExactTarget_WeekOfMonthEnum711 public $ScheduledMonth; // ExactTarget_MonthOfYearEnum712 public $ScheduledDayOfWeek; // ExactTarget_DayOfWeekEnum713}714class ExactTarget_ExtractRequest {715 public $Client; // ExactTarget_ClientID716 public $ID; // string717 public $Options; // ExactTarget_ExtractOptions718 public $Parameters; // ExactTarget_Parameters719 public $Description; // ExactTarget_ExtractDescription720 public $Definition; // ExactTarget_ExtractDefinition721}722class ExactTarget_ExtractResult {723 public $Request; // ExactTarget_ExtractRequest724}725class ExactTarget_ExtractRequestMsg {726 public $Requests; // ExactTarget_ExtractRequest727}728class ExactTarget_ExtractResponseMsg {729 public $OverallStatus; // string730 public $RequestID; // string731 public $Results; // ExactTarget_ExtractResult732}733class ExactTarget_ExtractOptions {734}735class ExactTarget_ExtractParameter {736}737class ExactTarget_ExtractTemplate {738 public $Name; // string739 public $ConfigurationPage; // string740 public $PackageKey; // string741}742class ExactTarget_ExtractDescription {743 public $Parameters; // ExactTarget_Parameters744}745class ExactTarget_ExtractDefinition {746 public $Parameters; // ExactTarget_Parameters747 public $Values; // ExactTarget_Values748}749class ExactTarget_Values {750 public $Value; // ExactTarget_APIProperty751}752class ExactTarget_ExtractParameterDataType {753 const datetime='datetime';754 const bool='bool';755 const string='string';756 const integer='integer';757 const dropdown='dropdown';758}759class ExactTarget_ParameterDescription {760}761class ExactTarget_ExtractParameterDescription {762 public $Name; // string763 public $DataType; // ExactTarget_ExtractParameterDataType764 public $DefaultValue; // string765 public $IsOptional; // boolean766 public $DropDownList; // string767}768class ExactTarget_VersionInfoResponse {769 public $Version; // string770 public $VersionDate; // dateTime771 public $Notes; // string772 public $VersionHistory; // ExactTarget_VersionInfoResponse773}774class ExactTarget_VersionInfoRequestMsg {775 public $IncludeVersionHistory; // boolean776}777class ExactTarget_VersionInfoResponseMsg {778 public $VersionInfo; // ExactTarget_VersionInfoResponse779 public $RequestID; // string780}781class ExactTarget_Locale {782 public $LocaleCode; // string783}784class ExactTarget_TimeZone {785 public $Name; // string786}787class ExactTarget_Account {788 public $AccountType; // ExactTarget_AccountTypeEnum789 public $ParentID; // int790 public $BrandID; // int791 public $PrivateLabelID; // int792 public $ReportingParentID; // int793 public $Name; // string794 public $Email; // string795 public $FromName; // string796 public $BusinessName; // string797 public $Phone; // string798 public $Address; // string799 public $Fax; // string800 public $City; // string801 public $State; // string802 public $Zip; // string803 public $Country; // string804 public $IsActive; // int805 public $IsTestAccount; // boolean806 public $OrgID; // int807 public $DBID; // int808 public $ParentName; // string809 public $CustomerID; // long810 public $DeletedDate; // dateTime811 public $EditionID; // int812 public $Children; // ExactTarget_AccountDataItem813 public $Subscription; // ExactTarget_Subscription814 public $PrivateLabels; // ExactTarget_PrivateLabel815 public $BusinessRules; // ExactTarget_BusinessRule816 public $AccountUsers; // ExactTarget_AccountUser817 public $InheritAddress; // boolean818 public $IsTrialAccount; // boolean819 public $Locale; // ExactTarget_Locale820 public $ParentAccount; // ExactTarget_Account821 public $TimeZone; // ExactTarget_TimeZone822 public $Roles; // ExactTarget_Roles823 public $LanguageLocale; // ExactTarget_Locale824}825class ExactTarget_Roles {826 public $Role; // ExactTarget_Role827}828class ExactTarget_BusinessUnit {829 public $Description; // string830 public $DefaultSendClassification; // ExactTarget_SendClassification831 public $DefaultHomePage; // ExactTarget_LandingPage832 public $SubscriberFilter; // ExactTarget_FilterPart833 public $MasterUnsubscribeBehavior; // ExactTarget_UnsubscribeBehaviorEnum834}835class ExactTarget_UnsubscribeBehaviorEnum {836 const ENTIRE_ENTERPRISE='ENTIRE_ENTERPRISE';837 const BUSINESS_UNIT_ONLY='BUSINESS_UNIT_ONLY';838}839class ExactTarget_LandingPage {840}841class ExactTarget_AccountTypeEnum {842 const None='None';843 const EXACTTARGET='EXACTTARGET';844 const PRO_CONNECT='PRO_CONNECT';845 const CHANNEL_CONNECT='CHANNEL_CONNECT';846 const CONNECT='CONNECT';847 const PRO_CONNECT_CLIENT='PRO_CONNECT_CLIENT';848 const LP_MEMBER='LP_MEMBER';849 const DOTO_MEMBER='DOTO_MEMBER';850 const ENTERPRISE_2='ENTERPRISE_2';851 const BUSINESS_UNIT='BUSINESS_UNIT';852}853class ExactTarget_AccountDataItem {854 public $ChildAccountID; // int855 public $BrandID; // int856 public $PrivateLabelID; // int857 public $AccountType; // int858}859class ExactTarget_Subscription {860 public $SubscriptionID; // int861 public $EmailsPurchased; // int862 public $AccountsPurchased; // int863 public $AdvAccountsPurchased; // int864 public $LPAccountsPurchased; // int865 public $DOTOAccountsPurchased; // int866 public $BUAccountsPurchased; // int867 public $BeginDate; // dateTime868 public $EndDate; // dateTime869 public $Notes; // string870 public $Period; // string871 public $NotificationTitle; // string872 public $NotificationMessage; // string873 public $NotificationFlag; // string874 public $NotificationExpDate; // dateTime875 public $ForAccounting; // string876 public $HasPurchasedEmails; // boolean877 public $ContractNumber; // string878 public $ContractModifier; // string879 public $IsRenewal; // boolean880 public $NumberofEmails; // long881}882class ExactTarget_PrivateLabel {883 public $ID; // int884 public $Name; // string885 public $ColorPaletteXML; // string886 public $LogoFile; // string887 public $Delete; // int888 public $SetActive; // boolean889}890class ExactTarget_AccountPrivateLabel {891 public $Name; // string892 public $OwnerMemberID; // int893 public $ColorPaletteXML; // string894}895class ExactTarget_BusinessRule {896 public $MemberBusinessRuleID; // int897 public $BusinessRuleID; // int898 public $Data; // int899 public $Quality; // string900 public $Name; // string901 public $Type; // string902 public $Description; // string903 public $IsViewable; // boolean904 public $IsInheritedFromParent; // boolean905 public $DisplayName; // string906 public $ProductCode; // string907}908class ExactTarget_AccountUser {909 public $AccountUserID; // int910 public $UserID; // string911 public $Password; // string912 public $Name; // string913 public $Email; // string914 public $MustChangePassword; // boolean915 public $ActiveFlag; // boolean916 public $ChallengePhrase; // string917 public $ChallengeAnswer; // string918 public $UserPermissions; // ExactTarget_UserAccess919 public $Delete; // int920 public $LastSuccessfulLogin; // dateTime921 public $IsAPIUser; // boolean922 public $NotificationEmailAddress; // string923 public $IsLocked; // boolean924 public $Unlock; // boolean925 public $BusinessUnit; // int926 public $DefaultBusinessUnit; // int927 public $Locale; // ExactTarget_Locale928 public $TimeZone; // ExactTarget_TimeZone929 public $DefaultBusinessUnitObject; // ExactTarget_BusinessUnit930 public $AssociatedBusinessUnits; // ExactTarget_AssociatedBusinessUnits931 public $Roles; // ExactTarget_Roles932 public $LanguageLocale; // ExactTarget_Locale933}934class ExactTarget_AssociatedBusinessUnits {935 public $BusinessUnit; // ExactTarget_BusinessUnit936}937class ExactTarget_UserAccess {938 public $Name; // string939 public $Value; // string940 public $Description; // string941 public $Delete; // int942}943class ExactTarget_Brand {944 public $BrandID; // int945 public $Label; // string946 public $Comment; // string947 public $BrandTags; // ExactTarget_BrandTag948}949class ExactTarget_BrandTag {950 public $BrandID; // int951 public $Label; // string952 public $Data; // string953}954class ExactTarget_Role {955 public $Name; // string956 public $Description; // string957 public $IsPrivate; // boolean958 public $IsSystemDefined; // boolean959 public $ForceInheritance; // boolean960 public $PermissionSets; // ExactTarget_PermissionSets961 public $Permissions; // ExactTarget_Permissions962}963class ExactTarget_PermissionSets {964 public $PermissionSet; // ExactTarget_PermissionSet965}966class ExactTarget_Permissions {967 public $Permission; // ExactTarget_Permission968}969class ExactTarget_PermissionSet {970 public $Name; // string971 public $Description; // string972 public $IsAllowed; // boolean973 public $IsDenied; // boolean974 public $PermissionSets; // ExactTarget_PermissionSets975 public $Permissions; // ExactTarget_Permissions976}977class ExactTarget_Permission {978 public $Name; // string979 public $Description; // string980 public $ObjectType; // string981 public $Operation; // string982 public $IsShareable; // boolean983 public $IsAllowed; // boolean984 public $IsDenied; // boolean985}986class ExactTarget_Email {987 public $Name; // string988 public $Folder; // string989 public $CategoryID; // int990 public $HTMLBody; // string991 public $TextBody; // string992 public $ContentAreas; // ExactTarget_ContentArea993 public $Subject; // string994 public $IsActive; // boolean995 public $IsHTMLPaste; // boolean996 public $ClonedFromID; // int997 public $Status; // string998 public $EmailType; // string999 public $CharacterSet; // string1000 public $HasDynamicSubjectLine; // boolean1001 public $ContentCheckStatus; // string1002}1003class ExactTarget_ContentArea {1004 public $Key; // string1005 public $Content; // string1006 public $IsBlank; // boolean1007 public $CategoryID; // int1008 public $Name; // string1009 public $Layout; // ExactTarget_LayoutType1010 public $IsDynamicContent; // boolean1011 public $IsSurvey; // boolean1012}1013class ExactTarget_LayoutType {1014 const HTMLWrapped='HTMLWrapped';1015 const RawText='RawText';1016 const SMS='SMS';1017}1018class ExactTarget_Message {1019 public $TextBody; // string1020}1021class ExactTarget_TrackingEvent {1022 public $SendID; // int1023 public $SubscriberKey; // string1024 public $EventDate; // dateTime1025 public $EventType; // ExactTarget_EventType1026 public $TriggeredSendDefinitionObjectID; // string1027 public $BatchID; // int1028}1029class ExactTarget_EventType {1030 const Open='Open';1031 const Click='Click';1032 const HardBounce='HardBounce';1033 const SoftBounce='SoftBounce';1034 const OtherBounce='OtherBounce';1035 const Unsubscribe='Unsubscribe';1036 const Sent='Sent';1037 const NotSent='NotSent';1038 const Survey='Survey';1039 const ForwardedEmail='ForwardedEmail';1040 const ForwardedEmailOptIn='ForwardedEmailOptIn';1041}1042class ExactTarget_OpenEvent {1043}1044class ExactTarget_BounceEvent {1045 public $SMTPCode; // string1046 public $BounceCategory; // string1047 public $SMTPReason; // string1048 public $BounceType; // string1049}1050class ExactTarget_UnsubEvent {1051}1052class ExactTarget_ClickEvent {1053 public $URLID; // int1054 public $URL; // string1055}1056class ExactTarget_SentEvent {1057}1058class ExactTarget_NotSentEvent {1059}1060class ExactTarget_SurveyEvent {1061 public $Question; // string1062 public $Answer; // string1063}1064class ExactTarget_ForwardedEmailEvent {1065}1066class ExactTarget_ForwardedEmailOptInEvent {1067 public $OptInSubscriberKey; // string1068}1069class ExactTarget_Subscriber {1070 public $EmailAddress; // string1071 public $Attributes; // ExactTarget_Attribute1072 public $SubscriberKey; // string1073 public $UnsubscribedDate; // dateTime1074 public $Status; // ExactTarget_SubscriberStatus1075 public $PartnerType; // string1076 public $EmailTypePreference; // ExactTarget_EmailType1077 public $Lists; // ExactTarget_SubscriberList1078 public $GlobalUnsubscribeCategory; // ExactTarget_GlobalUnsubscribeCategory1079 public $SubscriberTypeDefinition; // ExactTarget_SubscriberTypeDefinition1080 public $Addresses; // ExactTarget_Addresses1081 public $PrimarySMSAddress; // ExactTarget_SMSAddress1082 public $PrimarySMSPublicationStatus; // ExactTarget_SubscriberAddressStatus1083 public $PrimaryEmailAddress; // ExactTarget_EmailAddress1084 public $Locale; // ExactTarget_Locale1085}1086class ExactTarget_Addresses {1087 public $Address; // ExactTarget_SubscriberAddress1088}1089class ExactTarget_Attribute {1090 public $Name; // string1091 public $Value; // string1092 public $Compression; // ExactTarget_CompressionConfiguration1093}1094class ExactTarget_CompressionConfiguration {1095 public $Type; // ExactTarget_CompressionType1096 public $Encoding; // ExactTarget_CompressionEncoding1097}1098class ExactTarget_CompressionType {1099 const gzip='gzip';1100}1101class ExactTarget_CompressionEncoding {1102 const base64='base64';1103}1104class ExactTarget_SubscriberStatus {1105 const Active='Active';1106 const Bounced='Bounced';1107 const Held='Held';1108 const Unsubscribed='Unsubscribed';1109 const Deleted='Deleted';1110}1111class ExactTarget_SubscriberTypeDefinition {1112 public $SubscriberType; // string1113}1114class ExactTarget_EmailType {1115 const Text='Text';1116 const HTML='HTML';1117}1118class ExactTarget_ListSubscriber {1119 public $Status; // ExactTarget_SubscriberStatus1120 public $ListID; // int1121 public $SubscriberKey; // string1122}1123class ExactTarget_SubscriberList {1124 public $Status; // ExactTarget_SubscriberStatus1125 public $List; // ExactTarget_List1126 public $Action; // string1127 public $Subscriber; // ExactTarget_Subscriber1128}1129class ExactTarget_List {1130 public $ListName; // string1131 public $Category; // int1132 public $Type; // ExactTarget_ListTypeEnum1133 public $Description; // string1134 public $Subscribers; // ExactTarget_Subscriber1135 public $ListClassification; // ExactTarget_ListClassificationEnum1136 public $AutomatedEmail; // ExactTarget_Email1137 public $SendClassification; // ExactTarget_SendClassification1138}1139class ExactTarget_ListTypeEnum {1140 const _Public='Public';1141 const _Private='Private';1142 const SalesForce='SalesForce';1143 const GlobalUnsubscribe='GlobalUnsubscribe';1144 const Master='Master';1145}1146class ExactTarget_ListClassificationEnum {1147 const ExactTargetList='ExactTargetList';1148 const PublicationList='PublicationList';1149 const SuppressionList='SuppressionList';1150}1151class ExactTarget_Group {1152 public $Name; // string1153 public $Category; // int1154 public $Description; // string1155 public $Subscribers; // ExactTarget_Subscriber1156}1157class ExactTarget_OverrideType {1158 const DoNotOverride='DoNotOverride';1159 const Override='Override';1160 const OverrideExceptWhenNull='OverrideExceptWhenNull';1161}1162class ExactTarget_ListAttributeFieldType {1163 const Text='Text';1164 const Number='Number';1165 const Date='Date';1166 const Boolean='Boolean';1167 const Decimal='Decimal';1168}1169class ExactTarget_ListAttribute {1170 public $List; // ExactTarget_List1171 public $Name; // string1172 public $Description; // string1173 public $FieldType; // ExactTarget_ListAttributeFieldType1174 public $FieldLength; // int1175 public $Scale; // int1176 public $MinValue; // string1177 public $MaxValue; // string1178 public $DefaultValue; // string1179 public $IsNullable; // boolean1180 public $IsHidden; // boolean1181 public $IsReadOnly; // boolean1182 public $Inheritable; // boolean1183 public $Overridable; // boolean1184 public $MustOverride; // boolean1185 public $OverrideType; // ExactTarget_OverrideType1186 public $Ordinal; // int1187 public $RestrictedValues; // ExactTarget_ListAttributeRestrictedValue1188 public $BaseAttribute; // ExactTarget_ListAttribute1189}1190class ExactTarget_ListAttributeRestrictedValue {1191 public $ValueName; // string1192 public $IsDefault; // boolean1193 public $DisplayOrder; // int1194 public $Description; // string1195}1196class ExactTarget_GlobalUnsubscribeCategory {1197 public $Name; // string1198 public $IgnorableByPartners; // boolean1199 public $Ignore; // boolean1200}1201class ExactTarget_Campaign {1202}1203class ExactTarget_Send {1204 public $Email; // ExactTarget_Email1205 public $List; // ExactTarget_List1206 public $SendDate; // dateTime1207 public $FromAddress; // string1208 public $FromName; // string1209 public $Duplicates; // int1210 public $InvalidAddresses; // int1211 public $ExistingUndeliverables; // int1212 public $ExistingUnsubscribes; // int1213 public $HardBounces; // int1214 public $SoftBounces; // int1215 public $OtherBounces; // int1216 public $ForwardedEmails; // int1217 public $UniqueClicks; // int1218 public $UniqueOpens; // int1219 public $NumberSent; // int1220 public $NumberDelivered; // int1221 public $Unsubscribes; // int1222 public $MissingAddresses; // int1223 public $Subject; // string1224 public $PreviewURL; // string1225 public $Links; // ExactTarget_Link1226 public $Events; // ExactTarget_TrackingEvent1227 public $SentDate; // dateTime1228 public $EmailName; // string1229 public $Status; // string1230 public $IsMultipart; // boolean1231 public $SendLimit; // int1232 public $SendWindowOpen; // time1233 public $SendWindowClose; // time1234 public $IsAlwaysOn; // boolean1235 public $Sources; // ExactTarget_Sources1236 public $NumberTargeted; // int1237 public $NumberErrored; // int1238 public $NumberExcluded; // int1239 public $Additional; // string1240 public $BccEmail; // string1241 public $EmailSendDefinition; // ExactTarget_EmailSendDefinition1242 public $SuppressionLists; // ExactTarget_SuppressionLists1243}1244class ExactTarget_Sources {1245 public $Source; // ExactTarget_APIObject1246}1247class ExactTarget_SuppressionLists {1248 public $SuppressionList; // ExactTarget_AudienceItem1249}1250class ExactTarget_Link {1251 public $LastClicked; // dateTime1252 public $Alias; // string1253 public $TotalClicks; // int1254 public $UniqueClicks; // int1255 public $URL; // string1256 public $Subscribers; // ExactTarget_TrackingEvent1257}1258class ExactTarget_SendSummary {1259 public $AccountID; // int1260 public $AccountName; // string1261 public $AccountEmail; // string1262 public $IsTestAccount; // boolean1263 public $SendID; // int1264 public $DeliveredTime; // string1265 public $TotalSent; // int1266 public $Transactional; // int1267 public $NonTransactional; // int1268}1269class ExactTarget_TriggeredSendDefinition {1270 public $TriggeredSendType; // ExactTarget_TriggeredSendTypeEnum1271 public $TriggeredSendStatus; // ExactTarget_TriggeredSendStatusEnum1272 public $Email; // ExactTarget_Email1273 public $List; // ExactTarget_List1274 public $AutoAddSubscribers; // boolean1275 public $AutoUpdateSubscribers; // boolean1276 public $BatchInterval; // int1277 public $BccEmail; // string1278 public $EmailSubject; // string1279 public $DynamicEmailSubject; // string1280 public $IsMultipart; // boolean1281 public $IsWrapped; // boolean1282 public $AllowedSlots; // short1283 public $NewSlotTrigger; // int1284 public $SendLimit; // int1285 public $SendWindowOpen; // time1286 public $SendWindowClose; // time1287 public $SendWindowDelete; // boolean1288 public $RefreshContent; // boolean1289 public $ExclusionFilter; // string1290 public $Priority; // string1291 public $SendSourceCustomerKey; // string1292 public $ExclusionListCollection; // ExactTarget_TriggeredSendExclusionList1293 public $CCEmail; // string1294 public $SendSourceDataExtension; // ExactTarget_DataExtension1295 public $IsAlwaysOn; // boolean1296 public $DisableOnEmailBuildError; // boolean1297}1298class ExactTarget_TriggeredSendExclusionList {1299}1300class ExactTarget_TriggeredSendTypeEnum {1301 const Continuous='Continuous';1302 const Batched='Batched';1303 const Scheduled='Scheduled';1304}1305class ExactTarget_TriggeredSendStatusEnum {1306 const _New='New';1307 const Inactive='Inactive';1308 const Active='Active';1309 const Canceled='Canceled';1310 const Deleted='Deleted';1311 const Moved='Moved';1312}1313class ExactTarget_TriggeredSend {1314 public $TriggeredSendDefinition; // ExactTarget_TriggeredSendDefinition1315 public $Subscribers; // ExactTarget_Subscriber1316 public $Attributes; // ExactTarget_Attribute1317}1318class ExactTarget_TriggeredSendCreateResult {1319 public $SubscriberFailures; // ExactTarget_SubscriberResult1320}1321class ExactTarget_SubscriberResult {1322 public $Subscriber; // ExactTarget_Subscriber1323 public $ErrorCode; // string1324 public $ErrorDescription; // string1325 public $Ordinal; // int1326}1327class ExactTarget_SubscriberSendResult {1328 public $Send; // ExactTarget_Send1329 public $Email; // ExactTarget_Email1330 public $Subscriber; // ExactTarget_Subscriber1331 public $ClickDate; // dateTime1332 public $BounceDate; // dateTime1333 public $OpenDate; // dateTime1334 public $SentDate; // dateTime1335 public $LastAction; // string1336 public $UnsubscribeDate; // dateTime1337 public $FromAddress; // string1338 public $FromName; // string1339 public $TotalClicks; // int1340 public $UniqueClicks; // int1341 public $Subject; // string1342 public $ViewSentEmailURL; // string1343 public $HardBounces; // int1344 public $SoftBounces; // int1345 public $OtherBounces; // int1346}1347class ExactTarget_TriggeredSendSummary {1348 public $TriggeredSendDefinition; // ExactTarget_TriggeredSendDefinition1349 public $Sent; // long1350 public $NotSentDueToOptOut; // long1351 public $NotSentDueToUndeliverable; // long1352 public $Bounces; // long1353 public $Opens; // long1354 public $Clicks; // long1355 public $UniqueOpens; // long1356 public $UniqueClicks; // long1357 public $OptOuts; // long1358 public $SurveyResponses; // long1359 public $FTAFRequests; // long1360 public $FTAFEmailsSent; // long1361 public $FTAFOptIns; // long1362 public $Conversions; // long1363 public $UniqueConversions; // long1364 public $InProcess; // long1365 public $NotSentDueToError; // long1366}1367class ExactTarget_AsyncRequestResult {1368 public $Status; // string1369 public $CompleteDate; // dateTime1370 public $CallStatus; // string1371 public $CallMessage; // string1372}1373class ExactTarget_VoiceTriggeredSend {1374 public $VoiceTriggeredSendDefinition; // ExactTarget_VoiceTriggeredSendDefinition1375 public $Subscriber; // ExactTarget_Subscriber1376 public $Message; // string1377 public $Number; // string1378 public $TransferMessage; // string1379 public $TransferNumber; // string1380}1381class ExactTarget_VoiceTriggeredSendDefinition {1382}1383class ExactTarget_SMSTriggeredSend {1384 public $SMSTriggeredSendDefinition; // ExactTarget_SMSTriggeredSendDefinition1385 public $Subscriber; // ExactTarget_Subscriber1386 public $Message; // string1387 public $Number; // string1388 public $FromAddress; // string1389 public $SmsSendId; // string1390}1391class ExactTarget_SMSTriggeredSendDefinition {1392 public $Publication; // ExactTarget_List1393 public $DataExtension; // ExactTarget_DataExtension1394 public $Content; // ExactTarget_ContentArea1395 public $SendToList; // boolean1396}1397class ExactTarget_SendClassification {1398 public $SendClassificationType; // ExactTarget_SendClassificationTypeEnum1399 public $Name; // string1400 public $Description; // string1401 public $SenderProfile; // ExactTarget_SenderProfile1402 public $DeliveryProfile; // ExactTarget_DeliveryProfile1403 public $HonorPublicationListOptOutsForTransactionalSends; // boolean1404 public $SendPriority; // ExactTarget_SendPriorityEnum1405}1406class ExactTarget_SendClassificationTypeEnum {1407 const Operational='Operational';1408 const Marketing='Marketing';1409}1410class ExactTarget_SendPriorityEnum {1411 const Burst='Burst';1412 const Normal='Normal';1413 const Low='Low';1414}1415class ExactTarget_SenderProfile {1416 public $Name; // string1417 public $Description; // string1418 public $FromName; // string1419 public $FromAddress; // string1420 public $UseDefaultRMMRules; // boolean1421 public $AutoForwardToEmailAddress; // string1422 public $AutoForwardToName; // string1423 public $DirectForward; // boolean1424 public $AutoForwardTriggeredSend; // ExactTarget_TriggeredSendDefinition1425 public $AutoReply; // boolean1426 public $AutoReplyTriggeredSend; // ExactTarget_TriggeredSendDefinition1427 public $SenderHeaderEmailAddress; // string1428 public $SenderHeaderName; // string1429 public $DataRetentionPeriodLength; // short1430 public $DataRetentionPeriodUnitOfMeasure; // ExactTarget_RecurrenceTypeEnum1431 public $ReplyManagementRuleSet; // ExactTarget_APIObject1432}1433class ExactTarget_DeliveryProfile {1434 public $Name; // string1435 public $Description; // string1436 public $SourceAddressType; // ExactTarget_DeliveryProfileSourceAddressTypeEnum1437 public $PrivateIP; // ExactTarget_PrivateIP1438 public $DomainType; // ExactTarget_DeliveryProfileDomainTypeEnum1439 public $PrivateDomain; // ExactTarget_PrivateDomain1440 public $HeaderSalutationSource; // ExactTarget_SalutationSourceEnum1441 public $HeaderContentArea; // ExactTarget_ContentArea1442 public $FooterSalutationSource; // ExactTarget_SalutationSourceEnum1443 public $FooterContentArea; // ExactTarget_ContentArea1444 public $SubscriberLevelPrivateDomain; // boolean1445 public $SMIMESignatureCertificate; // ExactTarget_Certificate1446 public $PrivateDomainSet; // ExactTarget_PrivateDomainSet1447}1448class ExactTarget_DeliveryProfileSourceAddressTypeEnum {1449 const DefaultPrivateIPAddress='DefaultPrivateIPAddress';1450 const CustomPrivateIPAddress='CustomPrivateIPAddress';1451}1452class ExactTarget_DeliveryProfileDomainTypeEnum {1453 const DefaultDomain='DefaultDomain';1454 const CustomDomain='CustomDomain';1455}1456class ExactTarget_SalutationSourceEnum {1457 const _Default='Default';1458 const ContentLibrary='ContentLibrary';1459 const None='None';1460}1461class ExactTarget_PrivateDomain {1462}1463class ExactTarget_PrivateDomainSet {1464}1465class ExactTarget_PrivateIP {1466 public $Name; // string1467 public $Description; // string1468 public $IsActive; // boolean1469 public $OrdinalID; // short1470 public $IPAddress; // string1471}1472class ExactTarget_SendDefinition {1473 public $CategoryID; // int1474 public $SendClassification; // ExactTarget_SendClassification1475 public $SenderProfile; // ExactTarget_SenderProfile1476 public $FromName; // string1477 public $FromAddress; // string1478 public $DeliveryProfile; // ExactTarget_DeliveryProfile1479 public $SourceAddressType; // ExactTarget_DeliveryProfileSourceAddressTypeEnum1480 public $PrivateIP; // ExactTarget_PrivateIP1481 public $DomainType; // ExactTarget_DeliveryProfileDomainTypeEnum1482 public $PrivateDomain; // ExactTarget_PrivateDomain1483 public $HeaderSalutationSource; // ExactTarget_SalutationSourceEnum1484 public $HeaderContentArea; // ExactTarget_ContentArea1485 public $FooterSalutationSource; // ExactTarget_SalutationSourceEnum1486 public $FooterContentArea; // ExactTarget_ContentArea1487 public $SuppressTracking; // boolean1488 public $IsSendLogging; // boolean1489}1490class ExactTarget_AudienceItem {1491 public $List; // ExactTarget_List1492 public $SendDefinitionListType; // ExactTarget_SendDefinitionListTypeEnum1493 public $CustomObjectID; // string1494 public $DataSourceTypeID; // ExactTarget_DataSourceTypeEnum1495}1496class ExactTarget_EmailSendDefinition {1497 public $SendDefinitionList; // ExactTarget_SendDefinitionList1498 public $Email; // ExactTarget_Email1499 public $BccEmail; // string1500 public $AutoBccEmail; // string1501 public $TestEmailAddr; // string1502 public $EmailSubject; // string1503 public $DynamicEmailSubject; // string1504 public $IsMultipart; // boolean1505 public $IsWrapped; // boolean1506 public $SendLimit; // int1507 public $SendWindowOpen; // time1508 public $SendWindowClose; // time1509 public $SendWindowDelete; // boolean1510 public $DeduplicateByEmail; // boolean1511 public $ExclusionFilter; // string1512 public $TrackingUsers; // ExactTarget_TrackingUsers1513 public $Additional; // string1514 public $CCEmail; // string1515 public $DeliveryScheduledTime; // time1516 public $MessageDeliveryType; // ExactTarget_MessageDeliveryTypeEnum1517 public $IsSeedListSend; // boolean1518}1519class ExactTarget_TrackingUsers {1520 public $TrackingUser; // ExactTarget_TrackingUser1521}1522class ExactTarget_SendDefinitionList {1523 public $FilterDefinition; // ExactTarget_FilterDefinition1524 public $IsTestObject; // boolean1525 public $SalesForceObjectID; // string1526 public $Name; // string1527 public $Parameters; // ExactTarget_Parameters1528}1529class ExactTarget_Parameters {1530 public $Parameter; // ExactTarget_APIProperty1531}1532class ExactTarget_SendDefinitionStatusEnum {1533 const Active='Active';1534 const Archived='Archived';1535 const Deleted='Deleted';1536}1537class ExactTarget_SendDefinitionListTypeEnum {1538 const SourceList='SourceList';1539 const ExclusionList='ExclusionList';1540 const DomainExclusion='DomainExclusion';1541 const OptOutList='OptOutList';1542}1543class ExactTarget_DataSourceTypeEnum {1544 const _List='List';1545 const CustomObject='CustomObject';1546 const DomainExclusion='DomainExclusion';1547 const SalesForceReport='SalesForceReport';1548 const SalesForceCampaign='SalesForceCampaign';1549 const FilterDefinition='FilterDefinition';1550 const OptOutList='OptOutList';1551}1552class ExactTarget_MessageDeliveryTypeEnum {1553 const Standard='Standard';1554 const DelayedDeliveryByMTAQueue='DelayedDeliveryByMTAQueue';1555}1556class ExactTarget_TrackingUser {1557 public $IsActive; // boolean1558 public $EmployeeID; // int1559}1560class ExactTarget_MessagingVendorKind {1561 public $Vendor; // string1562 public $Kind; // string1563 public $IsUsernameRequired; // boolean1564 public $IsPasswordRequired; // boolean1565 public $IsProfileRequired; // boolean1566}1567class ExactTarget_MessagingConfiguration {1568 public $Code; // string1569 public $MessagingVendorKind; // ExactTarget_MessagingVendorKind1570 public $IsActive; // boolean1571 public $Url; // string1572 public $UserName; // string1573 public $Password; // string1574 public $ProfileID; // string1575 public $CallbackUrl; // string1576 public $MediaTypes; // string1577}1578class ExactTarget_SMSMTEvent {1579 public $SMSTriggeredSend; // ExactTarget_SMSTriggeredSend1580 public $Subscriber; // ExactTarget_Subscriber1581 public $MOCode; // string1582 public $EventDate; // dateTime1583 public $Carrier; // string1584}1585class ExactTarget_SMSMOEvent {1586 public $Keyword; // ExactTarget_BaseMOKeyword1587 public $MobileTelephoneNumber; // string1588 public $MOCode; // string1589 public $EventDate; // dateTime1590 public $MOMessage; // string1591 public $MTMessage; // string1592 public $Carrier; // string1593}1594class ExactTarget_BaseMOKeyword {1595 public $IsDefaultKeyword; // boolean1596}1597class ExactTarget_SendSMSMOKeyword {1598 public $NextMOKeyword; // ExactTarget_BaseMOKeyword1599 public $Message; // string1600 public $ScriptErrorMessage; // string1601}1602class ExactTarget_UnsubscribeFromSMSPublicationMOKeyword {1603 public $NextMOKeyword; // ExactTarget_BaseMOKeyword1604 public $AllUnsubSuccessMessage; // string1605 public $InvalidPublicationMessage; // string1606 public $SingleUnsubSuccessMessage; // string1607}1608class ExactTarget_DoubleOptInMOKeyword {1609 public $DefaultPublication; // ExactTarget_List1610 public $InvalidPublicationMessage; // string1611 public $InvalidResponseMessage; // string1612 public $MissingPublicationMessage; // string1613 public $NeedPublicationMessage; // string1614 public $PromptMessage; // string1615 public $SuccessMessage; // string1616 public $UnexpectedErrorMessage; // string1617 public $ValidPublications; // ExactTarget_ValidPublications1618 public $ValidResponses; // ExactTarget_ValidResponses1619}1620class ExactTarget_ValidPublications {1621 public $ValidPublication; // ExactTarget_List1622}1623class ExactTarget_ValidResponses {1624 public $ValidResponse; // string1625}1626class ExactTarget_HelpMOKeyword {1627 public $FriendlyName; // string1628 public $DefaultHelpMessage; // string1629 public $MenuText; // string1630 public $MoreChoicesPrompt; // string1631}1632class ExactTarget_SendEmailMOKeyword {1633 public $SuccessMessage; // string1634 public $MissingEmailMessage; // string1635 public $FailureMessage; // string1636 public $TriggeredSend; // ExactTarget_TriggeredSendDefinition1637 public $NextMOKeyword; // ExactTarget_BaseMOKeyword1638}1639class ExactTarget_SMSSharedKeyword {1640 public $ShortCode; // string1641 public $SharedKeyword; // string1642 public $RequestDate; // dateTime1643 public $EffectiveDate; // dateTime1644 public $ExpireDate; // dateTime1645 public $ReturnToPoolDate; // dateTime1646 public $CountryCode; // string1647}1648class ExactTarget_UserMap {1649 public $ETAccountUser; // ExactTarget_AccountUser1650 public $AdditionalData; // ExactTarget_APIProperty1651}1652class ExactTarget_Folder {1653 public $ID; // int1654 public $ParentID; // int1655}1656class ExactTarget_FileTransferLocation {1657}1658class ExactTarget_DataExtractActivity {1659}1660class ExactTarget_MessageSendActivity {1661}1662class ExactTarget_SmsSendActivity {1663}1664class ExactTarget_ReportActivity {1665}1666class ExactTarget_DataExtension {1667 public $Name; // string1668 public $Description; // string1669 public $IsSendable; // boolean1670 public $IsTestable; // boolean1671 public $SendableDataExtensionField; // ExactTarget_DataExtensionField1672 public $SendableSubscriberField; // ExactTarget_Attribute1673 public $Template; // ExactTarget_DataExtensionTemplate1674 public $DataRetentionPeriodLength; // int1675 public $DataRetentionPeriodUnitOfMeasure; // int1676 public $RowBasedRetention; // boolean1677 public $ResetRetentionPeriodOnImport; // boolean1678 public $DeleteAtEndOfRetentionPeriod; // boolean1679 public $RetainUntil; // string1680 public $Fields; // ExactTarget_Fields1681 public $DataRetentionPeriod; // ExactTarget_DateTimeUnitOfMeasure1682 public $CategoryID; // long1683 public $Status; // string1684}1685class ExactTarget_Fields {1686 public $Field; // ExactTarget_DataExtensionField1687}1688class ExactTarget_DataExtensionField {1689 public $Ordinal; // int1690 public $IsPrimaryKey; // boolean1691 public $FieldType; // ExactTarget_DataExtensionFieldType1692 public $DataExtension; // ExactTarget_DataExtension1693}1694class ExactTarget_DataExtensionFieldType {1695 const Text='Text';1696 const Number='Number';1697 const Date='Date';1698 const Boolean='Boolean';1699 const EmailAddress='EmailAddress';1700 const Phone='Phone';1701 const Decimal='Decimal';1702 const Locale='Locale';1703}1704class ExactTarget_DateTimeUnitOfMeasure {1705 const Days='Days';1706 const Weeks='Weeks';1707 const Months='Months';1708 const Years='Years';1709}1710class ExactTarget_DataExtensionTemplate {1711 public $Name; // string1712 public $Description; // string1713}1714class ExactTarget_DataExtensionObject {1715 public $Name; // string1716 public $Keys; // ExactTarget_Keys1717}1718class ExactTarget_Keys {1719 public $Key; // ExactTarget_APIProperty1720}1721class ExactTarget_DataExtensionError {1722 public $Name; // string1723 public $ErrorCode; // integer1724 public $ErrorMessage; // string1725}1726class ExactTarget_DataExtensionCreateResult {1727 public $ErrorMessage; // string1728 public $KeyErrors; // ExactTarget_KeyErrors1729 public $ValueErrors; // ExactTarget_ValueErrors1730}1731class ExactTarget_KeyErrors {1732 public $KeyError; // ExactTarget_DataExtensionError1733}1734class ExactTarget_ValueErrors {1735 public $ValueError; // ExactTarget_DataExtensionError1736}1737class ExactTarget_DataExtensionUpdateResult {1738 public $ErrorMessage; // string1739 public $KeyErrors; // ExactTarget_KeyErrors1740 public $ValueErrors; // ExactTarget_ValueErrors1741}1742class ExactTarget_DataExtensionDeleteResult {1743 public $ErrorMessage; // string1744 public $KeyErrors; // ExactTarget_KeyErrors1745}1746class ExactTarget_FileType {1747 const CSV='CSV';1748 const TAB='TAB';1749 const Other='Other';1750}1751class ExactTarget_ImportDefinitionSubscriberImportType {1752 const Email='Email';1753 const SMS='SMS';1754}1755class ExactTarget_ImportDefinitionUpdateType {1756 const AddAndUpdate='AddAndUpdate';1757 const AddAndDoNotUpdate='AddAndDoNotUpdate';1758 const UpdateButDoNotAdd='UpdateButDoNotAdd';1759 const Merge='Merge';1760 const Overwrite='Overwrite';1761 const ColumnBased='ColumnBased';1762}1763class ExactTarget_ImportDefinitionColumnBasedAction {1764 public $Value; // string1765 public $Action; // ExactTarget_ImportDefinitionColumnBasedActionType1766}1767class ExactTarget_ImportDefinitionColumnBasedActionType {1768 const AddAndUpdate='AddAndUpdate';1769 const AddButDoNotUpdate='AddButDoNotUpdate';1770 const Delete='Delete';1771 const Skip='Skip';1772 const UpdateButDoNotAdd='UpdateButDoNotAdd';1773}1774class ExactTarget_ImportDefinitionFieldMappingType {1775 const InferFromColumnHeadings='InferFromColumnHeadings';1776 const MapByOrdinal='MapByOrdinal';1777 const ManualMap='ManualMap';1778}1779class ExactTarget_FieldMap {1780 public $SourceName; // string1781 public $SourceOrdinal; // int1782 public $DestinationName; // string1783}1784class ExactTarget_ImportDefinitionAutoGenerateDestination {1785 public $DataExtensionTarget; // ExactTarget_DataExtension1786 public $ErrorIfExists; // boolean1787}1788class ExactTarget_ImportDefinition {1789 public $AllowErrors; // boolean1790 public $DestinationObject; // ExactTarget_APIObject1791 public $FieldMappingType; // ExactTarget_ImportDefinitionFieldMappingType1792 public $FieldMaps; // ExactTarget_FieldMaps1793 public $FileSpec; // string1794 public $FileType; // ExactTarget_FileType1795 public $Notification; // ExactTarget_AsyncResponse1796 public $RetrieveFileTransferLocation; // ExactTarget_FileTransferLocation1797 public $SubscriberImportType; // ExactTarget_ImportDefinitionSubscriberImportType1798 public $UpdateType; // ExactTarget_ImportDefinitionUpdateType1799 public $MaxFileAge; // int1800 public $MaxFileAgeScheduleOffset; // int1801 public $MaxImportFrequency; // int1802 public $Delimiter; // string1803 public $HeaderLines; // int1804 public $AutoGenerateDestination; // ExactTarget_ImportDefinitionAutoGenerateDestination1805 public $ControlColumn; // string1806 public $ControlColumnDefaultAction; // ExactTarget_ImportDefinitionColumnBasedActionType1807 public $ControlColumnActions; // ExactTarget_ControlColumnActions1808 public $EndOfLineRepresentation; // string1809 public $NullRepresentation; // string1810 public $StandardQuotedStrings; // boolean1811 public $Filter; // string1812 public $DateFormattingLocale; // ExactTarget_Locale1813}1814class ExactTarget_FieldMaps {1815 public $FieldMap; // ExactTarget_FieldMap1816}1817class ExactTarget_ControlColumnActions {1818 public $ControlColumnAction; // ExactTarget_ImportDefinitionColumnBasedAction1819}1820class ExactTarget_ImportDefinitionFieldMap {1821 public $SourceName; // string1822 public $SourceOrdinal; // int1823 public $DestinationName; // string1824}1825class ExactTarget_ImportResultsSummary {1826 public $ImportDefinitionCustomerKey; // string1827 public $StartDate; // string1828 public $EndDate; // string1829 public $DestinationID; // string1830 public $NumberSuccessful; // int1831 public $NumberDuplicated; // int1832 public $NumberErrors; // int1833 public $TotalRows; // int1834 public $ImportType; // string1835 public $ImportStatus; // string1836 public $TaskResultID; // int1837}1838class ExactTarget_FilterDefinition {1839 public $Name; // string1840 public $Description; // string1841 public $DataSource; // ExactTarget_APIObject1842 public $DataFilter; // ExactTarget_FilterPart1843}1844class ExactTarget_GroupDefinition {1845}1846class ExactTarget_FileTransferActivity {1847}1848class ExactTarget_ListSend {1849 public $SendID; // int1850 public $List; // ExactTarget_List1851 public $Duplicates; // int1852 public $InvalidAddresses; // int1853 public $ExistingUndeliverables; // int1854 public $ExistingUnsubscribes; // int1855 public $HardBounces; // int1856 public $SoftBounces; // int1857 public $OtherBounces; // int1858 public $ForwardedEmails; // int1859 public $UniqueClicks; // int1860 public $UniqueOpens; // int1861 public $NumberSent; // int1862 public $NumberDelivered; // int1863 public $Unsubscribes; // int1864 public $MissingAddresses; // int1865 public $PreviewURL; // string1866 public $Links; // ExactTarget_Link1867 public $Events; // ExactTarget_TrackingEvent1868}1869class ExactTarget_LinkSend {1870 public $SendID; // int1871 public $Link; // ExactTarget_Link1872}1873class ExactTarget_ObjectExtension {1874 public $Type; // string1875 public $Properties; // ExactTarget_Properties1876}1877class ExactTarget_Properties {1878 public $Property; // ExactTarget_APIProperty1879}1880class ExactTarget_PublicKeyManagement {1881 public $Name; // string1882 public $Key; // base64Binary1883}1884class ExactTarget_SecurityObject {1885}1886class ExactTarget_Certificate {1887}1888class ExactTarget_SystemStatusOptions {1889}1890class ExactTarget_SystemStatusRequestMsg {1891 public $Options; // ExactTarget_SystemStatusOptions1892}1893class ExactTarget_SystemStatusResult {1894 public $SystemStatus; // ExactTarget_SystemStatusType1895 public $Outages; // ExactTarget_Outages1896}1897class ExactTarget_Outages {1898 public $Outage; // ExactTarget_SystemOutage1899}1900class ExactTarget_SystemStatusResponseMsg {1901 public $Results; // ExactTarget_Results1902 public $OverallStatus; // string1903 public $OverallStatusMessage; // string1904 public $RequestID; // string1905}1906class ExactTarget_SystemStatusType {1907 const OK='OK';1908 const UnplannedOutage='UnplannedOutage';1909 const InMaintenance='InMaintenance';1910}1911class ExactTarget_SystemOutage {1912}1913class ExactTarget_Authentication {1914}1915class ExactTarget_UsernameAuthentication {1916 public $UserName; // string1917 public $PassWord; // string1918}1919class ExactTarget_ResourceSpecification {1920 public $URN; // string1921 public $Authentication; // ExactTarget_Authentication1922}1923class ExactTarget_Portfolio {1924 public $Source; // ExactTarget_ResourceSpecification1925 public $CategoryID; // int1926 public $FileName; // string1927 public $DisplayName; // string1928 public $Description; // string1929 public $TypeDescription; // string1930 public $IsUploaded; // boolean1931 public $IsActive; // boolean1932 public $FileSizeKB; // int1933 public $ThumbSizeKB; // int1934 public $FileWidthPX; // int1935 public $FileHeightPX; // int1936 public $FileURL; // string1937 public $ThumbURL; // string1938 public $CacheClearTime; // dateTime1939 public $CategoryType; // string1940}1941class ExactTarget_Layout {1942 public $LayoutName; // string1943}1944class ExactTarget_QueryDefinition {1945 public $QueryText; // string1946 public $TargetType; // string1947 public $DataExtensionTarget; // ExactTarget_InteractionBaseObject1948 public $TargetUpdateType; // string1949 public $FileSpec; // string1950 public $FileType; // string1951 public $Status; // string1952 public $CategoryID; // int1953}1954class ExactTarget_IntegrationProfile {1955 public $ProfileID; // string1956 public $SubscriberKey; // string1957 public $ExternalID; // string1958 public $ExternalType; // string1959}1960class ExactTarget_IntegrationProfileDefinition {1961 public $ProfileID; // string1962 public $Name; // string1963 public $Description; // string1964 public $ExternalSystemType; // int1965}1966class ExactTarget_ReplyMailManagementConfiguration {1967 public $EmailDisplayName; // string1968 public $ReplySubdomain; // string1969 public $EmailReplyAddress; // string1970 public $DNSRedirectComplete; // boolean1971 public $DeleteAutoReplies; // boolean1972 public $SupportUnsubscribes; // boolean1973 public $SupportUnsubKeyword; // boolean1974 public $SupportUnsubscribeKeyword; // boolean1975 public $SupportRemoveKeyword; // boolean1976 public $SupportOptOutKeyword; // boolean1977 public $SupportLeaveKeyword; // boolean1978 public $SupportMisspelledKeywords; // boolean1979 public $SendAutoReplies; // boolean1980 public $AutoReplySubject; // string1981 public $AutoReplyBody; // string1982 public $ForwardingAddress; // string1983}1984class ExactTarget_FileTrigger {1985 public $ExternalReference; // string1986 public $Type; // string1987 public $Status; // string1988 public $StatusMessage; // string1989 public $RequestParameterDetail; // string1990 public $ResponseControlManifest; // string1991 public $FileName; // string1992 public $Description; // string1993 public $Name; // string1994 public $LastPullDate; // dateTime1995 public $ScheduledDate; // dateTime1996 public $IsActive; // boolean1997 public $FileTriggerProgramID; // string1998}1999class ExactTarget_FileTriggerTypeLastPull {2000 public $ExternalReference; // string2001 public $Type; // string2002 public $LastPullDate; // dateTime2003}2004class ExactTarget_ProgramManifestTemplate {2005 public $Type; // string2006 public $OperationType; // string2007 public $Content; // string2008}2009class ExactTarget_SubscriberAddress {2010 public $AddressType; // string2011 public $Address; // string2012 public $Statuses; // ExactTarget_Statuses2013}2014class ExactTarget_Statuses {2015 public $Status; // ExactTarget_AddressStatus2016}2017class ExactTarget_SMSAddress {2018 public $Carrier; // string2019}2020class ExactTarget_EmailAddress {2021 public $Type; // ExactTarget_EmailType2022}2023class ExactTarget_AddressStatus {2024 public $Status; // ExactTarget_SubscriberAddressStatus2025}2026class ExactTarget_SubscriberAddressStatus {2027 const OptedIn='OptedIn';2028 const OptedOut='OptedOut';2029 const InActive='InActive';2030}2031class ExactTarget_Publication {2032 public $Name; // string2033 public $IsActive; // boolean2034 public $SendClassification; // ExactTarget_SendClassification2035 public $Subscribers; // ExactTarget_Subscribers2036 public $Category; // int2037}2038class ExactTarget_PublicationSubscriber {2039 public $Publication; // ExactTarget_Publication2040 public $Subscriber; // ExactTarget_Subscriber2041}2042class ExactTarget_PlatformApplication {2043 public $Package; // ExactTarget_PlatformApplicationPackage2044 public $Packages; // ExactTarget_PlatformApplicationPackage2045 public $ResourceSpecification; // ExactTarget_ResourceSpecification2046 public $DeveloperVersion; // string2047}2048class ExactTarget_PlatformApplicationPackage {2049 public $ResourceSpecification; // ExactTarget_ResourceSpecification2050 public $SigningKey; // ExactTarget_PublicKeyManagement2051 public $IsUpgrade; // boolean2052 public $DeveloperVersion; // string2053}2054class ExactTarget_SuppressionListDefinition {2055 public $Name; // string2056 public $Category; // long2057 public $Description; // string2058 public $Contexts; // ExactTarget_Contexts2059 public $Fields; // ExactTarget_Fields2060}2061class ExactTarget_Contexts {2062 public $Context; // ExactTarget_SuppressionListContext2063}2064class ExactTarget_SuppressionListContext {2065 public $Context; // ExactTarget_SuppressionListContextEnum2066 public $SendClassificationType; // ExactTarget_SendClassificationTypeEnum2067 public $SendClassification; // ExactTarget_SendClassification2068 public $Send; // ExactTarget_Send2069 public $Definition; // ExactTarget_SuppressionListDefinition2070}2071class ExactTarget_SuppressionListContextEnum {2072 const Enterprise='Enterprise';2073 const BusinessUnit='BusinessUnit';2074 const SendClassification='SendClassification';2075 const Send='Send';2076 const _Global='Global';2077}2078class ExactTarget_SuppressionListData {2079 public $Properties; // ExactTarget_Properties2080}2081?> ...
settings.php
Source:settings.php
1<?php2function event_espresso_exact_payment_settings() {3 global $espresso_premium, $active_gateways;4 if (!$espresso_premium)5 return;6 if (isset($_POST['update_exact'])) {7 $exact_settings['exact_login_id'] = $_POST['exact_login_id'];8 $exact_settings['exact_transaction_key'] = $_POST['exact_transaction_key'];9 $exact_settings['image_url'] = $_POST['image_url'];10 $exact_settings['use_sandbox'] = empty($_POST['use_sandbox']) ? false : true;11 $exact_settings['test_transactions'] = empty($_POST['test_transactions']) ? false : true;12 $exact_settings['bypass_payment_page'] = $_POST['bypass_payment_page'];13 $exact_settings['force_ssl_return'] = empty($_POST['force_ssl_return']) ? false : true;14 $exact_settings['button_url'] = $_POST['button_url'];15 update_option('event_espresso_exact_settings', $exact_settings);16 echo '<div id="message" class="updated fade"><p><strong>' . __('E-xact settings saved.', 'event_espresso') . '</strong></p></div>';17 }18 $exact_settings = get_option('event_espresso_exact_settings');19 if (empty($exact_settings)) {20 if (file_exists(EVENT_ESPRESSO_GATEWAY_DIR . "/exact/exact-logo.png")) {21 $exact_settings['button_url'] = EVENT_ESPRESSO_GATEWAY_URL . "/exact/exact-logo.png";22 } else {23 $exact_settings['button_url'] = EVENT_ESPRESSO_PLUGINFULLURL . "gateways/exact/exact-logo.png";24 }25 $exact_settings['exact_login_id'] = '';26 $exact_settings['exact_transaction_key'] = '';27 $exact_settings['image_url'] = '';28 $exact_settings['use_sandbox'] = false;29 $exact_settings['test_transactions'] = false;30 $exact_settings['bypass_payment_page'] = 'N';31 $exact_settings['force_ssl_return'] = false;32 if (add_option('event_espresso_exact_settings', $exact_settings, '', 'no') == false) {33 update_option('event_espresso_exact_settings', $exact_settings);34 }35 }36 if ( ! isset( $exact_settings['button_url'] ) || ! file_exists( $exact_settings['button_url'] )) {37 $exact_settings['button_url'] = EVENT_ESPRESSO_PLUGINFULLURL . "gateways/pay-by-credit-card.png";38 }39 //Open or close the postbox div40 if (empty($_REQUEST['deactivate_exact'])41 && (!empty($_REQUEST['activate_exact'])42 || array_key_exists('exact', $active_gateways))) {43 $postbox_style = '';44 } else {45 $postbox_style = 'closed';46 }47 ?>48 <div class="metabox-holder">49 <div class="postbox <?php echo $postbox_style; ?>">50 <div title="Click to toggle" class="handlediv"><br /></div>51 <h3 class="hndle">52 <?php _e('E-xact Settings', 'event_espresso'); ?>53 </h3>54 <div class="inside">55 <div class="padding">56 <?php57 if (!empty($_REQUEST['activate_exact'])) {58 $active_gateways['exact'] = dirname(__FILE__);59 update_option('event_espresso_active_gateways', $active_gateways);60 }61 if (!empty($_REQUEST['deactivate_exact'])) {62 unset($active_gateways['exact']);63 update_option('event_espresso_active_gateways', $active_gateways);64 }65 echo '<ul>';66 if (array_key_exists('exact', $active_gateways)) {67 echo '<li id="deactivate_exact" style="width:30%;" onclick="location.href=\'' . get_bloginfo('wpurl') . '/wp-admin/admin.php?page=payment_gateways&deactivate_exact=true\';" class="red_alert pointer"><strong>' . __('Deactivate E-xact Gateway?', 'event_espresso') . '</strong></li>';68 event_espresso_display_exact_settings();69 } else {70 echo '<li id="activate_exact" style="width:30%;" onclick="location.href=\'' . get_bloginfo('wpurl') . '/wp-admin/admin.php?page=payment_gateways&activate_exact=true\';" class="green_alert pointer"><strong>' . __('Activate E-xact Gateway?', 'event_espresso') . '</strong></li>';71 }72 echo '</ul>';73 ?>74 </div>75 </div>76 </div>77 </div>78 <?php79}80//E-xact Settings Form81function event_espresso_display_exact_settings() {82 $exact_settings = get_option('event_espresso_exact_settings');83 $org_options = get_option('events_organization_settings');84 ?>85 <form method="post" action="<?php echo $_SERVER['REQUEST_URI'] ?>">86 <table width="99%" border="0" cellspacing="5" cellpadding="5">87 <tr>88 <td valign="top"><ul>89 <li>90 <label for="exact_login_id">91 <?php _e('E-xact Login ID', 'event_espresso'); ?>92 </label>93 <input type="text" name="exact_login_id" size="35" value="<?php echo $exact_settings['exact_login_id']; ?>">94 </li>95 <li>96 <label for="exact_transaction_key">97 <?php _e('E-xact Transaction Key', 'event_espresso'); ?>98 </label>99 <input type="text" name="exact_transaction_key" size="35" value="<?php echo $exact_settings['exact_transaction_key']; ?>">100 </li>101 <li>102 <label for="button_url">103 <?php _e('Button Image URL', 'event_espresso'); ?> <a class="thickbox" href="#TB_inline?height=300&width=400&inlineId=button_image"><img src="<?php echo EVENT_ESPRESSO_PLUGINFULLURL ?>/images/question-frame.png" width="16" height="16" /></a>104 </label>105 <input class="upload_url_input" type="text" name="button_url" size="35" value="<?php echo (isset($exact_settings['button_url']) ? $exact_settings['button_url'] : '' ); ?>" />106 <a class="upload_image_button" title="Add an Image"><img src="images/media-button-image.gif" alt="Add an Image"></a>107 </li>108 <li>109 <label for="image_url">110 <?php _e('Image URL', 'event_espresso'); ?> <a class="thickbox" href="#TB_inline?height=300&width=400&inlineId=exact_image_url_info"><img src="<?php echo EVENT_ESPRESSO_PLUGINFULLURL ?>/images/question-frame.png" width="16" height="16" /></a>111 </label>112 <input class="upload_url_input" type="text" name="image_url" size="35" value="<?php echo $exact_settings['image_url']; ?>" />113 <a class="upload_image_button" title="Add an Image"><img src="images/media-button-image.gif" alt="Add an Image"></a>114 <br />115 <?php _e('(used for your business/personal logo on the E-xact payment page)', 'event_espresso'); ?>116 </li>117 </ul></td>118 <td valign="top"><ul>119 <li>120 <label><?php _e('Relay Response URL', 'event_espresso'); ?></label>121 <span class="display-path" style="background-color: rgb(255, 251, 204); border:#999 solid 1px; padding:2px;"><?php122 if($exact_settings['force_ssl_return']) {123 echo str_replace("http://", "https://", home_url() . '/?type=exact&page_id=' . $org_options['return_url']);124 } else {125 echo home_url() . '/?type=exact&page_id=' . $org_options['return_url'];126 }127?></span> <a class="thickbox" href="#TB_inline?height=300&width=400&inlineId=relay_response"><img src="<?php echo EVENT_ESPRESSO_PLUGINFULLURL ?>/images/question-frame.png" width="16" height="16" /></a> </li>128 <li>129 <label for="use_sandbox">130 <?php _e('Account Uses E-xact.com\'s Development Server', 'event_espresso'); ?> <a class="thickbox" href="#TB_inline?height=300&width=400&inlineId=exact_sandbox"><img src="<?php echo EVENT_ESPRESSO_PLUGINFULLURL ?>/images/question-frame.png" width="16" height="16" /></a>131 </label>132 <input name="use_sandbox" type="checkbox" value="1" <?php echo $exact_settings['use_sandbox'] ? 'checked="checked"' : '' ?> />133 </li>134 <li>135 <label for="test_transactions">136 <?php _e('Submit a Test Transaction', 'event_espresso'); ?>137 <a class="thickbox" href="#TB_inline?height=300&width=400&inlineId=exact_sandbox"><img src="<?php echo EVENT_ESPRESSO_PLUGINFULLURL ?>/images/question-frame.png" width="16" height="16" /></a>138 </label>139 <input name="test_transactions" type="checkbox" value="1" <?php echo $exact_settings['test_transactions'] ? 'checked="checked"' : '' ?> /></li>140 <li>141 <label for="bypass_payment_page">142 <?php _e('Bypass Payment Overview Page', 'event_espresso'); ?> <a class="thickbox" href="#TB_inline?height=300&width=400&inlineId=bypass_confirmation"><img src="<?php echo EVENT_ESPRESSO_PLUGINFULLURL ?>/images/question-frame.png" width="16" height="16" /></a>143 </label>144 <?php145 $values = array(146 array('id' => 'Y', 'text' => __('Yes', 'event_espresso')),147 array('id' => 'N', 'text' => __('No', 'event_espresso')));148 echo select_input('bypass_payment_page', $values, $exact_settings['bypass_payment_page']);149 ?>150 </li>151 <?php if (espresso_check_ssl() == TRUE || ( isset($exact_settings['force_ssl_return']) && $exact_settings['force_ssl_return'] == 1 )) {?>152 <li>153 <label for="force_ssl_return">154 <?php _e('Force HTTPS on Return URL', 'event_espresso'); ?>155 <a class="thickbox" href="#TB_inline?height=300&width=400&inlineId=force_ssl_return"><img src="<?php echo EVENT_ESPRESSO_PLUGINFULLURL ?>/images/question-frame.png" width="16" height="16" /></a>156 </label>157 <input name="force_ssl_return" type="checkbox" value="1" <?php echo $exact_settings['force_ssl_return'] ? 'checked="checked"' : '' ?> /></li>158 <?php }?>159 <li>160 <label><?php _e('Current Button Image', 'event_espresso'); ?></label>161 <?php echo '<img src="' . $exact_settings['button_url'] . '" />'; ?></li>162 </ul></td>163 </tr>164 </table>165 <p>166 <input type="hidden" name="update_exact" value="update_exact">167 <input class="button-primary" type="submit" name="Submit" value="<?php _e('Update E-xact Settings', 'event_espresso') ?>" id="save_exact_settings" />168 </p>169 </form>170 <div id="relay_response" style="display:none">171 <h2><?php _e('Relay Response', 'event_espresso'); ?></h2>172 <p><?php _e('This shows the specific the URL to which the gateway should return the relay response for a transaction. This the page should be set in your E-xact account. Login to E-xact, goto Account > Response/Receipt URLs > Add URL and enter the following URL.', 'event_espresso'); ?></p>173 <p><strong><?php _e('Relay Response URL:', 'event_espresso'); ?></strong> <?php echo home_url() . '/?page_id=' . $org_options['notify_url'] ?><br />174 <span style="color:red;"><?php _e('Note:', 'event_espresso'); ?></span> <?php _e('This URL can be changed in the "Organization Settings" page.', 'event_espresso'); ?></p>175 <p><?php _e('For complete information on configuring relay response, please refer to', 'event_espresso'); ?> <a href="https://account.authorize.net/help/Merchant_Interface_RoboHelp_Project.htm#Miscellaneous/Reference.htm%3E%3Epan=2"><?php _e('Reference & User Guides', 'event_espresso'); ?></a>.</p>176 </div>177 <div id="exact_image_url_info" style="display:none">178 <h2>179 <?php _e('E-xact Image URL (logo for payment page)', 'event_espresso'); ?>180 </h2>181 <p>182 <?php _e('The URL of the image displayed as your logo in the header of the Authorize.net checkout pages.', 'event_espresso'); ?>183 </p>184 </div>185 <div id="exact_sandbox" style="display:none">186 <h2><?php _e('E-xact Test Mode', 'event_espresso'); ?></h2>187 <p><?php _e('Test Mode allows you to submit test transactions to the payment gateway. Transactions that are submitted while Test Mode is ON are NOT actually processed. The result of a transaction depends on the card number submitted, and the invoice amount. If you want a transaction to be approved, use one of the following card numbers.', 'event_espresso'); ?></p><p>370000000000002 (<?php _e('American Express', 'event_espresso'); ?>)<br />6011000000000012 (<?php _e('Discover', 'event_espresso'); ?>)<br />5424000000000015 (<?php _e('Master Card', 'event_espresso'); ?>)<br />4007000000027 (<?php _e('Visa', 'event_espresso'); ?>)</p>188 </div>189 <?php190}191add_action('action_hook_espresso_display_gateway_settings','event_espresso_exact_payment_settings');...
exact_vars.php
Source:exact_vars.php
1<?php2function espresso_display_exact($payment_data) {3 extract($payment_data);4// Setup class5 include_once ('Exact.php');6 global $org_options;7 $myExact = new Espresso_Exact(); // initiate an instance of the class8 echo '<!--Event Espresso Exact.com Gateway Version ' . $myExact->gateway_version . '-->';9 $exact_settings = get_option('event_espresso_exact_settings');10 $exact_login_id = empty($exact_settings['exact_login_id']) ? '' : $exact_settings['exact_login_id'];11 $exact_transaction_key = empty($exact_settings['exact_transaction_key']) ? '' : $exact_settings['exact_transaction_key'];12 $button_type = empty($exact_settings['button_type']) ? '' : $exact_settings['button_type'];13//$button_url = $exact_settings['button_url'];14 $image_url = empty($exact_settings['image_url']) ? '' : $exact_settings['image_url'];15 $use_sandbox = $exact_settings['use_sandbox'];16 $use_testmode = $exact_settings['test_transactions'];17 if ($use_testmode == true) {18 // Enable test mode if needed19 $myExact->enableTestMode();20 }21 if ($use_sandbox) {22 // Enable test mode if needed23 $myExact->useTestServer();24 }25 $quantity = isset($quantity) && $quantity > 0 ? $quantity : espresso_count_attendees_for_registration($attendee_id);26 $myExact->setUserInfo($exact_login_id, $exact_transaction_key);27 $myExact->addField('x_amount', number_format($event_cost, 2));28 $myExact->addField('x_show_form', 'PAYMENT_FORM');29 $myExact->addField('registration_id', $registration_id );30 $myExact->addField('x_relay_response', 'TRUE');31 if ($exact_settings['force_ssl_return']) {32 $home = str_replace("http://", "https://", home_url());33 } else {34 $home = home_url();35 }36 $myExact->addField('x_relay_url', $home . '/?type=exact&page_id=' . $org_options['return_url']);37 $myExact->addField('x_description', stripslashes_deep($event_name) . ' | ' . __('Reg. ID:', 'event_espresso') . ' ' . $attendee_id . ' | ' . __('Name:', 'event_espresso') . ' ' . stripslashes_deep($fname . ' ' . $lname) . ' | ' . __('Total Registrants:', 'event_espresso') . ' ' . $quantity);38 $myExact->addField('x_logo_url', $image_url);39 $myExact->addField('x_invoice_num', event_espresso_session_id());40//Post variables41 $myExact->addField('x_cust_id', $attendee_id);42 $myExact->addField('x_first_name', $fname);43 $myExact->addField('x_last_name', $lname);44 $myExact->addField('x_email', $attendee_email);45 $myExact->addField('x_address', $address);46 $myExact->addField('x_city', $city);47 $myExact->addField('x_state', $state);48 $myExact->addField('x_zip', $zip);49 $myExact->addField('x_fp_sequence', $attendee_id);50//Enable this function if you want to send payment notification before the person has paid.51//This function is copied on the payment processing page52//event_espresso_send_payment_notification($attendee_id, $txn_id, $amount_pd);53//Decide if you want to auto redirect to your payment website or display a payment button.54 if (!empty($exact_settings['bypass_payment_page']) && $exact_settings['bypass_payment_page'] == 'Y') {55 $myExact->submitPayment(); //Enable auto redirect to payment site56 } else {57 $button_url = espresso_select_button_for_display($exact_settings['button_url'], "exact/exact-logo.png");58 $myExact->submitButton($button_url, 'exact'); //Display payment button59 }60 if ($use_sandbox) {61 echo '<p>Test credit card # 4007000000027</p>';62 echo '<h3 style="color:#ff0000;" title="Payments will not be processed">' . __('Debug Mode Is Turned On', 'event_espresso') . '</h3>';63 $myExact->dump_fields(); // for debugging, output a table of all the fields64 }65}66add_action('action_hook_espresso_display_offsite_payment_gateway', 'espresso_display_exact');
Exact
Using AI Code Generation
1$mock = Mockery::mock('Exact');2$mock = Mockery::mock('Exact');3$mock = Mockery::mock('Exact');4$mock = Mockery::mock('Exact');5$mock = Mockery::mock('Exact');6$mock = Mockery::mock('Exact');7$mock = Mockery::mock('Exact');8$mock = Mockery::mock('Exact');9$mock = Mockery::mock('Exact');10$mock = Mockery::mock('Exact');11$mock = Mockery::mock('Exact');12$mock = Mockery::mock('Exact');13$mock = Mockery::mock('Exact');14$mock = Mockery::mock('Exact');15$mock = Mockery::mock('Exact');16$mock = Mockery::mock('Exact');17$mock = Mockery::mock('Exact');18$mock = Mockery::mock('Exact');19$mock = Mockery::mock('Exact');
Exact
Using AI Code Generation
1use Mockery\Adapter\Phpunit\MockeryPHPUnitIntegration;2{3 use MockeryPHPUnitIntegration;4 public function testExact()5 {6 $mock = \Mockery::mock('overload:Exact');7 $mock->shouldReceive('callMe')->with(1, 2, 3)->once()->andReturn('First Call');8 $mock->shouldReceive('callMe')->with(4, 5, 6)->once()->andReturn('Second Call');9 $this->assertEquals('First Call', $mock->callMe(1, 2, 3));10 $this->assertEquals('Second Call', $mock->callMe(4, 5, 6));11 }12}13use Mockery\Adapter\Phpunit\MockeryPHPUnitIntegration;14{15 use MockeryPHPUnitIntegration;16 public function testExact()17 {18 $mock = \Mockery::mock('overload:Exact');19 $mock->shouldReceive('callMe')->with(1, 2, 3)->once()->andReturn('First Call');20 $mock->shouldReceive('callMe')->with(4, 5, 6)->once()->andReturn('Second Call');21 $this->assertEquals('First Call', $mock->callMe(1, 2, 3));22 $this->assertEquals('Second Call', $mock->callMe(4, 5, 6));23 }24}
Exact
Using AI Code Generation
1use Mockery\Adapter\Phpunit\MockeryTestCase;2use Mockery;3use Mockery\MockInterface;4use Mockery\Mock;5use Mockery\MockeryInterface;6use Mockery\Mockery;7use Mockery\MockInterface;8use Mockery\Mock;9use Mockery\MockInterface;10use Mockery\Mock;11use Mockery\MockInterface;12use Mockery\Mock;13use Mockery\MockInterface;14use Mockery\Mock;15use Mockery\MockInterface;16use Mockery\Mock;17use Mockery\MockInterface;18use Mockery\Mock;19use Mockery\MockInterface;20use Mockery\Mock;21use Mockery\MockInterface;22use Mockery\Mock;23use Mockery\MockInterface;24use Mockery\Mock;25use Mockery\MockInterface;26use Mockery\Mock;27use Mockery\MockInterface;28use Mockery\Mock;29use Mockery\MockInterface;30use Mockery\Mock;31use Mockery\MockInterface;32use Mockery\Mock;33use Mockery\MockInterface;34use Mockery\Mock;35use Mockery\MockInterface;36use Mockery\Mock;37use Mockery\MockInterface;
Exact
Using AI Code Generation
1use Mockery\Adapter\Phpunit\MockeryTestCase;2{3 public function testExact()4 {5 $mock = \Mockery::mock('alias:MyClass');6 $mock->shouldReceive('foo')->once()->with('bar');7 $mock->shouldReceive('foo')->once()->with('baz');8 $mock->shouldReceive('bar')->once()->with('bar');9 $mock->shouldReceive('bar')->once()->with('baz');10 $mock->foo('bar');11 $mock->foo('baz');12 $mock->bar('bar');13 $mock->bar('baz');14 }15}16use Mockery;17{18 public function testExact()19 {20 $mock = Mockery::mock('alias:MyClass');21 $mock->shouldReceive('foo')->once()->with('bar');22 $mock->shouldReceive('foo')->once()->with('baz');23 $mock->shouldReceive('bar')->once()->with('bar');24 $mock->shouldReceive('bar')->once()->with('baz');25 $mock->foo('bar');26 $mock->foo('baz');27 $mock->bar('bar');28 $mock->bar('baz');29 }30}31use Mockery;32{33 public function testExact()34 {35 $mock = \Mockery::mock('alias:MyClass');36 $mock->shouldReceive('foo')->once()->with('bar');37 $mock->shouldReceive('foo')->once()->with('baz');38 $mock->shouldReceive('bar')->once()->with('bar');39 $mock->shouldReceive('bar')->once()->with('baz');40 $mock->foo('bar');41 $mock->foo('baz');42 $mock->bar('bar');43 $mock->bar('baz');44 }45}46use Mockery;47{48 public function testExact()49 {50 $mock = \Mockery::mock('alias:MyClass');51 $mock->shouldReceive('foo')->once()->with('bar');52 $mock->shouldReceive('foo')->once()->with
Exact
Using AI Code Generation
1use Mockery\Adapter\Phpunit\MockeryPHPUnitIntegration;2{3 use MockeryPHPUnitIntegration;4 public function testMockery()5 {6 $mock = Mockery::mock();7 $mock->shouldReceive('foo')->once();8 $mock->foo();9 }10}11Mockery\Exception\InvalidCountException: Method foo() from Mockery_0 should be called12use Mockery\Adapter\Phpunit\MockeryPHPUnitIntegration;13{14 use MockeryPHPUnitIntegration;15 protected $mockeryVerify = false;16 public function testMockery()17 {18 $mock = Mockery::mock();19 $mock->shouldReceive('foo')->once();20 $mock->foo();21 }22}23for a single test, you can use the Mockery::close() method:24use Mockery\Adapter\Phpunit\MockeryPHPUnitIntegration;25{26 use MockeryPHPUnitIntegration;27 public function testMockery()28 {29 $mock = Mockery::mock();30 $mock->shouldReceive('foo')->once();31 $mock->foo();32 Mockery::close();33 }34}
Exact
Using AI Code Generation
1use Mockery\Adapter\Phpunit\MockeryTestCase;2use Mockery;3{4public function tearDown()5{6Mockery::close();7}8public function testMockery()9{10$mock = Mockery::mock('alias:Exact');11$mock->shouldReceive('foo')->once()->andReturn('bar');12$this->assertEquals('bar', $mock->foo());13}14}15use Mockery;16{17public function tearDown()18{19Mockery::close();20}21public function testMockery()22{23$mock = Mockery::mock('alias:Exact');24$mock->shouldReceive('foo')->once()->andReturn('bar');25$this->assertEquals('bar', $mock->foo());26}27}28use Mockery;29{30public function tearDown()31{32Mockery::close();33}34public function testMockery()35{36$mock = Mockery::mock('alias:Exact');37$mock->shouldReceive('foo')->once()->andReturn('bar');38$this->assertEquals('bar', $mock->foo());39}40}41use Mockery;42{43public function tearDown()44{45Mockery::close();46}47public function testMockery()48{49$mock = Mockery::mock('alias:Exact');50$mock->shouldReceive('foo')->once()->andReturn('bar');51$this->assertEquals('bar', $mock->foo());52}53}54use Mockery;
Exact
Using AI Code Generation
1use Mockery\Adapter\Phpunit\MockeryTestCase;2use Mockery\MockInterface;3use PHPUnit\Framework\TestCase;4{5 public function testShouldReturnExactValue()6 {7 $mock = \Mockery::mock('alias:MyClass');8 $mock->shouldReceive('foo')->with(1, 2, 3)->once()->andReturn(123);9 $this->assertEquals(123, $mock->foo(1, 2, 3));10 }11}12use Mockery\Adapter\Phpunit\MockeryTestCase;13use Mockery\MockInterface;14use PHPUnit\Framework\TestCase;15{16 public function testShouldReturnExactValue()17 {18 $mock = \Mockery::mock('alias:MyClass');19 $mock->shouldReceive('foo')->with(1, 2, 3)->once()->andReturn(123);20 $this->assertEquals(123, $mock->foo(1, 2, 3));21 }22}23use Mockery\Adapter\Phpunit\MockeryTestCase;24use Mockery\MockInterface;25use PHPUnit\Framework\TestCase;26{27 public function testShouldReturnExactValue()28 {29 $mock = \Mockery::mock('alias:MyClass');30 $mock->shouldReceive('foo')->with(1, 2, 3)->once()->andReturn(123);31 $this->assertEquals(123, $mock->foo(1, 2, 3));32 }33}34use Mockery\Adapter\Phpunit\MockeryTestCase;35use Mockery\MockInterface;36use PHPUnit\Framework\TestCase;37{38 public function testShouldReturnExactValue()39 {40 $mock = \Mockery::mock('alias:MyClass');41 $mock->shouldReceive('foo')->with(1, 2, 3)->once()->andReturn(123);42 $this->assertEquals(123, $mock->foo(1, 2, 3));43 }44}
Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.
You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.
Trigger Selenium automation tests on a cloud-based Grid of 3000+ real browsers and operating systems.
Test now for FreeGet 100 minutes of automation test minutes FREE!!