Skip to content

Commit

Permalink
Merge pull request #9 from martijngastkemper/transaction-status
Browse files Browse the repository at this point in the history
Transaction status
  • Loading branch information
Jing committed Feb 27, 2015
2 parents e7ad5e3 + a1bc5f9 commit 6905c66
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 2 deletions.
3 changes: 3 additions & 0 deletions src/LinkORB/Buckaroo/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ public function sendRequest($TransactionRequest, $type)
case 'transaction':
$this->soapClient->TransactionRequest($TransactionRequest);
break;
case 'transactionstatus':
$this->soapClient->TransactionStatus($TransactionRequest);
break;
case 'refundinfo':
$this->soapClient->RefundInfo($TransactionRequest);
break;
Expand Down
5 changes: 3 additions & 2 deletions src/LinkORB/Buckaroo/SOAP/Body.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ class Body
public $StartRecurrent;
public $Services;
public $CustomParameters;
public $AdditionalParameters;
public $RefundInfo;
public $AdditionalParameters;
public $RefundInfo;
public $Transaction;
}
18 changes: 18 additions & 0 deletions src/LinkORB/Buckaroo/SOAP/Transaction.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?php

namespace LinkORB\Buckaroo\SOAP;

class Transaction
{
public $CustomParameter;
public $AdditionalParameter;

public $Key;
public $Invoice;

public function __construct( $Key = null, $Invoice = null )
{
$this->Key = $Key;
$this->Invoice = $Invoice;
}
}

0 comments on commit 6905c66

Please sign in to comment.