| Total Complexity | 7 |
| Total Lines | 56 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | class MollieApiClient extends \Mollie\Api\MollieApiClient |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @var array |
||
| 21 | */ |
||
| 22 | protected $config = []; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @var bool |
||
| 26 | */ |
||
| 27 | protected $isRecurringSubscription = false; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @param array $config |
||
| 31 | */ |
||
| 32 | public function setConfig(array $config): void |
||
| 33 | { |
||
| 34 | $this->config = $config; |
||
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @return array |
||
| 39 | */ |
||
| 40 | public function getConfig(): array |
||
| 41 | { |
||
| 42 | return $this->config; |
||
| 43 | } |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @param bool $isRecurringSubscription |
||
| 47 | */ |
||
| 48 | public function setIsRecurringSubscription(bool $isRecurringSubscription): void |
||
| 49 | { |
||
| 50 | $this->isRecurringSubscription = $isRecurringSubscription; |
||
| 51 | } |
||
| 52 | |||
| 53 | /** |
||
| 54 | * @return bool |
||
| 55 | */ |
||
| 56 | public function isRecurringSubscription(): bool |
||
| 59 | } |
||
| 60 | |||
| 61 | /** |
||
| 62 | * @param Payment $payment |
||
| 63 | * |
||
| 64 | * @return bool |
||
| 65 | */ |
||
| 66 | public function isRefunded(Payment $payment): bool |
||
| 73 | } |
||
| 74 | } |
||
| 75 |