PluginProbe
Booktics – Appointment Booking Calendar for Service Businesses / 1.0.29
Booktics – Appointment Booking Calendar for Service Businesses v1.0.29
1.0.29 1.0.28 1.0.27 1.0.26 1.0.25 1.0.24 1.0.23 1.0.22 1.0.21 1.0.20 1.0.19 trunk 1.0.0 1.0.1 1.0.10 1.0.11 1.0.12 1.0.13 1.0.14 1.0.15 1.0.16 1.0.17 1.0.18 1.0.2 1.0.3 All 31 releases
booktics / vendor / stripe / stripe-php / lib / OAuthErrorObject.php

OAuthErrorObject.php in Booktics – Appointment Booking Calendar for Service Businesses 1.0.29, at vendor/stripe/stripe-php/lib/OAuthErrorObject.php

32 lines 861 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace Stripe;
4
5 /**
6 * Class OAuthErrorObject.
7 *
8 * @property string $error
9 * @property string $error_description
10 */
11 class OAuthErrorObject extends StripeObject
12 {
13 /**
14 * Refreshes this object using the provided values.
15 *
16 * @param array $values
17 * @param null|array|string|Util\RequestOptions $opts
18 * @param bool $partial defaults to false
19 */
20 public function refreshFrom($values, $opts, $partial = false)
21 {
22 // Unlike most other API resources, the API will omit attributes in
23 // error objects when they have a null value. We manually set default
24 // values here to facilitate generic error handling.
25 $values = \array_merge([
26 'error' => null,
27 'error_description' => null,
28 ], $values);
29 parent::refreshFrom($values, $opts, $partial);
30 }
31 }
32