Skip to content

Commit 61c3ab8

Browse files
feat: add dynamic properties to Bluem_Payment_Gateway class
This update introduces dynamic properties to the Bluem_Payment_Gateway class, enhancing its flexibility for future development.
1 parent d6113f1 commit 61c3ab8

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

gateways/Bluem_Payment_Gateway.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
use Bluem\BluemPHP\Bluem;
99

10+
#[AllowDynamicProperties]
1011
abstract class Bluem_Payment_Gateway extends WC_Payment_Gateway implements Bluem_Payment_Gateway_Interface
1112
{
1213
public const PAYMENT_STATUS_SUCCESS = "Success";
@@ -22,6 +23,14 @@ abstract class Bluem_Payment_Gateway extends WC_Payment_Gateway implements Bluem
2223
*/
2324
protected $bluem_config;
2425

26+
27+
protected string $id;
28+
protected string $title;
29+
protected string $icon;
30+
protected string $method_description;
31+
protected string $method_title;
32+
protected string $method_description_content;
33+
2534
/**
2635
* @var Bluem
2736
*/

0 commit comments

Comments
 (0)