2929
3030
3131def lazy_import ():
32+ from Monei .model .payment_payment_method_bizum import PaymentPaymentMethodBizum
3233 from Monei .model .payment_payment_method_card import PaymentPaymentMethodCard
3334
35+ globals ()["PaymentPaymentMethodBizum" ] = PaymentPaymentMethodBizum
3436 globals ()["PaymentPaymentMethodCard" ] = PaymentPaymentMethodCard
3537
3638
@@ -61,6 +63,7 @@ class SubscriptionPaymentMethod(ModelNormal):
6163 allowed_values = {
6264 ("method" ,): {
6365 "CARD" : "card" ,
66+ "BIZUM" : "bizum" ,
6467 },
6568 }
6669
@@ -101,6 +104,7 @@ def openapi_types():
101104 return {
102105 "method" : (str ,), # noqa: E501
103106 "card" : (PaymentPaymentMethodCard ,), # noqa: E501
107+ "bizum" : (PaymentPaymentMethodBizum ,), # noqa: E501
104108 }
105109
106110 @cached_property
@@ -110,6 +114,7 @@ def discriminator():
110114 attribute_map = {
111115 "method" : "method" , # noqa: E501
112116 "card" : "card" , # noqa: E501
117+ "bizum" : "bizum" , # noqa: E501
113118 }
114119
115120 read_only_vars = {}
@@ -152,8 +157,9 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
152157 Animal class but this time we won't travel
153158 through its discriminator because we passed in
154159 _visited_composed_classes = (Animal,)
155- method (str): Subscription method type.. [optional] if omitted the server will use the default value of "card" # noqa: E501
160+ method (str): Subscription method type.. [optional] # noqa: E501
156161 card (PaymentPaymentMethodCard): [optional] # noqa: E501
162+ bizum (PaymentPaymentMethodBizum): [optional] # noqa: E501
157163 """
158164
159165 _check_type = kwargs .pop ("_check_type" , True )
@@ -244,8 +250,9 @@ def __init__(self, *args, **kwargs): # noqa: E501
244250 Animal class but this time we won't travel
245251 through its discriminator because we passed in
246252 _visited_composed_classes = (Animal,)
247- method (str): Subscription method type.. [optional] if omitted the server will use the default value of "card" # noqa: E501
253+ method (str): Subscription method type.. [optional] # noqa: E501
248254 card (PaymentPaymentMethodCard): [optional] # noqa: E501
255+ bizum (PaymentPaymentMethodBizum): [optional] # noqa: E501
249256 """
250257
251258 _check_type = kwargs .pop ("_check_type" , True )
0 commit comments