| Total Complexity | 1 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 26 | class PaymentMethod extends Entity |
||
| 27 | { |
||
| 28 | // Available fields. |
||
| 29 | public const FIELD_ID = 'id'; |
||
| 30 | public const FIELD_TYPE = 'type'; |
||
| 31 | public const FIELD_IS_DEFAULT = 'is_default'; |
||
| 32 | public const FIELD_CREATED = 'created'; |
||
| 33 | public const FIELD_DATA = 'data'; |
||
| 34 | |||
| 35 | // `FIELD_TYPE` values. |
||
| 36 | public const TYPE_CREDIT_CARD = 'credit_card'; |
||
| 37 | public const TYPE_GOOGLE_PAY = 'google_pay'; |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @codeCoverageIgnore This method was autogenerated. |
||
| 41 | */ |
||
| 42 | public function __get(string $name): mixed |
||
| 50 |