Skip to content

Commit

Permalink
Update Transaction.php
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinverschoor authored Jun 3, 2020
1 parent c158d69 commit a8ea7c3
Showing 1 changed file with 1 addition and 27 deletions.
28 changes: 1 addition & 27 deletions src/Transaction.php
Original file line number Diff line number Diff line change
Expand Up @@ -331,33 +331,7 @@ public static function details(
$result = $api->doRequest();

return new Result\Details($result);
}


/**
* Gets the services
*
* @param string|null $paymentMethodId
*
* @return Result\GetService
* @throws Error\Api
* @throws Error\Error
* @throws Error\Required\ApiToken
*/
public static function getService(
$paymentMethodId = null
)
{

$api = new Api\GetService();

if ($paymentMethodId !== null) {
$api->setPaymentMethodId($paymentMethodId);
}
$result = $api->doRequest();

return new Result\GetService($result);
}
}

/**
* Get the transaction in an exchange script.
Expand Down

0 comments on commit a8ea7c3

Please sign in to comment.