From e4531cc3c18ac49fe78bff49d0cbd7c9a21f8a91 Mon Sep 17 00:00:00 2001 From: Andy Summers <andrew.summers@wisc.edu> Date: Wed, 24 May 2017 14:18:09 -0500 Subject: [PATCH] Add missing call to set email during ExternalCustomer creation --- composer.json | 2 +- .../external_customer/ExternalCustomerInputParametersMapper.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 550ff98..e8d6b91 100755 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "adi-ia/cbs-techstore-client-php", "description": "A PHP client used to connect with the CBS API and perform requests", - "version": "6.2.0", + "version": "6.2.1", "license": "Apache-2.0", "homepage": "https://wiki.doit.wisc.edu/confluence/display/ADIIA/CBS", "authors": [ diff --git a/src/main/edu/wisc/services/cbs/external_customer/ExternalCustomerInputParametersMapper.php b/src/main/edu/wisc/services/cbs/external_customer/ExternalCustomerInputParametersMapper.php index 0ae98e6..9177634 100644 --- a/src/main/edu/wisc/services/cbs/external_customer/ExternalCustomerInputParametersMapper.php +++ b/src/main/edu/wisc/services/cbs/external_customer/ExternalCustomerInputParametersMapper.php @@ -31,6 +31,7 @@ class ExternalCustomerInputParametersMapper ->setP_CUSTOMER_IDENTIFIER($customer->getCustomerIdentifier()) ->setP_FIRST_NAME($customer->getFirstName()) ->setP_LAST_NAME($customer->getLastName()) + ->setP_EMAIL($customer->getEmail()) ->setP_PHONE($customer->getPhone()) ->setP_REFERENCE($customer->getReference()) ->setP_TEST_MODE($customer->getTestMode()); -- GitLab