Skip to content

Commit

Permalink
Merge pull request #9 from ptuchik/patch-2
Browse files Browse the repository at this point in the history
Update SplitTenderPayment.php
  • Loading branch information
judgej committed Sep 9, 2018
2 parents 4c2a198 + 09f8391 commit d53a9d4
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions src/Response/Model/SplitTenderPayment.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,15 @@ public function jsonSerialize()
];

if ($this->hasRequestedAmount()) {
'requestedAmount' => $this->getRequestedAmount(),
$data['requestedAmount'] = $this->getRequestedAmount();
}

if ($this->hasApprovedAmount()) {
'approvedAmount' => $this->getApprovedAmount(),
$data['approvedAmount'] = $this->getApprovedAmount();
}

if ($this->hasBalanceOnCard()) {
'balanceOnCard' => $this->getBalanceOnCard(),
$data['balanceOnCard'] = $this->getBalanceOnCard();
}

return $data;
Expand All @@ -92,11 +92,6 @@ protected function setResponseCode($value)
$this->responseCode = $value;
}

protected function setResponseCode($value)
{
$this->responseCode = $value;
}

protected function setResponseToCustomer($value)
{
$this->responseToCustomer = $value;
Expand Down

0 comments on commit d53a9d4

Please sign in to comment.