From 1867e166c90eb8366707c48a6f8540c3f91a1957 Mon Sep 17 00:00:00 2001
From: Fibinger Ádám <adam.fibinger@wup.hu>
Date: Wed, 16 Oct 2019 20:15:49 +0200
Subject: [PATCH] További javítások

---
 EOG/Models/Stripe.php |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/EOG/Models/Stripe.php b/EOG/Models/Stripe.php
index 1531e3f..52bd5e9 100644
--- a/EOG/Models/Stripe.php
+++ b/EOG/Models/Stripe.php
@@ -173,4 +173,14 @@
 	{
 		return $this->state;
 	}
+
+	public function getType()
+	{
+		if (empty($this->state['stripe']['class']))
+		{
+			return null;
+		}
+
+		return $this->state['stripe']['class'];
+	}
 }
\ No newline at end of file

--
Gitblit v1.8.0