| 1 |
<?php |
| 2 |
namespace Payplug\Resource; |
| 3 |
|
| 4 |
/** |
| 5 |
* Payment Failure information |
| 6 |
*/ |
| 7 |
class PaymentPaymentFailure extends APIResource |
| 8 |
{ |
| 9 |
/** |
| 10 |
* The factory method that constructs the API resource. |
| 11 |
* |
| 12 |
* @param array $attributes the default attributes. |
| 13 |
* |
| 14 |
* @return PaymentPaymentFailure The new resource. |
| 15 |
*/ |
| 16 |
public static function fromAttributes(array $attributes) |
| 17 |
{ |
| 18 |
$object = new PaymentPaymentFailure(); |
| 19 |
$object->initialize($attributes); |
| 20 |
return $object; |
| 21 |
} |
| 22 |
} |
| 23 |
|