| Total Complexity | 2 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | class PaymentMethod extends stdClass { |
||
| 23 | /** |
||
| 24 | * Type. |
||
| 25 | * |
||
| 26 | * @var string |
||
| 27 | */ |
||
| 28 | public $type; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Construct a payment method. |
||
| 32 | * |
||
| 33 | * @param string $type Adyen payment method type. |
||
| 34 | */ |
||
| 35 | public function __construct( $type ) { |
||
| 36 | $this->type = $type; |
||
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * Get JSON. |
||
| 41 | * |
||
| 42 | * @return object |
||
| 43 | */ |
||
| 44 | public function get_json() { |
||
| 46 | } |
||
| 47 | } |
||
| 48 |