mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-27 20:01:26 +01:00
NEW Upgrade of Stripe lib to 6.4.1
This commit is contained in:
23
htdocs/includes/stripe/lib/Error/OAuth/OAuthBase.php
Normal file
23
htdocs/includes/stripe/lib/Error/OAuth/OAuthBase.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace Stripe\Error\OAuth;
|
||||
|
||||
class OAuthBase extends \Stripe\Error\Base
|
||||
{
|
||||
public function __construct(
|
||||
$code,
|
||||
$description,
|
||||
$httpStatus = null,
|
||||
$httpBody = null,
|
||||
$jsonBody = null,
|
||||
$httpHeaders = null
|
||||
) {
|
||||
parent::__construct($description, $httpStatus, $httpBody, $jsonBody, $httpHeaders);
|
||||
$this->code = $code;
|
||||
}
|
||||
|
||||
public function getErrorCode()
|
||||
{
|
||||
return $this->code;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user