| 1 | <?php |
||
| 9 | class Info implements InfoContract |
||
| 10 | { |
||
| 11 | use HasAttributes; |
||
| 12 | |||
| 13 | public function __construct(array $attributes) |
||
| 17 | |||
| 18 | public function getBankInfo() |
||
| 19 | { |
||
| 20 | return $this->getAttributes(); |
||
| 21 | } |
||
| 22 | |||
| 23 | public function getBankCode() |
||
| 24 | { |
||
| 25 | return $this->getAttribute('bankCode'); |
||
| 26 | } |
||
| 27 | |||
| 28 | public function getBankName() |
||
| 29 | { |
||
| 30 | return $this->getAttribute('bankName'); |
||
| 31 | } |
||
| 32 | |||
| 33 | public function getBankIcon() |
||
| 34 | { |
||
| 35 | return $this->getAttribute('bankIcon'); |
||
| 36 | } |
||
| 37 | |||
| 38 | public function getCardType() |
||
| 42 | |||
| 43 | public function getCardTypeName() |
||
| 47 | } |
||
| 48 |