diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 22402537f..23f214678 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v296 \ No newline at end of file +v306 \ 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. */ diff --git a/lib/Tax/Registration.php b/lib/Tax/Registration.php index 6b01b9f40..e7be1c82c 100644 --- a/lib/Tax/Registration.php +++ b/lib/Tax/Registration.php @@ -9,7 +9,7 @@ * collect tax on payments within a region, enabling you to automatically collect tax. * - * Stripe will not register on your behalf with the relevant authorities when you + * Stripe doesn't register on your behalf with the relevant authorities when you * create a Tax Registration object. For more information on how to * register to collect tax, see our guide. @@ -18,12 +18,11 @@ * @property string $object String representing the object's type. Objects of the same type share the same value. * @property int $active_from Time at which the registration becomes active. Measured in seconds since the Unix epoch. * @property string $country Two-letter country code (ISO 3166-1 alpha-2). + * @property \Stripe\StripeObject $country_options * @property int $created Time at which the object was created. Measured in seconds since the Unix epoch. * @property null|int $expires_at If set, the registration stops being active at this time. If not set, the registration will be active indefinitely. Measured in seconds since the Unix epoch. * @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 null|string $state State, county, province, or region. * @property string $status The status of the registration. This field is present for convenience and can be deduced from active_from and expires_at. - * @property string $type The type of the registration. See our guide for more information about registration types. */ class Registration extends \Stripe\ApiResource { @@ -36,11 +35,4 @@ class Registration extends \Stripe\ApiResource const STATUS_ACTIVE = 'active'; const STATUS_EXPIRED = 'expired'; const STATUS_SCHEDULED = 'scheduled'; - - const TYPE_DOMESTIC_SMALL_SELLER = 'domestic_small_seller'; - const TYPE_IOSS = 'ioss'; - const TYPE_SIMPLIFIED = 'simplified'; - const TYPE_STANDARD = 'standard'; - const TYPE_VAT_OSS_NON_UNION = 'vat_oss_non_union'; - const TYPE_VAT_OSS_UNION = 'vat_oss_union'; }