| 1 | <?php |
||
| 11 | class PaymentMethod extends BasePaymentMethod implements PaymentMethodInterface |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var GatewayConfigInterface |
||
| 15 | */ |
||
| 16 | protected $gatewayConfig; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var bool |
||
| 20 | */ |
||
| 21 | protected $supportsRecurring = false; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * PaymentMethod constructor. |
||
| 25 | */ |
||
| 26 | public function __construct() |
||
| 30 | |||
| 31 | /** |
||
| 32 | * {@inheritdoc} |
||
| 33 | */ |
||
| 34 | public function setGatewayConfig(GatewayConfigInterface $gatewayConfig) |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @return GatewayConfigInterface |
||
| 41 | */ |
||
| 42 | public function getGatewayConfig() |
||
| 46 | |||
| 47 | /** |
||
| 48 | * {@inheritdoc} |
||
| 49 | */ |
||
| 50 | public static function getTranslationClass() |
||
| 54 | |||
| 55 | /** |
||
| 56 | * {@inheritdoc} |
||
| 57 | */ |
||
| 58 | public function isSupportsRecurring(): bool |
||
| 62 | |||
| 63 | /** |
||
| 64 | * {@inheritdoc} |
||
| 65 | */ |
||
| 66 | public function setSupportsRecurring(bool $supportsRecurring): void |
||
| 70 | } |
||
| 71 |