| Total Complexity | 2 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | class DirectDebitIDealGateway extends Gateway { |
||
| 24 | /** |
||
| 25 | * Constructs and initialize credit card gateway. |
||
| 26 | */ |
||
| 27 | public function __construct() { |
||
| 28 | parent::__construct( 'MeprDirectDebitIDealGateway', PaymentMethods::DIRECT_DEBIT_IDEAL ); |
||
| 29 | |||
| 30 | // Capabilities. |
||
| 31 | $this->capabilities = array( |
||
|
|
|||
| 32 | 'process-payments', |
||
| 33 | 'create-subscriptions', |
||
| 34 | 'cancel-subscriptions', |
||
| 35 | 'update-subscriptions', |
||
| 36 | 'subscription-trial-payment', |
||
| 37 | ); |
||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * Get icon function, please note that this is not a MemberPress function. |
||
| 42 | * |
||
| 43 | * @since 2.0.8 |
||
| 44 | * @return string |
||
| 45 | */ |
||
| 46 | protected function get_icon() { |
||
| 48 | } |
||
| 49 | } |
||
| 50 |