From a8ea7c3d44b220f2b02ce1edeb8cd3ac8ef8f528 Mon Sep 17 00:00:00 2001 From: kevinverschoor <61683999+kevinverschoor@users.noreply.github.com> Date: Wed, 3 Jun 2020 10:00:16 +0200 Subject: [PATCH] Update Transaction.php --- src/Transaction.php | 28 +--------------------------- 1 file changed, 1 insertion(+), 27 deletions(-) diff --git a/src/Transaction.php b/src/Transaction.php index 5e01f5ba..1740f2ab 100644 --- a/src/Transaction.php +++ b/src/Transaction.php @@ -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.