Skip to content

Commit

Permalink
Negative item amount (#15)
Browse files Browse the repository at this point in the history
* added: set $negativeAmountAllowed to true in PurchaseRequest

* removed .idea folder

* restore .gitignore file
  • Loading branch information
Sisow authored and barryvdh committed Nov 8, 2019
1 parent d84175f commit e8bac74
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Message/PurchaseRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ class PurchaseRequest extends AbstractRequest
{
protected $endpoint = 'https://www.sisow.nl/Sisow/iDeal/RestHandler.ashx/TransactionRequest';

/**
* Line negative amount needed for Afterpay/Billink/Klarna/Focum transactions (discounts etc.)
*
* @var bool
*/
protected $negativeAmountAllowed = true;

public function getDays()
{
return $this->getParameter('days');
Expand Down

0 comments on commit e8bac74

Please sign in to comment.