Skip to content

Commit e8bac74

Browse files
Sisowbarryvdh
Sisow
authored andcommitted
Negative item amount (#15)
* added: set $negativeAmountAllowed to true in PurchaseRequest * removed .idea folder * restore .gitignore file
1 parent d84175f commit e8bac74

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/Message/PurchaseRequest.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@ class PurchaseRequest extends AbstractRequest
1212
{
1313
protected $endpoint = 'https://www.sisow.nl/Sisow/iDeal/RestHandler.ashx/TransactionRequest';
1414

15+
/**
16+
* Line negative amount needed for Afterpay/Billink/Klarna/Focum transactions (discounts etc.)
17+
*
18+
* @var bool
19+
*/
20+
protected $negativeAmountAllowed = true;
21+
1522
public function getDays()
1623
{
1724
return $this->getParameter('days');

0 commit comments

Comments
 (0)