From 56196e5d865bf849d6124ace248a67a13755aebd Mon Sep 17 00:00:00 2001 From: Astrid Blanco Date: Wed, 3 May 2017 15:40:38 +1000 Subject: [PATCH 1/2] Added API classes to support docusign-php-client v3 --- src/Api/Billing.php | 8 ++++++++ src/Api/BulkEnvelopes.php | 8 ++++++++ src/Api/CloudStorage.php | 8 ++++++++ src/Api/Connect.php | 8 ++++++++ src/Api/Groups.php | 8 ++++++++ src/Api/PowerForms.php | 8 ++++++++ src/Api/SigningGroups.php | 8 ++++++++ src/Api/Workspaces.php | 8 ++++++++ src/Client.php | 3 ++- 9 files changed, 66 insertions(+), 1 deletion(-) create mode 100644 src/Api/Billing.php create mode 100644 src/Api/BulkEnvelopes.php create mode 100644 src/Api/CloudStorage.php create mode 100644 src/Api/Connect.php create mode 100644 src/Api/Groups.php create mode 100644 src/Api/PowerForms.php create mode 100644 src/Api/SigningGroups.php create mode 100644 src/Api/Workspaces.php diff --git a/src/Api/Billing.php b/src/Api/Billing.php new file mode 100644 index 0000000..3f8182f --- /dev/null +++ b/src/Api/Billing.php @@ -0,0 +1,8 @@ +setters(); // We have to set it this way because if we dont the indexes of docusign's construct // Are all undefined. So this way we can set what we want foreach ($args[0] as $field => $val) { - $docusignModel->{$docusignModel::$setters[$field]}($val); + $docusignModel->{$setters[$field]}($val); } } From 0c0fcb8f781838cef47219afa0c02fbb21d643d9 Mon Sep 17 00:00:00 2001 From: Astrid Blanco Date: Wed, 3 May 2017 15:51:38 +1000 Subject: [PATCH 2/2] Update constraint to V3 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 5be5283..6efbf21 100644 --- a/composer.json +++ b/composer.json @@ -14,7 +14,7 @@ ], "require": { "php": ">=5.5.9", - "docusign/esign-client": "^2.0" + "docusign/esign-client": "^3.0" }, "require-dev": { "phpunit/phpunit": "5.3.*"