| Total Complexity | 6 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | class MollieApiClient extends BaseMollieApiClient |
||
| 18 | { |
||
| 19 | /** @var array */ |
||
| 20 | protected $config = []; |
||
| 21 | |||
| 22 | /** @var bool */ |
||
| 23 | protected $isRecurringSubscription = false; |
||
| 24 | |||
| 25 | public function getVersion(): string |
||
| 26 | { |
||
| 27 | return BitBagSyliusMolliePlugin::VERSION; |
||
| 28 | } |
||
| 29 | |||
| 30 | public function getUserAgentToken(): string |
||
| 31 | { |
||
| 32 | return BitBagSyliusMolliePlugin::USER_AGENT_TOKEN; |
||
| 33 | } |
||
| 34 | |||
| 35 | public function setConfig(array $config): void |
||
| 36 | { |
||
| 37 | $this->config = $config; |
||
| 38 | } |
||
| 39 | |||
| 40 | public function getConfig(): array |
||
| 43 | } |
||
| 44 | |||
| 45 | public function setIsRecurringSubscription(bool $isRecurringSubscription): void |
||
| 46 | { |
||
| 47 | $this->isRecurringSubscription = $isRecurringSubscription; |
||
| 48 | } |
||
| 49 | |||
| 50 | public function isRecurringSubscription(): bool |
||
| 53 | } |
||
| 54 | } |
||
| 55 |