| Total Complexity | 5 |
| Total Lines | 39 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 22 | class DirectebankIssuers { |
||
| 23 | /** |
||
| 24 | * Issuer 'RETAIL'. |
||
| 25 | * |
||
| 26 | * @var string |
||
| 27 | */ |
||
| 28 | const RETAIL = 'RETAIL'; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Issuer 'DIGITAL'. |
||
| 32 | * |
||
| 33 | * @var string |
||
| 34 | */ |
||
| 35 | const DIGITAL = 'DIGITAL'; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Issuer 'ADULT'. |
||
| 39 | * |
||
| 40 | * @var string |
||
| 41 | */ |
||
| 42 | const ADULT = 'ADULT'; |
||
| 43 | |||
| 44 | /** |
||
| 45 | * Transform Pronamic payment line type to Icepay Directebank issuer. |
||
| 46 | * |
||
| 47 | * @param string $type Pronamic payment line type. |
||
| 48 | * |
||
| 49 | * @return string |
||
| 50 | */ |
||
| 51 | public static function transform( $type ) { |
||
| 64 |