OAuth
6 years ago
Api.php
6 years ago
ApiConnection.php
6 years ago
Authentication.php
6 years ago
Base.php
6 years ago
Card.php
6 years ago
Idempotency.php
6 years ago
InvalidRequest.php
6 years ago
Permission.php
6 years ago
RateLimit.php
6 years ago
SignatureVerification.php
6 years ago
InvalidRequest.php
24 lines
| 1 | <?php |
| 2 | |
| 3 | namespace Stripe\Error; |
| 4 | |
| 5 | class InvalidRequest extends Base |
| 6 | { |
| 7 | public function __construct( |
| 8 | $message, |
| 9 | $stripeParam, |
| 10 | $httpStatus = null, |
| 11 | $httpBody = null, |
| 12 | $jsonBody = null, |
| 13 | $httpHeaders = null |
| 14 | ) { |
| 15 | parent::__construct($message, $httpStatus, $httpBody, $jsonBody, $httpHeaders); |
| 16 | $this->stripeParam = $stripeParam; |
| 17 | } |
| 18 | |
| 19 | public function getStripeParam() |
| 20 | { |
| 21 | return $this->stripeParam; |
| 22 | } |
| 23 | } |
| 24 |