Skip to content

Commit dbd8508

Browse files
SeoFoodbarryvdh
authored andcommitted
allow negative items for REST API (thephpleague#231)
1 parent b500e0b commit dbd8508

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Message/AbstractRestRequest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,11 @@ abstract class AbstractRestRequest extends \Omnipay\Common\Message\AbstractReque
6464

6565
protected $referrerCode;
6666

67+
/**
68+
* @var bool
69+
*/
70+
protected $negativeAmountAllowed = true;
71+
6772
/**
6873
* @return string
6974
*/

0 commit comments

Comments
 (0)