diff --git a/lib/net/authorize/api/contract/v1/PaymentScheduleType.php b/lib/net/authorize/api/contract/v1/PaymentScheduleType.php index d1ce0130..ceda4535 100644 --- a/lib/net/authorize/api/contract/v1/PaymentScheduleType.php +++ b/lib/net/authorize/api/contract/v1/PaymentScheduleType.php @@ -73,7 +73,8 @@ public function getStartDate() */ public function setStartDate(\DateTime $startDate) { - $this->startDate = $startDate; + $strDateOnly = $startDate->format('Y-m-d'); + $this->startDate = \DateTime::createFromFormat('!Y-m-d', $strDateOnly); return $this; } diff --git a/lib/net/authorize/api/contract/v1/UpdateCustomerProfileRequest.php b/lib/net/authorize/api/contract/v1/UpdateCustomerProfileRequest.php index 37d922b6..8d686a23 100644 --- a/lib/net/authorize/api/contract/v1/UpdateCustomerProfileRequest.php +++ b/lib/net/authorize/api/contract/v1/UpdateCustomerProfileRequest.php @@ -9,14 +9,14 @@ class UpdateCustomerProfileRequest extends ANetApiRequestType { /** - * @property \net\authorize\api\contract\v1\CustomerProfileInfoExType $profile + * @property \net\authorize\api\contract\v1\CustomerProfileExType $profile */ private $profile = null; /** * Gets as profile * - * @return \net\authorize\api\contract\v1\CustomerProfileInfoExType + * @return \net\authorize\api\contract\v1\CustomerProfileExType */ public function getProfile() { @@ -26,10 +26,10 @@ public function getProfile() /** * Sets a new profile * - * @param \net\authorize\api\contract\v1\CustomerProfileInfoExType $profile + * @param \net\authorize\api\contract\v1\CustomerProfileExType $profile * @return self */ - public function setProfile(\net\authorize\api\contract\v1\CustomerProfileInfoExType $profile) + public function setProfile(\net\authorize\api\contract\v1\CustomerProfileExType $profile) { $this->profile = $profile; return $this; diff --git a/lib/net/authorize/api/yml/v1/UpdateCustomerProfileRequest.yml b/lib/net/authorize/api/yml/v1/UpdateCustomerProfileRequest.yml index 90f9915a..2434ecfc 100644 --- a/lib/net/authorize/api/yml/v1/UpdateCustomerProfileRequest.yml +++ b/lib/net/authorize/api/yml/v1/UpdateCustomerProfileRequest.yml @@ -11,4 +11,4 @@ net\authorize\api\contract\v1\UpdateCustomerProfileRequest: accessor: getter: getProfile setter: setProfile - type: net\authorize\api\contract\v1\CustomerProfileInfoExType + type: net\authorize\api\contract\v1\CustomerProfileExType