Skip to content

Commit 2a9b611

Browse files
committed
Hacks after master update
1 parent 46b9c11 commit 2a9b611

3 files changed

Lines changed: 7 additions & 6 deletions

File tree

lib/net/authorize/api/contract/v1/PaymentScheduleType.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ public function getStartDate()
7373
*/
7474
public function setStartDate(\DateTime $startDate)
7575
{
76-
$this->startDate = $startDate;
76+
$strDateOnly = $startDate->format('Y-m-d');
77+
$this->startDate = \DateTime::createFromFormat('!Y-m-d', $strDateOnly);
7778
return $this;
7879
}
7980

lib/net/authorize/api/contract/v1/UpdateCustomerProfileRequest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ class UpdateCustomerProfileRequest extends ANetApiRequestType
99
{
1010

1111
/**
12-
* @property \net\authorize\api\contract\v1\CustomerProfileInfoExType $profile
12+
* @property \net\authorize\api\contract\v1\CustomerProfileExType $profile
1313
*/
1414
private $profile = null;
1515

1616
/**
1717
* Gets as profile
1818
*
19-
* @return \net\authorize\api\contract\v1\CustomerProfileInfoExType
19+
* @return \net\authorize\api\contract\v1\CustomerProfileExType
2020
*/
2121
public function getProfile()
2222
{
@@ -26,10 +26,10 @@ public function getProfile()
2626
/**
2727
* Sets a new profile
2828
*
29-
* @param \net\authorize\api\contract\v1\CustomerProfileInfoExType $profile
29+
* @param \net\authorize\api\contract\v1\CustomerProfileExType $profile
3030
* @return self
3131
*/
32-
public function setProfile(\net\authorize\api\contract\v1\CustomerProfileInfoExType $profile)
32+
public function setProfile(\net\authorize\api\contract\v1\CustomerProfileExType $profile)
3333
{
3434
$this->profile = $profile;
3535
return $this;

lib/net/authorize/api/yml/v1/UpdateCustomerProfileRequest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ net\authorize\api\contract\v1\UpdateCustomerProfileRequest:
1111
accessor:
1212
getter: getProfile
1313
setter: setProfile
14-
type: net\authorize\api\contract\v1\CustomerProfileInfoExType
14+
type: net\authorize\api\contract\v1\CustomerProfileExType

0 commit comments

Comments
 (0)