A modest collection of PHP libraries used at SparkFun.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
617 B

  1. <?php
  2. namespace SparkLib\UPS\Rate;
  3. class Errors
  4. {
  5. /**
  6. *
  7. * @var ErrorDetailType $ErrorDetail
  8. * @access public
  9. */
  10. public $ErrorDetail = null;
  11. /**
  12. *
  13. * @param ErrorDetailType $ErrorDetail
  14. * @access public
  15. */
  16. public function __construct($ErrorDetail = null)
  17. {
  18. $this->ErrorDetail = $ErrorDetail;
  19. }
  20. /**
  21. *
  22. * @return ErrorDetailType
  23. */
  24. public function getErrorDetail()
  25. {
  26. return $this->ErrorDetail;
  27. }
  28. /**
  29. *
  30. * @param ErrorDetailType $ErrorDetail
  31. */
  32. public function setErrorDetail($ErrorDetail)
  33. {
  34. $this->ErrorDetail = $ErrorDetail;
  35. }
  36. }