Skip to content
This repository was archived by the owner on Dec 16, 2021. It is now read-only.

trusty used to build and added link_uri in click activity response Development #163

Open
wants to merge 31 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
845ca81
Defaulting example to send welcome email
shannon7wallace Dec 9, 2015
c260d33
Update to Guzzle 6
Dec 28, 2015
bb1ff54
Code formatting (because I can)
Dec 29, 2015
10ca6dd
Minor bugfixes
Dec 29, 2015
f2707ca
Fix Travis.YML versioning
Dec 29, 2015
74f6b37
Readme fixes
Dec 29, 2015
e73034b
Merge pull request #119 from constantcontact/master
WoogieNoogie Dec 29, 2015
d2fdc4f
Merge pull request #118 from WoogieNoogie/development
shannon7wallace Dec 29, 2015
56980a8
Properly retrieve message body from Guzzle prior to calling json_deco…
chrisnetonline Jan 21, 2016
249c605
Merge pull request #121 from chrisnetonline/development
WoogieNoogie Jan 21, 2016
d002af0
Fixed the action_by parameter to use the correct syntax
Jan 22, 2016
5c36b83
Back end tracking
Feb 2, 2016
ffc3d18
Make GuzzleHttp\Client Injectable and Shared
huebs Feb 3, 2016
eb6d921
Improve ContactService Unit Tests Through Dependency Injection
huebs Feb 3, 2016
5fa31b5
Implement most of the EventSpot API
zackkatz Feb 9, 2016
81e9792
Set all variables for the EventSpot object
zackkatz Feb 11, 2016
61eb9ba
Create missing classes
zackkatz Feb 11, 2016
c251999
Add Promocode actions to EventSpotServices
zackkatz Feb 11, 2016
9749512
Tweak docBlocks
zackkatz Feb 11, 2016
db7c3de
Make sure variables are set before creating components
zackkatz Feb 12, 2016
ac2be01
Fix return type
zackkatz Feb 12, 2016
d70c412
Add a manual zip of the library and dependencies
Feb 17, 2016
09495c5
Merge remote-tracking branch 'constantcontact/development' into event…
zackkatz Mar 29, 2016
0e445d0
Fix reference
zackkatz Mar 29, 2016
f54ac3f
Update for new request structure
zackkatz Mar 29, 2016
687a61e
Merge pull request #125 from AdvisorPerspectives/use-di-for-guzzle
WoogieNoogie Mar 29, 2016
a774d35
Fix component types
zackkatz Mar 29, 2016
416da88
Fix remaining sendRequestWithBody() methods
zackkatz Mar 30, 2016
ea7e12e
Fix OAuth response being
zackkatz Apr 8, 2016
e7ef384
Merge pull request #131 from katzwebservices/eventspot
WoogieNoogie Jun 3, 2016
59c8ab6
use trusty for build and added link_uri in click response
May 3, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Make sure variables are set before creating components
  • Loading branch information
zackkatz committed Feb 12, 2016
commit db7c3deeac1184e17da4d1026dff99205e74d8c4
20 changes: 15 additions & 5 deletions src/Ctct/Components/EventSpot/EventSpot.php
Original file line number Diff line number Diff line change
Expand Up @@ -305,10 +305,14 @@ public static function create(array $props)
$event = new EventSpot();
$event->id = parent::getValue($props, "id");
$event->active_date = parent::getValue($props, "active_date");
$event->address = parent::getValue($props, "address");
if(!empty($props['address'])) {
$event->address = Address::create( parent::getValue( $props, "address" ) );
}
$event->are_registrants_public = parent::getValue($props, "are_registrants_public");
$event->cancelled_date = parent::getValue($props, "cancelled_date");
$event->contact = Contact::create( parent::getValue($props, "contact") );
if(!empty( $props['contact'])) {
$event->contact = Contact::create( parent::getValue( $props, "contact" ) );
}
$event->created_date = parent::getValue($props, "created_date");
$event->currency_type = parent::getValue($props, "currency_type");
$event->deleted_date = parent::getValue($props, "deleted_date");
Expand All @@ -326,11 +330,15 @@ public static function create(array $props)
$event->location = parent::getValue($props, "location");
$event->meta_data_tags = parent::getValue($props, "meta_data_tags");
$event->name = parent::getValue($props, "name");
$event->notification_options = NotificationOption::create(parent::getValue($props, "notification_options"));
if( parent::getValue( $props, "notification_options" ) ) {
$event->notification_options = NotificationOption::create( parent::getValue( $props, "notification_options" ) );
}
$event->online_meeting = parent::getValue($props, "online_meeting");
$event->payable_to = parent::getValue($props, "payable_to");
$event->payable_to = parent::getValue($props, "payable_to");
$event->payment_address = Address::create( parent::getValue($props, "payment_address") );
if( parent::getValue( $props, "payment_address" ) ) {
$event->payment_address = Address::create( parent::getValue( $props, "payment_address" ) );
}
$event->payment_options = parent::getValue($props, "payment_options");
$event->paypal_account_email = parent::getValue($props, "paypal_account_email");
$event->registration_url = parent::getValue($props, "registration_url");
Expand All @@ -341,7 +349,9 @@ public static function create(array $props)
$event->time_zone_id = parent::getValue($props, "time_zone_id");
$event->title = parent::getValue($props, "title");
$event->total_registered_count = parent::getValue($props, "total_registered_count");
$event->track_information = TrackInformation::create(parent::getValue($props, "track_information"));
if( parent::getValue( $props, "track_information" ) ) {
$event->track_information = TrackInformation::create( parent::getValue( $props, "track_information" ) );
}
$event->twitter_hash_tag = parent::getValue($props, "twitter_hash_tag");
$event->type = parent::getValue($props, "type");
$event->updated_date = parent::getValue($props, "updated_date");
Expand Down