| Total Complexity | 4 |
| Total Lines | 48 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | class Wallet extends ConfigurableInfo |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * Wallet Info template. |
||
| 21 | * |
||
| 22 | * @var string |
||
| 23 | */ |
||
| 24 | protected $_template = 'Getnet_PaymentMagento::info/wallet/instructions.phtml'; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Returns label. |
||
| 28 | * |
||
| 29 | * @param string $field |
||
| 30 | * |
||
| 31 | * @return Phrase |
||
| 32 | */ |
||
| 33 | protected function getLabel($field) |
||
| 36 | } |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Returns value view. |
||
| 40 | * |
||
| 41 | * @param string $field |
||
| 42 | * @param string $value |
||
| 43 | * |
||
| 44 | * @return string | Phrase |
||
| 45 | */ |
||
| 46 | protected function getValueView($field, $value) |
||
| 53 | } |
||
| 54 | |||
| 55 | /** |
||
| 56 | * Get Url to Image Qr Code. |
||
| 57 | * |
||
| 58 | * @param string $qrCode |
||
| 59 | * |
||
| 60 | * @return string |
||
| 61 | */ |
||
| 62 | public function getImageQrCode($qrCode) |
||
| 67 |