| Total Complexity | 3 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | class DataCreditCardHelper extends DataHelper { |
||
| 18 | /** |
||
| 19 | * Set credit card number. |
||
| 20 | * |
||
| 21 | * @param int $number Credit card number. |
||
| 22 | * |
||
| 23 | * @return DataCreditCardHelper |
||
| 24 | */ |
||
| 25 | 1 | public function set_number( $number ) { |
|
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Set expiration date. |
||
| 31 | * |
||
| 32 | * @param DateTime $date Expiration date. |
||
| 33 | * |
||
| 34 | * @return DataCreditCardHelper |
||
| 35 | */ |
||
| 36 | 1 | public function set_expiration_date( DateTime $date ) { |
|
| 37 | 1 | return $this->set_field( 'ED', $date->format( Ingenico::EXPIRATION_DATE_FORMAT ) ); |
|
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * Set security code. |
||
| 42 | * |
||
| 43 | * @param string $security_code Security code. |
||
| 44 | * |
||
| 45 | * @return DataCreditCardHelper |
||
| 46 | */ |
||
| 47 | 1 | public function set_security_code( $security_code ) { |
|
| 49 | } |
||
| 50 | } |
||
| 51 |