Skip to content

Commit

Permalink
Hacks after master update
Browse files Browse the repository at this point in the history
  • Loading branch information
kikmak42 committed Aug 29, 2018
1 parent 46b9c11 commit 2a9b611
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion lib/net/authorize/api/contract/v1/PaymentScheduleType.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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()
{
Expand All @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 2a9b611

Please sign in to comment.