InvalidRequest.php 481 B

1234567891011121314151617181920212223
  1. <?php
  2. namespace Stripe\Error;
  3. class InvalidRequest extends Base
  4. {
  5. public function __construct(
  6. $message,
  7. $stripeParam,
  8. $httpStatus = null,
  9. $httpBody = null,
  10. $jsonBody = null,
  11. $httpHeaders = null
  12. ) {
  13. parent::__construct($message, $httpStatus, $httpBody, $jsonBody, $httpHeaders);
  14. $this->stripeParam = $stripeParam;
  15. }
  16. public function getStripeParam()
  17. {
  18. return $this->stripeParam;
  19. }
  20. }