| Total Complexity | 2 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | class PaymentMethodIDeal extends PaymentMethod { |
||
| 21 | /** |
||
| 22 | * Issuer. |
||
| 23 | * |
||
| 24 | * @var string |
||
| 25 | */ |
||
| 26 | private $issuer; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Construct a payment method. |
||
| 30 | * |
||
| 31 | * @param string $type Adyen payment method type. |
||
| 32 | * @param string $issuer Adyen iDEAL issuer. |
||
| 33 | */ |
||
| 34 | public function __construct( $type, $issuer ) { |
||
| 35 | parent::__construct( $type ); |
||
| 36 | |||
| 37 | $this->issuer = $issuer; |
||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * Get JSON. |
||
| 42 | * |
||
| 43 | * @return object |
||
| 44 | */ |
||
| 45 | public function get_json() { |
||
| 57 | } |
||
| 58 | } |
||
| 59 |