Skip to content

Commit

Permalink
Merge pull request #139 from paynl/feature/PLUG-502
Browse files Browse the repository at this point in the history
Updated versions
  • Loading branch information
woutse authored Jul 26, 2021
2 parents 4257e65 + 12ba780 commit 6e4da83
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Api/Transaction/AddRecurring.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
class AddRecurring extends Transaction
{
protected $apiTokenRequired = true;

protected $version = 12;
/**
* @var string
*/
Expand Down
1 change: 1 addition & 0 deletions src/Api/Transaction/Approve.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ class Approve extends Transaction
* @var string
*/
private $transactionId;
protected $version = 12;

/**
* Set the transactionId
Expand Down
1 change: 1 addition & 0 deletions src/Api/Transaction/Capture.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
*/
class Capture extends Transaction
{
protected $version = 12;
protected $apiTokenRequired = true;

/**
Expand Down
1 change: 1 addition & 0 deletions src/Api/Transaction/ConfirmExternalPayment.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
*/
class ConfirmExternalPayment extends Transaction
{
protected $version = 12;
protected $apiTokenRequired = true;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Api/Transaction/Decline.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
class Decline extends Transaction
{
protected $apiTokenRequired = true;

protected $version = 12;
/**
* @var string
*/
Expand Down
1 change: 1 addition & 0 deletions src/Api/Transaction/Info.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ class Info extends Transaction
{
protected $apiTokenRequired = true;

protected $version = 12;
/**
* @var string
*/
Expand Down
1 change: 1 addition & 0 deletions src/Api/Transaction/QRPayment.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
use Paynl\Error\Required;
class QRPayment extends Transaction
{
protected $version = 12;
protected $apiTokenRequired = true;
protected $serviceIdRequired = true;

Expand Down
1 change: 1 addition & 0 deletions src/Api/Transaction/Status.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

class Status extends Transaction
{
protected $version = 12;
protected $apiTokenRequired = true;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Api/Transaction/Transaction.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ class Transaction extends Api
/**
* @var int the version of the api
*/
protected $version = 12;
protected $version = 14;
}
2 changes: 1 addition & 1 deletion src/Api/Transaction/VoidTransaction.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
class VoidTransaction extends Transaction
{
protected $apiTokenRequired = true;

protected $version = 12;
/**
* @var string
*/
Expand Down

0 comments on commit 6e4da83

Please sign in to comment.