EvidenceDetails.php 772 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. namespace Braintree\Dispute;
  3. use Braintree\Instance;
  4. /**
  5. * Evidence details for a dispute
  6. *
  7. * @package Braintree
  8. *
  9. * @property-read string $category
  10. * @property-read string $comment
  11. * @property-read date $created_at
  12. * @property-read string $id
  13. * @property-read string $sent_to_processor_at
  14. * @property-read string $url
  15. * @property-read string $tag
  16. * @property-read string $sequenceNumber
  17. */
  18. class EvidenceDetails extends Instance
  19. {
  20. public function __construct($attributes)
  21. {
  22. if (array_key_exists('category', $attributes)) {
  23. $attributes['tag'] = $attributes['category'];
  24. }
  25. parent::__construct($attributes);
  26. }
  27. }
  28. class_alias('Braintree\Dispute\EvidenceDetails', 'Braintree_Dispute_EvidenceDetails');