From ca6e69df97439f10ca28f2c5dbab4bbc7caf777a Mon Sep 17 00:00:00 2001 From: "stripe-openapi[bot]" <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Thu, 20 Apr 2023 10:52:40 -0700 Subject: [PATCH] Update generated code for v301 (#1480) Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> --- OPENAPI_VERSION | 2 +- lib/Identity/VerificationReport.php | 4 ++-- lib/Identity/VerificationSession.php | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 22402537f..9010b7ef9 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v296 \ No newline at end of file +v301 \ No newline at end of file diff --git a/lib/Identity/VerificationReport.php b/lib/Identity/VerificationReport.php index df457e026..805c56bb4 100644 --- a/lib/Identity/VerificationReport.php +++ b/lib/Identity/VerificationReport.php @@ -28,9 +28,9 @@ * @property null|\Stripe\StripeObject $document Result from a document check * @property null|\Stripe\StripeObject $id_number Result from an id_number check * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. - * @property \Stripe\StripeObject $options + * @property null|\Stripe\StripeObject $options * @property null|\Stripe\StripeObject $selfie Result from a selfie check - * @property string $type Type of report. + * @property null|string $type Type of report. * @property null|string $verification_session ID of the VerificationSession that created this report. */ class VerificationReport extends \Stripe\ApiResource diff --git a/lib/Identity/VerificationSession.php b/lib/Identity/VerificationSession.php index 180e5091e..d3462d5f2 100644 --- a/lib/Identity/VerificationSession.php +++ b/lib/Identity/VerificationSession.php @@ -28,10 +28,10 @@ * @property null|string|\Stripe\Identity\VerificationReport $last_verification_report ID of the most recent VerificationReport. Learn more about accessing detailed verification results. * @property bool $livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode. * @property \Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - * @property \Stripe\StripeObject $options + * @property null|\Stripe\StripeObject $options A set of options for the session’s verification checks. * @property null|\Stripe\StripeObject $redaction Redaction status of this VerificationSession. If the VerificationSession is not redacted, this field will be null. * @property string $status Status of this VerificationSession. Learn more about the lifecycle of sessions. - * @property string $type The type of verification check to be performed. + * @property null|string $type The type of verification check to be performed. * @property null|string $url The short-lived URL that you use to redirect a user to Stripe to submit their identity information. This URL expires after 48 hours and can only be used once. Don’t store it, log it, send it in emails or expose it to anyone other than the user. Refer to our docs on verifying identity documents to learn how to redirect users to Stripe. * @property null|\Stripe\StripeObject $verified_outputs The user’s verified data. */