diff --git a/src/interfaces/TransactionResponseInterface.php b/src/interfaces/TransactionResponseInterface.php index f1c26f6..e9e744c 100644 --- a/src/interfaces/TransactionResponseInterface.php +++ b/src/interfaces/TransactionResponseInterface.php @@ -58,4 +58,32 @@ public function getTransactionStatus(): string; * @return string */ public function getResponse(): string; -} \ No newline at end of file + + /** + * Returns the transaction amount + * + * @return float + */ + public function getAmount(): float; + + /** + * Returns the transaction timestamp + * + * @return string + */ + public function getTimestamp(): string; + + /** + * Returns the error code, if applicable + * + * @return string|null + */ + public function getErrorCode(): ?string; + + /** + * Returns the error message, if applicable + * + * @return string|null + */ + public function getErrorMessage(): ?string; +}