Skip to content

Commit

Permalink
Merge pull request #989 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] committed Jul 13, 2023
2 parents 76c1285 + 735e2fb commit 6c97ee8
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 2 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v406
v417
3 changes: 3 additions & 0 deletions stripe/api_resources/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@
from stripe.api_resources.payment_intent import PaymentIntent
from stripe.api_resources.payment_link import PaymentLink
from stripe.api_resources.payment_method import PaymentMethod
from stripe.api_resources.payment_method_configuration import (
PaymentMethodConfiguration,
)
from stripe.api_resources.payout import Payout
from stripe.api_resources.person import Person
from stripe.api_resources.plan import Plan
Expand Down
19 changes: 19 additions & 0 deletions stripe/api_resources/payment_method_configuration.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from __future__ import absolute_import, division, print_function

from stripe.api_resources.abstract import CreateableAPIResource
from stripe.api_resources.abstract import ListableAPIResource
from stripe.api_resources.abstract import UpdateableAPIResource


class PaymentMethodConfiguration(
CreateableAPIResource,
ListableAPIResource,
UpdateableAPIResource,
):
"""
An object detailing payment method configurations.
"""

OBJECT_NAME = "payment_method_configuration"
2 changes: 1 addition & 1 deletion stripe/api_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

class _ApiVersion:
CURRENT = "2022-11-15"
PREVIEW = "2023-06-08.preview-v2"
PREVIEW = "20230712T200515"
1 change: 1 addition & 0 deletions stripe/object_classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
api_resources.PaymentIntent.OBJECT_NAME: api_resources.PaymentIntent,
api_resources.PaymentLink.OBJECT_NAME: api_resources.PaymentLink,
api_resources.PaymentMethod.OBJECT_NAME: api_resources.PaymentMethod,
api_resources.PaymentMethodConfiguration.OBJECT_NAME: api_resources.PaymentMethodConfiguration,
api_resources.Payout.OBJECT_NAME: api_resources.Payout,
api_resources.Person.OBJECT_NAME: api_resources.Person,
api_resources.Plan.OBJECT_NAME: api_resources.Plan,
Expand Down

0 comments on commit 6c97ee8

Please sign in to comment.