From 19985dbb8c0aa66dc4bf7905abc1148de909097d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Tue, 11 Jan 2022 12:35:47 +0100 Subject: prvi-commit --- .../Exception/SignatureVerificationException.php | 74 ++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 vendor/stripe/stripe-php/lib/Exception/SignatureVerificationException.php (limited to 'vendor/stripe/stripe-php/lib/Exception/SignatureVerificationException.php') diff --git a/vendor/stripe/stripe-php/lib/Exception/SignatureVerificationException.php b/vendor/stripe/stripe-php/lib/Exception/SignatureVerificationException.php new file mode 100644 index 0000000..b08534a --- /dev/null +++ b/vendor/stripe/stripe-php/lib/Exception/SignatureVerificationException.php @@ -0,0 +1,74 @@ +setHttpBody($httpBody); + $instance->setSigHeader($sigHeader); + + return $instance; + } + + /** + * Gets the HTTP body as a string. + * + * @return null|string + */ + public function getHttpBody() + { + return $this->httpBody; + } + + /** + * Sets the HTTP body as a string. + * + * @param null|string $httpBody + */ + public function setHttpBody($httpBody) + { + $this->httpBody = $httpBody; + } + + /** + * Gets the `Stripe-Signature` HTTP header. + * + * @return null|string + */ + public function getSigHeader() + { + return $this->sigHeader; + } + + /** + * Sets the `Stripe-Signature` HTTP header. + * + * @param null|string $sigHeader + */ + public function setSigHeader($sigHeader) + { + $this->sigHeader = $sigHeader; + } +} -- cgit v1.2.3