Skip to content

Commit

Permalink
Merge pull request #1481 from stripe/latest-codegen-beta
Browse files Browse the repository at this point in the history
Update generated code for beta
  • Loading branch information
stripe-openapi[bot] authored Apr 20, 2023
2 parents 26e7947 + e81f198 commit d5187c3
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 15 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v296
v306
4 changes: 2 additions & 2 deletions lib/Identity/VerificationReport.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 <code>true</code> if the object exists in live mode or the value <code>false</code> 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
Expand Down
4 changes: 2 additions & 2 deletions lib/Identity/VerificationSession.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@
* @property null|string|\Stripe\Identity\VerificationReport $last_verification_report ID of the most recent VerificationReport. <a href="https://stripe.com/docs/identity/verification-sessions#results">Learn more about accessing detailed verification results.</a>
* @property bool $livemode Has the value <code>true</code> if the object exists in live mode or the value <code>false</code> if the object exists in test mode.
* @property \Stripe\StripeObject $metadata Set of <a href="https://stripe.com/docs/api/metadata">key-value pairs</a> 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. <a href="https://stripe.com/docs/identity/how-sessions-work">Learn more about the lifecycle of sessions</a>.
* @property string $type The type of <a href="https://stripe.com/docs/identity/verification-checks">verification check</a> to be performed.
* @property null|string $type The type of <a href="https://stripe.com/docs/identity/verification-checks">verification check</a> 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 <a href="https://stripe.com/docs/identity/verify-identity-documents?platform=web&amp;type=redirect">verifying identity documents</a> to learn how to redirect users to Stripe.
* @property null|\Stripe\StripeObject $verified_outputs The user’s verified data.
*/
Expand Down
12 changes: 2 additions & 10 deletions lib/Tax/Registration.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* collect tax on payments within a region, enabling you to <a
* href="https://stripe.com/docs/tax">automatically collect tax</a>.
*
* 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 <code>Registration</code> object. For more information on how to
* register to collect tax, see <a
* href="https://stripe.com/docs/tax/registering">our guide</a>.
Expand All @@ -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 (<a href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2">ISO 3166-1 alpha-2</a>).
* @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 <code>true</code> if the object exists in live mode or the value <code>false</code> 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 <code>active_from</code> and <code>expires_at</code>.
* @property string $type The type of the registration. See <a href="https://stripe.com/docs/tax/registering">our guide</a> for more information about registration types.
*/
class Registration extends \Stripe\ApiResource
{
Expand All @@ -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';
}

0 comments on commit d5187c3

Please sign in to comment.