Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update TransactionGateway.php #326

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 16 additions & 4 deletions lib/Braintree/TransactionGateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,9 @@ public function creditNoValidate($attribs)
*
* @param string $id unique identifier of the transaction
*
* @return Transaction|Exception\NotFound
* @return Transaction
*
* @throws Exception\NotFound
*/
public function find($id)
{
Expand Down Expand Up @@ -453,6 +455,8 @@ public function saleNoValidate($attribs)
* @param mixed $query search query
*
* @return ResourceCollection
*
* @throws Exception\RequestTimeout
*/
public function search($query)
{
Expand Down Expand Up @@ -483,6 +487,8 @@ public function search($query)
* @param array $ids to use in searching
*
* @return array
*
* @throws Exception\RequestTimeout
*/
public function fetch($query, $ids)
{
Expand Down Expand Up @@ -542,7 +548,9 @@ public function void($transactionId)
*
* @param string $transactionId unique identifier
*
* @return Transaction|Result\Error
* @return Transaction
*
* @throws Exception
*/
public function voidNoValidate($transactionId)
{
Expand Down Expand Up @@ -577,7 +585,9 @@ public function submitForSettlement($transactionId, $amount = null, $attribs = [
* @param string|null $amount to be submitted for settlement
* @param array $attribs containing any additional request parameters
*
* @return Transaction|Exception
* @return Transaction
*
* @throws Exception
*/
public function submitForSettlementNoValidate($transactionId, $amount = null, $attribs = [])
{
Expand Down Expand Up @@ -610,7 +620,9 @@ public function updateDetails($transactionId, $attribs = [])
* @param string $amount optional
* @param mixed $attribs any additional request parameters
*
* @return Result\Successful|Exception\NotFound
* @return Result\Successful|Result\Error
*
* @throws Exception
*/
public function submitForPartialSettlement($transactionId, $amount, $attribs = [])
{
Expand Down