| Total Complexity | 5 |
| Total Lines | 39 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | class PurchasableRecord extends Record |
||
| 14 | { |
||
| 15 | use IsPurchasableModelTrait; |
||
| 16 | |||
| 17 | public $id = 37250; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @return int |
||
| 21 | */ |
||
| 22 | public function getPurchaseAmount() |
||
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @return string |
||
| 29 | */ |
||
| 30 | public function getConfirmURL() |
||
| 31 | { |
||
| 32 | return 'http://hospice.galantom.ro/donations/confirm?id='.$this->id; |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @return string |
||
| 37 | */ |
||
| 38 | public function getIpnURL() |
||
| 39 | { |
||
| 40 | return 'http://ipn.ro'; |
||
| 41 | } |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @return RecordTrait |
||
| 45 | */ |
||
| 46 | public function getPaymentMethod() |
||
| 47 | { |
||
| 48 | } |
||
| 49 | |||
| 50 | public function getName() |
||
| 52 | // TODO: Implement getName() method. |
||
| 53 | } |
||
| 54 | } |
||
| 55 |