kittycad.models.payment_method

Classes

PaymentMethod(**data)

A payment method.

class kittycad.models.payment_method.PaymentMethod(**data)[source][source]

A payment method.

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

__init__ uses __pydantic_self__ instead of the more common self for the first arg to allow self as a field name.

__abstractmethods__ = frozenset({})[source]
__annotations__ = {'__class_vars__': 'ClassVar[set[str]]', '__private_attributes__': 'ClassVar[dict[str, ModelPrivateAttr]]', '__pydantic_complete__': 'ClassVar[bool]', '__pydantic_core_schema__': 'ClassVar[CoreSchema]', '__pydantic_custom_init__': 'ClassVar[bool]', '__pydantic_decorators__': 'ClassVar[_decorators.DecoratorInfos]', '__pydantic_extra__': 'dict[str, Any] | None', '__pydantic_fields_set__': 'set[str]', '__pydantic_generic_metadata__': 'ClassVar[_generics.PydanticGenericMetadata]', '__pydantic_parent_namespace__': 'ClassVar[dict[str, Any] | None]', '__pydantic_post_init__': "ClassVar[None | Literal['model_post_init']]", '__pydantic_private__': 'dict[str, Any] | None', '__pydantic_root_model__': 'ClassVar[bool]', '__pydantic_serializer__': 'ClassVar[SchemaSerializer]', '__pydantic_validator__': 'ClassVar[SchemaValidator]', '__signature__': 'ClassVar[Signature]', 'billing_info': <class 'kittycad.models.billing_info.BillingInfo'>, 'card': typing.Optional[kittycad.models.card_details.CardDetails], 'created_at': <class 'datetime.datetime'>, 'id': typing.Optional[str], 'metadata': typing.Optional[typing.Dict[str, str]], 'model_config': 'ClassVar[ConfigDict]', 'model_fields': 'ClassVar[dict[str, FieldInfo]]', 'type': <enum 'PaymentMethodType'>}[source]
classmethod __class_getitem__(typevar_values)[source]
__class_vars__: ClassVar[set[str]] = {}[source]
__copy__()[source]

Returns a shallow copy of the model.

Return type:

Model

__deepcopy__(memo=None)[source]

Returns a deep copy of the model.

Return type:

Model

__delattr__(item)[source]

Implement delattr(self, name).

Return type:

Any

__dict__[source]
__eq__(other)[source]

Return self==value.

Return type:

bool

__fields__ = {'billing_info': FieldInfo(annotation=BillingInfo, required=True), 'card': FieldInfo(annotation=Union[CardDetails, NoneType], required=False), 'created_at': FieldInfo(annotation=datetime, required=True), 'id': FieldInfo(annotation=Union[str, NoneType], required=False), 'metadata': FieldInfo(annotation=Union[Dict[str, str], NoneType], required=False), 'type': FieldInfo(annotation=PaymentMethodType, required=True)}[source]
property __fields_set__: set[str][source]
classmethod __get_pydantic_core_schema__(_BaseModel__source, _BaseModel__handler)[source]

Hook into generating the model’s CoreSchema.

Parameters:
  • __source – The class we are generating a schema for. This will generally be the same as the cls argument if this is a classmethod.

  • __handler – Call into Pydantic’s internal JSON schema generation. A callable that calls into Pydantic’s internal CoreSchema generation logic.

Return type:

Union[AnySchema, NoneSchema, BoolSchema, IntSchema, FloatSchema, DecimalSchema, StringSchema, BytesSchema, DateSchema, TimeSchema, DatetimeSchema, TimedeltaSchema, LiteralSchema, IsInstanceSchema, IsSubclassSchema, CallableSchema, ListSchema, TuplePositionalSchema, TupleVariableSchema, SetSchema, FrozenSetSchema, GeneratorSchema, DictSchema, AfterValidatorFunctionSchema, BeforeValidatorFunctionSchema, WrapValidatorFunctionSchema, PlainValidatorFunctionSchema, WithDefaultSchema, NullableSchema, UnionSchema, TaggedUnionSchema, ChainSchema, LaxOrStrictSchema, JsonOrPythonSchema, TypedDictSchema, ModelFieldsSchema, ModelSchema, DataclassArgsSchema, DataclassSchema, ArgumentsSchema, CallSchema, CustomErrorSchema, JsonSchema, UrlSchema, MultiHostUrlSchema, DefinitionsSchema, DefinitionReferenceSchema, UuidSchema]

Returns:

A pydantic-core CoreSchema.

classmethod __get_pydantic_json_schema__(_BaseModel__core_schema, _BaseModel__handler)[source]

Hook into generating the model’s JSON schema.

Parameters:
  • __core_schema – A pydantic-core CoreSchema. You can ignore this argument and call the handler with a new CoreSchema, wrap this CoreSchema ({‘type’: ‘nullable’, ‘schema’: current_schema}), or just call the handler with the original schema.

  • __handler – Call into Pydantic’s internal JSON schema generation. This will raise a pydantic.errors.PydanticInvalidForJsonSchema if JSON schema generation fails. Since this gets called by BaseModel.model_json_schema you can override the schema_generator argument to that function to change JSON schema generation globally for a type.

Return type:

Dict[str, Any]

Returns:

A JSON schema, as a Python object.

__getattr__(item)[source]
Return type:

Any

__getstate__()[source]
Return type:

dict[Any, Any]

__hash__ = None[source]
__init__(**data)[source]

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

__init__ uses __pydantic_self__ instead of the more common self for the first arg to allow self as a field name.

__iter__()[source]

So dict(model) works.

Return type:

TupleGenerator

__module__ = 'kittycad.models.payment_method'[source]
__pretty__(fmt, **kwargs)[source]

Used by devtools (https://python-devtools.helpmanual.io/) to pretty print objects.

Return type:

Generator[Any, None, None]

__private_attributes__: ClassVar[dict[str, ModelPrivateAttr]] = {}[source]
__pydantic_complete__: ClassVar[bool] = True[source]
__pydantic_core_schema__: ClassVar[CoreSchema] = {'cls': <class 'kittycad.models.payment_method.PaymentMethod'>, 'config': {'title': 'PaymentMethod'}, 'custom_init': False, 'metadata': {'pydantic.internal.needs_apply_discriminated_union': False, 'pydantic_js_annotation_functions': [], 'pydantic_js_functions': [functools.partial(<function modify_model_json_schema>, cls=<class 'kittycad.models.payment_method.PaymentMethod'>), <bound method BaseModel.__get_pydantic_json_schema__ of <class 'kittycad.models.payment_method.PaymentMethod'>>]}, 'ref': 'kittycad.models.payment_method.PaymentMethod:93825024553056', 'root_model': False, 'schema': {'computed_fields': [], 'fields': {'billing_info': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'cls': <class 'kittycad.models.billing_info.BillingInfo'>, 'config': {'title': 'BillingInfo'}, 'custom_init': False, 'metadata': {'pydantic.internal.needs_apply_discriminated_union': False, 'pydantic_js_annotation_functions': [], 'pydantic_js_functions': [functools.partial(<function modify_model_json_schema>, cls=<class 'kittycad.models.billing_info.BillingInfo'>), <bound method BaseModel.__get_pydantic_json_schema__ of <class 'kittycad.models.billing_info.BillingInfo'>>]}, 'ref': 'kittycad.models.billing_info.BillingInfo:93825016529280', 'root_model': False, 'schema': {'computed_fields': [], 'fields': {'address': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': None, 'schema': {'metadata': {'pydantic.internal.needs_apply_discriminated_union': False}, 'schema': {'cls': <class 'kittycad.models.new_address.NewAddress'>, 'config': {'title': 'NewAddress'}, 'custom_init': False, 'metadata': {'pydantic.internal.needs_apply_discriminated_union': False, 'pydantic_js_annotation_functions': [], 'pydantic_js_functions': [functools.partial(<function modify_model_json_schema>, cls=<class 'kittycad.models.new_address.NewAddress'>), <bound method BaseModel.__get_pydantic_json_schema__ of <class 'kittycad.models.new_address.NewAddress'>>]}, 'ref': 'kittycad.models.new_address.NewAddress:93825016504976', 'root_model': False, 'schema': {'computed_fields': [], 'fields': {'city': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': None, 'schema': {'metadata': {'pydantic.internal.needs_apply_discriminated_union': False}, 'schema': {'metadata': {'pydantic.internal.needs_apply_discriminated_union': False}, 'type': 'str'}, 'type': 'nullable'}, 'type': 'default'}, 'type': 'model-field'}, 'country': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'function': {'function': <class 'kittycad.models.country_code.CountryCode'>, 'type': 'no-info'}, 'metadata': {'pydantic.internal.needs_apply_discriminated_union': False}, 'schema': {'metadata': {'pydantic.internal.needs_apply_discriminated_union': False}, 'type': 'str'}, 'type': 'function-after'}, 'type': 'model-field'}, 'state': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': None, 'schema': {'metadata': {'pydantic.internal.needs_apply_discriminated_union': False}, 'schema': {'metadata': {'pydantic.internal.needs_apply_discriminated_union': False}, 'type': 'str'}, 'type': 'nullable'}, 'type': 'default'}, 'type': 'model-field'}, 'street1': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': None, 'schema': {'metadata': {'pydantic.internal.needs_apply_discriminated_union': False}, 'schema': {'metadata': {'pydantic.internal.needs_apply_discriminated_union': False}, 'type': 'str'}, 'type': 'nullable'}, 'type': 'default'}, 'type': 'model-field'}, 'street2': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': None, 'schema': {'metadata': {'pydantic.internal.needs_apply_discriminated_union': False}, 'schema': {'metadata': {'pydantic.internal.needs_apply_discriminated_union': False}, 'type': 'str'}, 'type': 'nullable'}, 'type': 'default'}, 'type': 'model-field'}, 'user_id': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'function': {'function': <class 'kittycad.models.uuid.Uuid'>, 'type': 'no-info'}, 'metadata': {'pydantic.internal.needs_apply_discriminated_union': False}, 'schema': {'metadata': {'pydantic.internal.needs_apply_discriminated_union': False}, 'type': 'str'}, 'type': 'function-after'}, 'type': 'model-field'}, 'zip': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': None, 'schema': {'metadata': {'pydantic.internal.needs_apply_discriminated_union': False}, 'schema': {'metadata': {'pydantic.internal.needs_apply_discriminated_union': False}, 'type': 'str'}, 'type': 'nullable'}, 'type': 'default'}, 'type': 'model-field'}}, 'model_name': 'NewAddress', 'type': 'model-fields'}, 'type': 'model'}, 'type': 'nullable'}, 'type': 'default'}, 'type': 'model-field'}, 'name': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': None, 'schema': {'metadata': {'pydantic.internal.needs_apply_discriminated_union': False}, 'schema': {'metadata': {'pydantic.internal.needs_apply_discriminated_union': False}, 'type': 'str'}, 'type': 'nullable'}, 'type': 'default'}, 'type': 'model-field'}, 'phone': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': None, 'schema': {'metadata': {'pydantic.internal.needs_apply_discriminated_union': False}, 'schema': {'metadata': {'pydantic.internal.needs_apply_discriminated_union': False}, 'type': 'str'}, 'type': 'nullable'}, 'type': 'default'}, 'type': 'model-field'}}, 'model_name': 'BillingInfo', 'type': 'model-fields'}, 'type': 'model'}, 'type': 'model-field'}, 'card': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': None, 'schema': {'metadata': {'pydantic.internal.needs_apply_discriminated_union': False}, 'schema': {'cls': <class 'kittycad.models.card_details.CardDetails'>, 'config': {'title': 'CardDetails'}, 'custom_init': False, 'metadata': {'pydantic.internal.needs_apply_discriminated_union': False, 'pydantic_js_annotation_functions': [], 'pydantic_js_functions': [functools.partial(<function modify_model_json_schema>, cls=<class 'kittycad.models.card_details.CardDetails'>), <bound method BaseModel.__get_pydantic_json_schema__ of <class 'kittycad.models.card_details.CardDetails'>>]}, 'ref': 'kittycad.models.card_details.CardDetails:93825016565408', 'root_model': False, 'schema': {'computed_fields': [], 'fields': {'brand': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': None, 'schema': {'metadata': {'pydantic.internal.needs_apply_discriminated_union': False}, 'schema': {'metadata': {'pydantic.internal.needs_apply_discriminated_union': False}, 'type': 'str'}, 'type': 'nullable'}, 'type': 'default'}, 'type': 'model-field'}, 'checks': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': None, 'schema': {'metadata': {'pydantic.internal.needs_apply_discriminated_union': False}, 'schema': {'cls': <class 'kittycad.models.payment_method_card_checks.PaymentMethodCardChecks'>, 'config': {'title': 'PaymentMethodCardChecks'}, 'custom_init': False, 'metadata': {'pydantic.internal.needs_apply_discriminated_union': False, 'pydantic_js_annotation_functions': [], 'pydantic_js_functions': [functools.partial(<function modify_model_json_schema>, cls=<class 'kittycad.models.payment_method_card_checks.PaymentMethodCardChecks'>), <bound method BaseModel.__get_pydantic_json_schema__ of <class 'kittycad.models.payment_method_card_checks.PaymentMethodCardChecks'>>]}, 'ref': 'kittycad.models.payment_method_card_checks.PaymentMethodCardChecks:93825016554112', 'root_model': False, 'schema': {'computed_fields': [], 'fields': {'address_line1_check': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': None, 'schema': {'metadata': {'pydantic.internal.needs_apply_discriminated_union': False}, 'schema': {'metadata': {'pydantic.internal.needs_apply_discriminated_union': False}, 'type': 'str'}, 'type': 'nullable'}, 'type': 'default'}, 'type': 'model-field'}, 'address_postal_code_check': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': None, 'schema': {'metadata': {'pydantic.internal.needs_apply_discriminated_union': False}, 'schema': {'metadata': {'pydantic.internal.needs_apply_discriminated_union': False}, 'type': 'str'}, 'type': 'nullable'}, 'type': 'default'}, 'type': 'model-field'}, 'cvc_check': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': None, 'schema': {'metadata': {'pydantic.internal.needs_apply_discriminated_union': False}, 'schema': {'metadata': {'pydantic.internal.needs_apply_discriminated_union': False}, 'type': 'str'}, 'type': 'nullable'}, 'type': 'default'}, 'type': 'model-field'}}, 'model_name': 'PaymentMethodCardChecks', 'type': 'model-fields'}, 'type': 'model'}, 'type': 'nullable'}, 'type': 'default'}, 'type': 'model-field'}, 'country': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': None, 'schema': {'metadata': {'pydantic.internal.needs_apply_discriminated_union': False}, 'schema': {'metadata': {'pydantic.internal.needs_apply_discriminated_union': False}, 'type': 'str'}, 'type': 'nullable'}, 'type': 'default'}, 'type': 'model-field'}, 'exp_month': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': None, 'schema': {'metadata': {'pydantic.internal.needs_apply_discriminated_union': False}, 'schema': {'metadata': {'pydantic.internal.needs_apply_discriminated_union': False}, 'type': 'int'}, 'type': 'nullable'}, 'type': 'default'}, 'type': 'model-field'}, 'exp_year': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': None, 'schema': {'metadata': {'pydantic.internal.needs_apply_discriminated_union': False}, 'schema': {'metadata': {'pydantic.internal.needs_apply_discriminated_union': False}, 'type': 'int'}, 'type': 'nullable'}, 'type': 'default'}, 'type': 'model-field'}, 'fingerprint': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': None, 'schema': {'metadata': {'pydantic.internal.needs_apply_discriminated_union': False}, 'schema': {'metadata': {'pydantic.internal.needs_apply_discriminated_union': False}, 'type': 'str'}, 'type': 'nullable'}, 'type': 'default'}, 'type': 'model-field'}, 'funding': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': None, 'schema': {'metadata': {'pydantic.internal.needs_apply_discriminated_union': False}, 'schema': {'metadata': {'pydantic.internal.needs_apply_discriminated_union': False}, 'type': 'str'}, 'type': 'nullable'}, 'type': 'default'}, 'type': 'model-field'}, 'last4': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': None, 'schema': {'metadata': {'pydantic.internal.needs_apply_discriminated_union': False}, 'schema': {'metadata': {'pydantic.internal.needs_apply_discriminated_union': False}, 'type': 'str'}, 'type': 'nullable'}, 'type': 'default'}, 'type': 'model-field'}}, 'model_name': 'CardDetails', 'type': 'model-fields'}, 'type': 'model'}, 'type': 'nullable'}, 'type': 'default'}, 'type': 'model-field'}, 'created_at': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'metadata': {'pydantic_js_annotation_functions': [<bound method InnerSchemaValidator.__get_pydantic_json_schema__ of InnerSchemaValidator(core_schema={'type': 'datetime', 'microseconds_precision': 'truncate', 'metadata': {'pydantic_js_annotation_functions': [...]}}, js_schema=None, js_core_schema=None, js_schema_update=None)>]}, 'microseconds_precision': 'truncate', 'type': 'datetime'}, 'type': 'model-field'}, 'id': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': None, 'schema': {'metadata': {'pydantic.internal.needs_apply_discriminated_union': False}, 'schema': {'metadata': {'pydantic.internal.needs_apply_discriminated_union': False}, 'type': 'str'}, 'type': 'nullable'}, 'type': 'default'}, 'type': 'model-field'}, 'metadata': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': None, 'schema': {'metadata': {'pydantic.internal.needs_apply_discriminated_union': False}, 'schema': {'keys_schema': {'metadata': {'pydantic.internal.needs_apply_discriminated_union': False}, 'type': 'str'}, 'metadata': {'pydantic.internal.needs_apply_discriminated_union': False}, 'strict': False, 'type': 'dict', 'values_schema': {'metadata': {'pydantic.internal.needs_apply_discriminated_union': False}, 'type': 'str'}}, 'type': 'nullable'}, 'type': 'default'}, 'type': 'model-field'}, 'type': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'lax_schema': {'steps': [{'type': 'str'}, {'type': 'function-plain', 'function': {'type': 'no-info', 'function': <function get_enum_core_schema.<locals>.to_enum>}}], 'type': 'chain'}, 'metadata': {'pydantic.internal.needs_apply_discriminated_union': False, 'pydantic_js_functions': [<function get_enum_core_schema.<locals>.get_json_schema>]}, 'ref': 'kittycad.models.payment_method_type.PaymentMethodType:93825024552112', 'strict_schema': {'json_schema': {'function': {'function': <function get_enum_core_schema.<locals>.to_enum>, 'type': 'no-info'}, 'schema': {'type': 'str'}, 'type': 'function-after'}, 'python_schema': {'cls': <enum 'PaymentMethodType'>, 'type': 'is-instance'}, 'type': 'json-or-python'}, 'type': 'lax-or-strict'}, 'type': 'model-field'}}, 'model_name': 'PaymentMethod', 'type': 'model-fields'}, 'type': 'model'}[source]
__pydantic_custom_init__: ClassVar[bool] = False[source]
__pydantic_decorators__: ClassVar[_decorators.DecoratorInfos] = DecoratorInfos(validators={}, field_validators={}, root_validators={}, field_serializers={}, model_serializers={}, model_validators={}, computed_fields={})[source]
__pydantic_extra__: dict[str, Any] | None[source]
__pydantic_fields_set__: set[str][source]
__pydantic_generic_metadata__: ClassVar[_generics.PydanticGenericMetadata] = {'args': (), 'origin': None, 'parameters': ()}[source]
classmethod __pydantic_init_subclass__(**kwargs)[source]

This is intended to behave just like __init_subclass__, but is called by ModelMetaclass only after the class is actually fully initialized. In particular, attributes like model_fields will be present when this is called.

This is necessary because __init_subclass__ will always be called by type.__new__, and it would require a prohibitively large refactor to the ModelMetaclass to ensure that type.__new__ was called in such a manner that the class would already be sufficiently initialized.

This will receive the same kwargs that would be passed to the standard __init_subclass__, namely, any kwargs passed to the class definition that aren’t used internally by pydantic.

Parameters:

**kwargs (Any) – Any keyword arguments passed to the class definition that aren’t used internally by pydantic.

Return type:

None

__pydantic_parent_namespace__: ClassVar[dict[str, Any] | None] = {'BaseModel': <pydantic._internal._model_construction._PydanticWeakRef object>, 'BillingInfo': <pydantic._internal._model_construction._PydanticWeakRef object>, 'CardDetails': <pydantic._internal._model_construction._PydanticWeakRef object>, 'Dict': <pydantic._internal._model_construction._PydanticWeakRef object>, 'Optional': <pydantic._internal._model_construction._PydanticWeakRef object>, 'PaymentMethodType': <pydantic._internal._model_construction._PydanticWeakRef object>, '__builtins__': {'ArithmeticError': <class 'ArithmeticError'>, 'AssertionError': <class 'AssertionError'>, 'AttributeError': <class 'AttributeError'>, 'BaseException': <class 'BaseException'>, 'BlockingIOError': <class 'BlockingIOError'>, 'BrokenPipeError': <class 'BrokenPipeError'>, 'BufferError': <class 'BufferError'>, 'BytesWarning': <class 'BytesWarning'>, 'ChildProcessError': <class 'ChildProcessError'>, 'ConnectionAbortedError': <class 'ConnectionAbortedError'>, 'ConnectionError': <class 'ConnectionError'>, 'ConnectionRefusedError': <class 'ConnectionRefusedError'>, 'ConnectionResetError': <class 'ConnectionResetError'>, 'DeprecationWarning': <class 'DeprecationWarning'>, 'EOFError': <class 'EOFError'>, 'Ellipsis': Ellipsis, 'EnvironmentError': <class 'OSError'>, 'Exception': <class 'Exception'>, 'False': False, 'FileExistsError': <class 'FileExistsError'>, 'FileNotFoundError': <class 'FileNotFoundError'>, 'FloatingPointError': <class 'FloatingPointError'>, 'FutureWarning': <class 'FutureWarning'>, 'GeneratorExit': <class 'GeneratorExit'>, 'IOError': <class 'OSError'>, 'ImportError': <class 'ImportError'>, 'ImportWarning': <class 'ImportWarning'>, 'IndentationError': <class 'IndentationError'>, 'IndexError': <class 'IndexError'>, 'InterruptedError': <class 'InterruptedError'>, 'IsADirectoryError': <class 'IsADirectoryError'>, 'KeyError': <class 'KeyError'>, 'KeyboardInterrupt': <class 'KeyboardInterrupt'>, 'LookupError': <class 'LookupError'>, 'MemoryError': <class 'MemoryError'>, 'ModuleNotFoundError': <class 'ModuleNotFoundError'>, 'NameError': <class 'NameError'>, 'None': None, 'NotADirectoryError': <class 'NotADirectoryError'>, 'NotImplemented': NotImplemented, 'NotImplementedError': <class 'NotImplementedError'>, 'OSError': <class 'OSError'>, 'OverflowError': <class 'OverflowError'>, 'PendingDeprecationWarning': <class 'PendingDeprecationWarning'>, 'PermissionError': <class 'PermissionError'>, 'ProcessLookupError': <class 'ProcessLookupError'>, 'RecursionError': <class 'RecursionError'>, 'ReferenceError': <class 'ReferenceError'>, 'ResourceWarning': <class 'ResourceWarning'>, 'RuntimeError': <class 'RuntimeError'>, 'RuntimeWarning': <class 'RuntimeWarning'>, 'StopAsyncIteration': <class 'StopAsyncIteration'>, 'StopIteration': <class 'StopIteration'>, 'SyntaxError': <class 'SyntaxError'>, 'SyntaxWarning': <class 'SyntaxWarning'>, 'SystemError': <class 'SystemError'>, 'SystemExit': <class 'SystemExit'>, 'TabError': <class 'TabError'>, 'TimeoutError': <class 'TimeoutError'>, 'True': True, 'TypeError': <class 'TypeError'>, 'UnboundLocalError': <class 'UnboundLocalError'>, 'UnicodeDecodeError': <class 'UnicodeDecodeError'>, 'UnicodeEncodeError': <class 'UnicodeEncodeError'>, 'UnicodeError': <class 'UnicodeError'>, 'UnicodeTranslateError': <class 'UnicodeTranslateError'>, 'UnicodeWarning': <class 'UnicodeWarning'>, 'UserWarning': <class 'UserWarning'>, 'ValueError': <class 'ValueError'>, 'Warning': <class 'Warning'>, 'ZeroDivisionError': <class 'ZeroDivisionError'>, '__build_class__': <built-in function __build_class__>, '__debug__': True, '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", '__import__': <built-in function __import__>, '__loader__': <class '_frozen_importlib.BuiltinImporter'>, '__name__': 'builtins', '__package__': '', '__spec__': ModuleSpec(name='builtins', loader=<class '_frozen_importlib.BuiltinImporter'>, origin='built-in'), 'abs': <built-in function abs>, 'all': <built-in function all>, 'any': <built-in function any>, 'ascii': <built-in function ascii>, 'bin': <built-in function bin>, 'bool': <class 'bool'>, 'breakpoint': <built-in function breakpoint>, 'bytearray': <class 'bytearray'>, 'bytes': <class 'bytes'>, 'callable': <built-in function callable>, 'chr': <built-in function chr>, 'classmethod': <class 'classmethod'>, 'compile': <built-in function compile>, 'complex': <class 'complex'>, 'copyright': Copyright (c) 2001-2023 Python Software Foundation. All Rights Reserved.  Copyright (c) 2000 BeOpen.com. All Rights Reserved.  Copyright (c) 1995-2001 Corporation for National Research Initiatives. All Rights Reserved.  Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All Rights Reserved., 'credits':     Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands     for supporting Python development.  See www.python.org for more information., 'delattr': <built-in function delattr>, 'dict': <class 'dict'>, 'dir': <built-in function dir>, 'divmod': <built-in function divmod>, 'enumerate': <class 'enumerate'>, 'eval': <built-in function eval>, 'exec': <built-in function exec>, 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'filter': <class 'filter'>, 'float': <class 'float'>, 'format': <built-in function format>, 'frozenset': <class 'frozenset'>, 'getattr': <built-in function getattr>, 'globals': <built-in function globals>, 'hasattr': <built-in function hasattr>, 'hash': <built-in function hash>, 'help': Type help() for interactive help, or help(object) for help about object., 'hex': <built-in function hex>, 'id': <built-in function id>, 'input': <built-in function input>, 'int': <class 'int'>, 'isinstance': <built-in function isinstance>, 'issubclass': <built-in function issubclass>, 'iter': <built-in function iter>, 'len': <built-in function len>, 'license': Type license() to see the full license text, 'list': <class 'list'>, 'locals': <built-in function locals>, 'map': <class 'map'>, 'max': <built-in function max>, 'memoryview': <class 'memoryview'>, 'min': <built-in function min>, 'next': <built-in function next>, 'object': <class 'object'>, 'oct': <built-in function oct>, 'open': <built-in function open>, 'ord': <built-in function ord>, 'pow': <built-in function pow>, 'print': <built-in function print>, 'property': <class 'property'>, 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'range': <class 'range'>, 'repr': <built-in function repr>, 'reversed': <class 'reversed'>, 'round': <built-in function round>, 'set': <class 'set'>, 'setattr': <built-in function setattr>, 'slice': <class 'slice'>, 'sorted': <built-in function sorted>, 'staticmethod': <class 'staticmethod'>, 'str': <class 'str'>, 'sum': <built-in function sum>, 'super': <class 'super'>, 'tuple': <class 'tuple'>, 'type': <class 'type'>, 'vars': <built-in function vars>, 'zip': <class 'zip'>}, '__cached__': '/home/user/src/kittycad/models/__pycache__/payment_method.cpython-39.pyc', '__doc__': <pydantic._internal._model_construction._PydanticWeakRef object>, '__file__': '/home/user/src/kittycad/models/payment_method.py', '__loader__': <pydantic._internal._model_construction._PydanticWeakRef object>, '__name__': 'kittycad.models.payment_method', '__package__': 'kittycad.models', '__spec__': <pydantic._internal._model_construction._PydanticWeakRef object>, 'datetime': <pydantic._internal._model_construction._PydanticWeakRef object>}[source]
__pydantic_post_init__: ClassVar[None | Literal['model_post_init']] = None[source]
__pydantic_private__: dict[str, Any] | None[source]
__pydantic_root_model__: ClassVar[bool] = False[source]
__pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model(     ModelSerializer {         class: Py(             0x0000555557427060,         ),         serializer: Fields(             GeneralFieldsSerializer {                 fields: {                     "card": SerField {                         key_py: Py(                             0x00007fffe0c13570,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007ffffff85420,                                         ),                                     ),                                     serializer: Nullable(                                         NullableSerializer {                                             serializer: Model(                                                 ModelSerializer {                                                     class: Py(                                                         0x0000555556c88ea0,                                                     ),                                                     serializer: Fields(                                                         GeneralFieldsSerializer {                                                             fields: {                                                                 "exp_month": SerField {                                                                     key_py: Py(                                                                         0x00007fffe13e90f0,                                                                     ),                                                                     alias: None,                                                                     alias_py: None,                                                                     serializer: Some(                                                                         WithDefault(                                                                             WithDefaultSerializer {                                                                                 default: Default(                                                                                     Py(                                                                                         0x00007ffffff85420,                                                                                     ),                                                                                 ),                                                                                 serializer: Nullable(                                                                                     NullableSerializer {                                                                                         serializer: Int(                                                                                             IntSerializer,                                                                                         ),                                                                                     },                                                                                 ),                                                                             },                                                                         ),                                                                     ),                                                                     required: true,                                                                 },                                                                 "fingerprint": SerField {                                                                     key_py: Py(                                                                         0x00007ffffd3d26b0,                                                                     ),                                                                     alias: None,                                                                     alias_py: None,                                                                     serializer: Some(                                                                         WithDefault(                                                                             WithDefaultSerializer {                                                                                 default: Default(                                                                                     Py(                                                                                         0x00007ffffff85420,                                                                                     ),                                                                                 ),                                                                                 serializer: Nullable(                                                                                     NullableSerializer {                                                                                         serializer: Str(                                                                                             StrSerializer,                                                                                         ),                                                                                     },                                                                                 ),                                                                             },                                                                         ),                                                                     ),                                                                     required: true,                                                                 },                                                                 "brand": SerField {                                                                     key_py: Py(                                                                         0x00007fffe15a81b0,                                                                     ),                                                                     alias: None,                                                                     alias_py: None,                                                                     serializer: Some(                                                                         WithDefault(                                                                             WithDefaultSerializer {                                                                                 default: Default(                                                                                     Py(                                                                                         0x00007ffffff85420,                                                                                     ),                                                                                 ),                                                                                 serializer: Nullable(                                                                                     NullableSerializer {                                                                                         serializer: Str(                                                                                             StrSerializer,                                                                                         ),                                                                                     },                                                                                 ),                                                                             },                                                                         ),                                                                     ),                                                                     required: true,                                                                 },                                                                 "last4": SerField {                                                                     key_py: Py(                                                                         0x00007fffe15a8170,                                                                     ),                                                                     alias: None,                                                                     alias_py: None,                                                                     serializer: Some(                                                                         WithDefault(                                                                             WithDefaultSerializer {                                                                                 default: Default(                                                                                     Py(                                                                                         0x00007ffffff85420,                                                                                     ),                                                                                 ),                                                                                 serializer: Nullable(                                                                                     NullableSerializer {                                                                                         serializer: Str(                                                                                             StrSerializer,                                                                                         ),                                                                                     },                                                                                 ),                                                                             },                                                                         ),                                                                     ),                                                                     required: true,                                                                 },                                                                 "funding": SerField {                                                                     key_py: Py(                                                                         0x00007fffe12f8f70,                                                                     ),                                                                     alias: None,                                                                     alias_py: None,                                                                     serializer: Some(                                                                         WithDefault(                                                                             WithDefaultSerializer {                                                                                 default: Default(                                                                                     Py(                                                                                         0x00007ffffff85420,                                                                                     ),                                                                                 ),                                                                                 serializer: Nullable(                                                                                     NullableSerializer {                                                                                         serializer: Str(                                                                                             StrSerializer,                                                                                         ),                                                                                     },                                                                                 ),                                                                             },                                                                         ),                                                                     ),                                                                     required: true,                                                                 },                                                                 "exp_year": SerField {                                                                     key_py: Py(                                                                         0x00007fffe13e93b0,                                                                     ),                                                                     alias: None,                                                                     alias_py: None,                                                                     serializer: Some(                                                                         WithDefault(                                                                             WithDefaultSerializer {                                                                                 default: Default(                                                                                     Py(                                                                                         0x00007ffffff85420,                                                                                     ),                                                                                 ),                                                                                 serializer: Nullable(                                                                                     NullableSerializer {                                                                                         serializer: Int(                                                                                             IntSerializer,                                                                                         ),                                                                                     },                                                                                 ),                                                                             },                                                                         ),                                                                     ),                                                                     required: true,                                                                 },                                                                 "checks": SerField {                                                                     key_py: Py(                                                                         0x00007fffe13e9930,                                                                     ),                                                                     alias: None,                                                                     alias_py: None,                                                                     serializer: Some(                                                                         WithDefault(                                                                             WithDefaultSerializer {                                                                                 default: Default(                                                                                     Py(                                                                                         0x00007ffffff85420,                                                                                     ),                                                                                 ),                                                                                 serializer: Nullable(                                                                                     NullableSerializer {                                                                                         serializer: Model(                                                                                             ModelSerializer {                                                                                                 class: Py(                                                                                                     0x0000555556c86280,                                                                                                 ),                                                                                                 serializer: Fields(                                                                                                     GeneralFieldsSerializer {                                                                                                         fields: {                                                                                                             "address_postal_code_check": SerField {                                                                                                                 key_py: Py(                                                                                                                     0x00007fffe131b670,                                                                                                                 ),                                                                                                                 alias: None,                                                                                                                 alias_py: None,                                                                                                                 serializer: Some(                                                                                                                     WithDefault(                                                                                                                         WithDefaultSerializer {                                                                                                                             default: Default(                                                                                                                                 Py(                                                                                                                                     0x00007ffffff85420,                                                                                                                                 ),                                                                                                                             ),                                                                                                                             serializer: Nullable(                                                                                                                                 NullableSerializer {                                                                                                                                     serializer: Str(                                                                                                                                         StrSerializer,                                                                                                                                     ),                                                                                                                                 },                                                                                                                             ),                                                                                                                         },                                                                                                                     ),                                                                                                                 ),                                                                                                                 required: true,                                                                                                             },                                                                                                             "address_line1_check": SerField {                                                                                                                 key_py: Py(                                                                                                                     0x00007fffe131b5d0,                                                                                                                 ),                                                                                                                 alias: None,                                                                                                                 alias_py: None,                                                                                                                 serializer: Some(                                                                                                                     WithDefault(                                                                                                                         WithDefaultSerializer {                                                                                                                             default: Default(                                                                                                                                 Py(                                                                                                                                     0x00007ffffff85420,                                                                                                                                 ),                                                                                                                             ),                                                                                                                             serializer: Nullable(                                                                                                                                 NullableSerializer {                                                                                                                                     serializer: Str(                                                                                                                                         StrSerializer,                                                                                                                                     ),                                                                                                                                 },                                                                                                                             ),                                                                                                                         },                                                                                                                     ),                                                                                                                 ),                                                                                                                 required: true,                                                                                                             },                                                                                                             "cvc_check": SerField {                                                                                                                 key_py: Py(                                                                                                                     0x00007fffe12f83b0,                                                                                                                 ),                                                                                                                 alias: None,                                                                                                                 alias_py: None,                                                                                                                 serializer: Some(                                                                                                                     WithDefault(                                                                                                                         WithDefaultSerializer {                                                                                                                             default: Default(                                                                                                                                 Py(                                                                                                                                     0x00007ffffff85420,                                                                                                                                 ),                                                                                                                             ),                                                                                                                             serializer: Nullable(                                                                                                                                 NullableSerializer {                                                                                                                                     serializer: Str(                                                                                                                                         StrSerializer,                                                                                                                                     ),                                                                                                                                 },                                                                                                                             ),                                                                                                                         },                                                                                                                     ),                                                                                                                 ),                                                                                                                 required: true,                                                                                                             },                                                                                                         },                                                                                                         computed_fields: Some(                                                                                                             ComputedFields(                                                                                                                 [],                                                                                                             ),                                                                                                         ),                                                                                                         mode: SimpleDict,                                                                                                         extra_serializer: None,                                                                                                         filter: SchemaFilter {                                                                                                             include: None,                                                                                                             exclude: None,                                                                                                         },                                                                                                         required_fields: 3,                                                                                                     },                                                                                                 ),                                                                                                 has_extra: false,                                                                                                 root_model: false,                                                                                                 name: "PaymentMethodCardChecks",                                                                                             },                                                                                         ),                                                                                     },                                                                                 ),                                                                             },                                                                         ),                                                                     ),                                                                     required: true,                                                                 },                                                                 "country": SerField {                                                                     key_py: Py(                                                                         0x00007fffe13d0d70,                                                                     ),                                                                     alias: None,                                                                     alias_py: None,                                                                     serializer: Some(                                                                         WithDefault(                                                                             WithDefaultSerializer {                                                                                 default: Default(                                                                                     Py(                                                                                         0x00007ffffff85420,                                                                                     ),                                                                                 ),                                                                                 serializer: Nullable(                                                                                     NullableSerializer {                                                                                         serializer: Str(                                                                                             StrSerializer,                                                                                         ),                                                                                     },                                                                                 ),                                                                             },                                                                         ),                                                                     ),                                                                     required: true,                                                                 },                                                             },                                                             computed_fields: Some(                                                                 ComputedFields(                                                                     [],                                                                 ),                                                             ),                                                             mode: SimpleDict,                                                             extra_serializer: None,                                                             filter: SchemaFilter {                                                                 include: None,                                                                 exclude: None,                                                             },                                                             required_fields: 8,                                                         },                                                     ),                                                     has_extra: false,                                                     root_model: false,                                                     name: "CardDetails",                                                 },                                             ),                                         },                                     ),                                 },                             ),                         ),                         required: true,                     },                     "billing_info": SerField {                         key_py: Py(                             0x00007fffe1c8d670,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Model(                                 ModelSerializer {                                     class: Py(                                         0x0000555556c80180,                                     ),                                     serializer: Fields(                                         GeneralFieldsSerializer {                                             fields: {                                                 "address": SerField {                                                     key_py: Py(                                                         0x00007fffff518c30,                                                     ),                                                     alias: None,                                                     alias_py: None,                                                     serializer: Some(                                                         WithDefault(                                                             WithDefaultSerializer {                                                                 default: Default(                                                                     Py(                                                                         0x00007ffffff85420,                                                                     ),                                                                 ),                                                                 serializer: Nullable(                                                                     NullableSerializer {                                                                         serializer: Model(                                                                             ModelSerializer {                                                                                 class: Py(                                                                                     0x0000555556c7a290,                                                                                 ),                                                                                 serializer: Fields(                                                                                     GeneralFieldsSerializer {                                                                                         fields: {                                                                                             "city": SerField {                                                                                                 key_py: Py(                                                                                                     0x00007ffffdea84f0,                                                                                                 ),                                                                                                 alias: None,                                                                                                 alias_py: None,                                                                                                 serializer: Some(                                                                                                     WithDefault(                                                                                                         WithDefaultSerializer {                                                                                                             default: Default(                                                                                                                 Py(                                                                                                                     0x00007ffffff85420,                                                                                                                 ),                                                                                                             ),                                                                                                             serializer: Nullable(                                                                                                                 NullableSerializer {                                                                                                                     serializer: Str(                                                                                                                         StrSerializer,                                                                                                                     ),                                                                                                                 },                                                                                                             ),                                                                                                         },                                                                                                     ),                                                                                                 ),                                                                                                 required: true,                                                                                             },                                                                                             "street1": SerField {                                                                                                 key_py: Py(                                                                                                     0x00007fffe13d0970,                                                                                                 ),                                                                                                 alias: None,                                                                                                 alias_py: None,                                                                                                 serializer: Some(                                                                                                     WithDefault(                                                                                                         WithDefaultSerializer {                                                                                                             default: Default(                                                                                                                 Py(                                                                                                                     0x00007ffffff85420,                                                                                                                 ),                                                                                                             ),                                                                                                             serializer: Nullable(                                                                                                                 NullableSerializer {                                                                                                                     serializer: Str(                                                                                                                         StrSerializer,                                                                                                                     ),                                                                                                                 },                                                                                                             ),                                                                                                         },                                                                                                     ),                                                                                                 ),                                                                                                 required: true,                                                                                             },                                                                                             "country": SerField {                                                                                                 key_py: Py(                                                                                                     0x00007fffe13d0d70,                                                                                                 ),                                                                                                 alias: None,                                                                                                 alias_py: None,                                                                                                 serializer: Some(                                                                                                     Str(                                                                                                         StrSerializer,                                                                                                     ),                                                                                                 ),                                                                                                 required: true,                                                                                             },                                                                                             "state": SerField {                                                                                                 key_py: Py(                                                                                                     0x00007fffff85f930,                                                                                                 ),                                                                                                 alias: None,                                                                                                 alias_py: None,                                                                                                 serializer: Some(                                                                                                     WithDefault(                                                                                                         WithDefaultSerializer {                                                                                                             default: Default(                                                                                                                 Py(                                                                                                                     0x00007ffffff85420,                                                                                                                 ),                                                                                                             ),                                                                                                             serializer: Nullable(                                                                                                                 NullableSerializer {                                                                                                                     serializer: Str(                                                                                                                         StrSerializer,                                                                                                                     ),                                                                                                                 },                                                                                                             ),                                                                                                         },                                                                                                     ),                                                                                                 ),                                                                                                 required: true,                                                                                             },                                                                                             "street2": SerField {                                                                                                 key_py: Py(                                                                                                     0x00007fffe1327130,                                                                                                 ),                                                                                                 alias: None,                                                                                                 alias_py: None,                                                                                                 serializer: Some(                                                                                                     WithDefault(                                                                                                         WithDefaultSerializer {                                                                                                             default: Default(                                                                                                                 Py(                                                                                                                     0x00007ffffff85420,                                                                                                                 ),                                                                                                             ),                                                                                                             serializer: Nullable(                                                                                                                 NullableSerializer {                                                                                                                     serializer: Str(                                                                                                                         StrSerializer,                                                                                                                     ),                                                                                                                 },                                                                                                             ),                                                                                                         },                                                                                                     ),                                                                                                 ),                                                                                                 required: true,                                                                                             },                                                                                             "user_id": SerField {                                                                                                 key_py: Py(                                                                                                     0x00007fffe137c730,                                                                                                 ),                                                                                                 alias: None,                                                                                                 alias_py: None,                                                                                                 serializer: Some(                                                                                                     Str(                                                                                                         StrSerializer,                                                                                                     ),                                                                                                 ),                                                                                                 required: true,                                                                                             },                                                                                             "zip": SerField {                                                                                                 key_py: Py(                                                                                                     0x00007fffff8ebf30,                                                                                                 ),                                                                                                 alias: None,                                                                                                 alias_py: None,                                                                                                 serializer: Some(                                                                                                     WithDefault(                                                                                                         WithDefaultSerializer {                                                                                                             default: Default(                                                                                                                 Py(                                                                                                                     0x00007ffffff85420,                                                                                                                 ),                                                                                                             ),                                                                                                             serializer: Nullable(                                                                                                                 NullableSerializer {                                                                                                                     serializer: Str(                                                                                                                         StrSerializer,                                                                                                                     ),                                                                                                                 },                                                                                                             ),                                                                                                         },                                                                                                     ),                                                                                                 ),                                                                                                 required: true,                                                                                             },                                                                                         },                                                                                         computed_fields: Some(                                                                                             ComputedFields(                                                                                                 [],                                                                                             ),                                                                                         ),                                                                                         mode: SimpleDict,                                                                                         extra_serializer: None,                                                                                         filter: SchemaFilter {                                                                                             include: None,                                                                                             exclude: None,                                                                                         },                                                                                         required_fields: 7,                                                                                     },                                                                                 ),                                                                                 has_extra: false,                                                                                 root_model: false,                                                                                 name: "NewAddress",                                                                             },                                                                         ),                                                                     },                                                                 ),                                                             },                                                         ),                                                     ),                                                     required: true,                                                 },                                                 "phone": SerField {                                                     key_py: Py(                                                         0x00007fffff0cec70,                                                     ),                                                     alias: None,                                                     alias_py: None,                                                     serializer: Some(                                                         WithDefault(                                                             WithDefaultSerializer {                                                                 default: Default(                                                                     Py(                                                                         0x00007ffffff85420,                                                                     ),                                                                 ),                                                                 serializer: Nullable(                                                                     NullableSerializer {                                                                         serializer: Str(                                                                             StrSerializer,                                                                         ),                                                                     },                                                                 ),                                                             },                                                         ),                                                     ),                                                     required: true,                                                 },                                                 "name": SerField {                                                     key_py: Py(                                                         0x00007fffff9521b0,                                                     ),                                                     alias: None,                                                     alias_py: None,                                                     serializer: Some(                                                         WithDefault(                                                             WithDefaultSerializer {                                                                 default: Default(                                                                     Py(                                                                         0x00007ffffff85420,                                                                     ),                                                                 ),                                                                 serializer: Nullable(                                                                     NullableSerializer {                                                                         serializer: Str(                                                                             StrSerializer,                                                                         ),                                                                     },                                                                 ),                                                             },                                                         ),                                                     ),                                                     required: true,                                                 },                                             },                                             computed_fields: Some(                                                 ComputedFields(                                                     [],                                                 ),                                             ),                                             mode: SimpleDict,                                             extra_serializer: None,                                             filter: SchemaFilter {                                                 include: None,                                                 exclude: None,                                             },                                             required_fields: 3,                                         },                                     ),                                     has_extra: false,                                     root_model: false,                                     name: "BillingInfo",                                 },                             ),                         ),                         required: true,                     },                     "id": SerField {                         key_py: Py(                             0x00007fffff8eb3b0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007ffffff85420,                                         ),                                     ),                                     serializer: Nullable(                                         NullableSerializer {                                             serializer: Str(                                                 StrSerializer,                                             ),                                         },                                     ),                                 },                             ),                         ),                         required: true,                     },                     "created_at": SerField {                         key_py: Py(                             0x00007fffe12ecdf0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             Datetime(                                 DatetimeSerializer,                             ),                         ),                         required: true,                     },                     "type": SerField {                         key_py: Py(                             0x00007fffff8ebef0,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             JsonOrPython(                                 JsonOrPythonSerializer {                                     json: Str(                                         StrSerializer,                                     ),                                     python: Any(                                         AnySerializer,                                     ),                                     name: "json-or-python[json=str, python=any]",                                 },                             ),                         ),                         required: true,                     },                     "metadata": SerField {                         key_py: Py(                             0x00007fffff760630,                         ),                         alias: None,                         alias_py: None,                         serializer: Some(                             WithDefault(                                 WithDefaultSerializer {                                     default: Default(                                         Py(                                             0x00007ffffff85420,                                         ),                                     ),                                     serializer: Nullable(                                         NullableSerializer {                                             serializer: Dict(                                                 DictSerializer {                                                     key_serializer: Str(                                                         StrSerializer,                                                     ),                                                     value_serializer: Str(                                                         StrSerializer,                                                     ),                                                     filter: SchemaFilter {                                                         include: None,                                                         exclude: None,                                                     },                                                     name: "dict[str, str]",                                                 },                                             ),                                         },                                     ),                                 },                             ),                         ),                         required: true,                     },                 },                 computed_fields: Some(                     ComputedFields(                         [],                     ),                 ),                 mode: SimpleDict,                 extra_serializer: None,                 filter: SchemaFilter {                     include: None,                     exclude: None,                 },                 required_fields: 6,             },         ),         has_extra: false,         root_model: false,         name: "PaymentMethod",     }, ), definitions=[])[source]
__pydantic_validator__: ClassVar[SchemaValidator] = SchemaValidator(title="PaymentMethod", validator=Model(     ModelValidator {         revalidate: Never,         validator: ModelFields(             ModelFieldsValidator {                 fields: [                     Field {                         name: "billing_info",                         lookup_key: Simple {                             key: "billing_info",                             py_key: Py(                                 0x00007fffe1c8d670,                             ),                             path: LookupPath(                                 [                                     S(                                         "billing_info",                                         Py(                                             0x00007fffe1c8d670,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fffe1c8d670,                         ),                         validator: Model(                             ModelValidator {                                 revalidate: Never,                                 validator: ModelFields(                                     ModelFieldsValidator {                                         fields: [                                             Field {                                                 name: "address",                                                 lookup_key: Simple {                                                     key: "address",                                                     py_key: Py(                                                         0x00007fffff518c30,                                                     ),                                                     path: LookupPath(                                                         [                                                             S(                                                                 "address",                                                                 Py(                                                                     0x00007fffff518c30,                                                                 ),                                                             ),                                                         ],                                                     ),                                                 },                                                 name_py: Py(                                                     0x00007fffff518c30,                                                 ),                                                 validator: WithDefault(                                                     WithDefaultValidator {                                                         default: Default(                                                             Py(                                                                 0x00007ffffff85420,                                                             ),                                                         ),                                                         on_error: Raise,                                                         validator: Nullable(                                                             NullableValidator {                                                                 validator: Model(                                                                     ModelValidator {                                                                         revalidate: Never,                                                                         validator: ModelFields(                                                                             ModelFieldsValidator {                                                                                 fields: [                                                                                     Field {                                                                                         name: "city",                                                                                         lookup_key: Simple {                                                                                             key: "city",                                                                                             py_key: Py(                                                                                                 0x00007ffffdea84f0,                                                                                             ),                                                                                             path: LookupPath(                                                                                                 [                                                                                                     S(                                                                                                         "city",                                                                                                         Py(                                                                                                             0x00007ffffdea84f0,                                                                                                         ),                                                                                                     ),                                                                                                 ],                                                                                             ),                                                                                         },                                                                                         name_py: Py(                                                                                             0x00007ffffdea84f0,                                                                                         ),                                                                                         validator: WithDefault(                                                                                             WithDefaultValidator {                                                                                                 default: Default(                                                                                                     Py(                                                                                                         0x00007ffffff85420,                                                                                                     ),                                                                                                 ),                                                                                                 on_error: Raise,                                                                                                 validator: Nullable(                                                                                                     NullableValidator {                                                                                                         validator: Str(                                                                                                             StrValidator {                                                                                                                 strict: false,                                                                                                                 coerce_numbers_to_str: false,                                                                                                             },                                                                                                         ),                                                                                                         name: "nullable[str]",                                                                                                     },                                                                                                 ),                                                                                                 validate_default: false,                                                                                                 copy_default: false,                                                                                                 name: "default[nullable[str]]",                                                                                             },                                                                                         ),                                                                                         frozen: false,                                                                                     },                                                                                     Field {                                                                                         name: "country",                                                                                         lookup_key: Simple {                                                                                             key: "country",                                                                                             py_key: Py(                                                                                                 0x00007fffe13d0d70,                                                                                             ),                                                                                             path: LookupPath(                                                                                                 [                                                                                                     S(                                                                                                         "country",                                                                                                         Py(                                                                                                             0x00007fffe13d0d70,                                                                                                         ),                                                                                                     ),                                                                                                 ],                                                                                             ),                                                                                         },                                                                                         name_py: Py(                                                                                             0x00007fffe13d0d70,                                                                                         ),                                                                                         validator: FunctionAfter(                                                                                             FunctionAfterValidator {                                                                                                 validator: Str(                                                                                                     StrValidator {                                                                                                         strict: false,                                                                                                         coerce_numbers_to_str: false,                                                                                                     },                                                                                                 ),                                                                                                 func: Py(                                                                                                     0x0000555556c79c90,                                                                                                 ),                                                                                                 config: Py(                                                                                                     0x00007fffe0b95ac0,                                                                                                 ),                                                                                                 name: "function-after[CountryCode(), str]",                                                                                                 field_name: None,                                                                                                 info_arg: false,                                                                                             },                                                                                         ),                                                                                         frozen: false,                                                                                     },                                                                                     Field {                                                                                         name: "state",                                                                                         lookup_key: Simple {                                                                                             key: "state",                                                                                             py_key: Py(                                                                                                 0x00007fffff85f930,                                                                                             ),                                                                                             path: LookupPath(                                                                                                 [                                                                                                     S(                                                                                                         "state",                                                                                                         Py(                                                                                                             0x00007fffff85f930,                                                                                                         ),                                                                                                     ),                                                                                                 ],                                                                                             ),                                                                                         },                                                                                         name_py: Py(                                                                                             0x00007fffff85f930,                                                                                         ),                                                                                         validator: WithDefault(                                                                                             WithDefaultValidator {                                                                                                 default: Default(                                                                                                     Py(                                                                                                         0x00007ffffff85420,                                                                                                     ),                                                                                                 ),                                                                                                 on_error: Raise,                                                                                                 validator: Nullable(                                                                                                     NullableValidator {                                                                                                         validator: Str(                                                                                                             StrValidator {                                                                                                                 strict: false,                                                                                                                 coerce_numbers_to_str: false,                                                                                                             },                                                                                                         ),                                                                                                         name: "nullable[str]",                                                                                                     },                                                                                                 ),                                                                                                 validate_default: false,                                                                                                 copy_default: false,                                                                                                 name: "default[nullable[str]]",                                                                                             },                                                                                         ),                                                                                         frozen: false,                                                                                     },                                                                                     Field {                                                                                         name: "street1",                                                                                         lookup_key: Simple {                                                                                             key: "street1",                                                                                             py_key: Py(                                                                                                 0x00007fffe13d0970,                                                                                             ),                                                                                             path: LookupPath(                                                                                                 [                                                                                                     S(                                                                                                         "street1",                                                                                                         Py(                                                                                                             0x00007fffe13d0970,                                                                                                         ),                                                                                                     ),                                                                                                 ],                                                                                             ),                                                                                         },                                                                                         name_py: Py(                                                                                             0x00007fffe13d0970,                                                                                         ),                                                                                         validator: WithDefault(                                                                                             WithDefaultValidator {                                                                                                 default: Default(                                                                                                     Py(                                                                                                         0x00007ffffff85420,                                                                                                     ),                                                                                                 ),                                                                                                 on_error: Raise,                                                                                                 validator: Nullable(                                                                                                     NullableValidator {                                                                                                         validator: Str(                                                                                                             StrValidator {                                                                                                                 strict: false,                                                                                                                 coerce_numbers_to_str: false,                                                                                                             },                                                                                                         ),                                                                                                         name: "nullable[str]",                                                                                                     },                                                                                                 ),                                                                                                 validate_default: false,                                                                                                 copy_default: false,                                                                                                 name: "default[nullable[str]]",                                                                                             },                                                                                         ),                                                                                         frozen: false,                                                                                     },                                                                                     Field {                                                                                         name: "street2",                                                                                         lookup_key: Simple {                                                                                             key: "street2",                                                                                             py_key: Py(                                                                                                 0x00007fffe1327130,                                                                                             ),                                                                                             path: LookupPath(                                                                                                 [                                                                                                     S(                                                                                                         "street2",                                                                                                         Py(                                                                                                             0x00007fffe1327130,                                                                                                         ),                                                                                                     ),                                                                                                 ],                                                                                             ),                                                                                         },                                                                                         name_py: Py(                                                                                             0x00007fffe1327130,                                                                                         ),                                                                                         validator: WithDefault(                                                                                             WithDefaultValidator {                                                                                                 default: Default(                                                                                                     Py(                                                                                                         0x00007ffffff85420,                                                                                                     ),                                                                                                 ),                                                                                                 on_error: Raise,                                                                                                 validator: Nullable(                                                                                                     NullableValidator {                                                                                                         validator: Str(                                                                                                             StrValidator {                                                                                                                 strict: false,                                                                                                                 coerce_numbers_to_str: false,                                                                                                             },                                                                                                         ),                                                                                                         name: "nullable[str]",                                                                                                     },                                                                                                 ),                                                                                                 validate_default: false,                                                                                                 copy_default: false,                                                                                                 name: "default[nullable[str]]",                                                                                             },                                                                                         ),                                                                                         frozen: false,                                                                                     },                                                                                     Field {                                                                                         name: "user_id",                                                                                         lookup_key: Simple {                                                                                             key: "user_id",                                                                                             py_key: Py(                                                                                                 0x00007fffe137c730,                                                                                             ),                                                                                             path: LookupPath(                                                                                                 [                                                                                                     S(                                                                                                         "user_id",                                                                                                         Py(                                                                                                             0x00007fffe137c730,                                                                                                         ),                                                                                                     ),                                                                                                 ],                                                                                             ),                                                                                         },                                                                                         name_py: Py(                                                                                             0x00007fffe137c730,                                                                                         ),                                                                                         validator: FunctionAfter(                                                                                             FunctionAfterValidator {                                                                                                 validator: Str(                                                                                                     StrValidator {                                                                                                         strict: false,                                                                                                         coerce_numbers_to_str: false,                                                                                                     },                                                                                                 ),                                                                                                 func: Py(                                                                                                     0x0000555556a23980,                                                                                                 ),                                                                                                 config: Py(                                                                                                     0x00007fffe0b95ac0,                                                                                                 ),                                                                                                 name: "function-after[Uuid(), str]",                                                                                                 field_name: None,                                                                                                 info_arg: false,                                                                                             },                                                                                         ),                                                                                         frozen: false,                                                                                     },                                                                                     Field {                                                                                         name: "zip",                                                                                         lookup_key: Simple {                                                                                             key: "zip",                                                                                             py_key: Py(                                                                                                 0x00007fffff8ebf30,                                                                                             ),                                                                                             path: LookupPath(                                                                                                 [                                                                                                     S(                                                                                                         "zip",                                                                                                         Py(                                                                                                             0x00007fffff8ebf30,                                                                                                         ),                                                                                                     ),                                                                                                 ],                                                                                             ),                                                                                         },                                                                                         name_py: Py(                                                                                             0x00007fffff8ebf30,                                                                                         ),                                                                                         validator: WithDefault(                                                                                             WithDefaultValidator {                                                                                                 default: Default(                                                                                                     Py(                                                                                                         0x00007ffffff85420,                                                                                                     ),                                                                                                 ),                                                                                                 on_error: Raise,                                                                                                 validator: Nullable(                                                                                                     NullableValidator {                                                                                                         validator: Str(                                                                                                             StrValidator {                                                                                                                 strict: false,                                                                                                                 coerce_numbers_to_str: false,                                                                                                             },                                                                                                         ),                                                                                                         name: "nullable[str]",                                                                                                     },                                                                                                 ),                                                                                                 validate_default: false,                                                                                                 copy_default: false,                                                                                                 name: "default[nullable[str]]",                                                                                             },                                                                                         ),                                                                                         frozen: false,                                                                                     },                                                                                 ],                                                                                 model_name: "NewAddress",                                                                                 extra_behavior: Ignore,                                                                                 extras_validator: None,                                                                                 strict: false,                                                                                 from_attributes: false,                                                                                 loc_by_alias: true,                                                                             },                                                                         ),                                                                         class: Py(                                                                             0x0000555556c7a290,                                                                         ),                                                                         post_init: None,                                                                         frozen: false,                                                                         custom_init: false,                                                                         root_model: false,                                                                         name: "NewAddress",                                                                     },                                                                 ),                                                                 name: "nullable[NewAddress]",                                                             },                                                         ),                                                         validate_default: false,                                                         copy_default: false,                                                         name: "default[nullable[NewAddress]]",                                                     },                                                 ),                                                 frozen: false,                                             },                                             Field {                                                 name: "name",                                                 lookup_key: Simple {                                                     key: "name",                                                     py_key: Py(                                                         0x00007fffff9521b0,                                                     ),                                                     path: LookupPath(                                                         [                                                             S(                                                                 "name",                                                                 Py(                                                                     0x00007fffff9521b0,                                                                 ),                                                             ),                                                         ],                                                     ),                                                 },                                                 name_py: Py(                                                     0x00007fffff9521b0,                                                 ),                                                 validator: WithDefault(                                                     WithDefaultValidator {                                                         default: Default(                                                             Py(                                                                 0x00007ffffff85420,                                                             ),                                                         ),                                                         on_error: Raise,                                                         validator: Nullable(                                                             NullableValidator {                                                                 validator: Str(                                                                     StrValidator {                                                                         strict: false,                                                                         coerce_numbers_to_str: false,                                                                     },                                                                 ),                                                                 name: "nullable[str]",                                                             },                                                         ),                                                         validate_default: false,                                                         copy_default: false,                                                         name: "default[nullable[str]]",                                                     },                                                 ),                                                 frozen: false,                                             },                                             Field {                                                 name: "phone",                                                 lookup_key: Simple {                                                     key: "phone",                                                     py_key: Py(                                                         0x00007fffff0cec70,                                                     ),                                                     path: LookupPath(                                                         [                                                             S(                                                                 "phone",                                                                 Py(                                                                     0x00007fffff0cec70,                                                                 ),                                                             ),                                                         ],                                                     ),                                                 },                                                 name_py: Py(                                                     0x00007fffff0cec70,                                                 ),                                                 validator: WithDefault(                                                     WithDefaultValidator {                                                         default: Default(                                                             Py(                                                                 0x00007ffffff85420,                                                             ),                                                         ),                                                         on_error: Raise,                                                         validator: Nullable(                                                             NullableValidator {                                                                 validator: Str(                                                                     StrValidator {                                                                         strict: false,                                                                         coerce_numbers_to_str: false,                                                                     },                                                                 ),                                                                 name: "nullable[str]",                                                             },                                                         ),                                                         validate_default: false,                                                         copy_default: false,                                                         name: "default[nullable[str]]",                                                     },                                                 ),                                                 frozen: false,                                             },                                         ],                                         model_name: "BillingInfo",                                         extra_behavior: Ignore,                                         extras_validator: None,                                         strict: false,                                         from_attributes: false,                                         loc_by_alias: true,                                     },                                 ),                                 class: Py(                                     0x0000555556c80180,                                 ),                                 post_init: None,                                 frozen: false,                                 custom_init: false,                                 root_model: false,                                 name: "BillingInfo",                             },                         ),                         frozen: false,                     },                     Field {                         name: "card",                         lookup_key: Simple {                             key: "card",                             py_key: Py(                                 0x00007fffe0c13570,                             ),                             path: LookupPath(                                 [                                     S(                                         "card",                                         Py(                                             0x00007fffe0c13570,                                         ),                                     ),                                 ],                             ),                         },                         name_py: Py(                             0x00007fffe0c13570,                         ),                         validator: WithDefault(                             WithDefaultValidator {                                 default: Default(                                     Py(                                         0x00007ffffff85420,                                     ),                                 ),                                 on_error: Raise,                                 validator: Nullable(                                     NullableValidator {                                         validator: Model(                                             ModelValidator {                                                 revalidate: Never,                                                 validator: ModelFields(                                                     ModelFieldsValidator {                                                         fields: [                                                             Field {                                                                 name: "brand",                                                                 lookup_key: Simple {                                                                     key: "brand",                                                                     py_key: Py(                                                                         0x00007fffe15a81b0,                                                                     ),                                                                     path: LookupPath(                                                                         [                                                                             S(                                                                                 "brand",                                                                                 Py(                                                                                     0x00007fffe15a81b0,                                                                                 ),                                                                             ),                                                                         ],                                                                     ),                                                                 },                                                                 name_py: Py(                                                                     0x00007fffe15a81b0,                                                                 ),                                                                 validator: WithDefault(                                                                     WithDefaultValidator {                                                                         default: Default(                                                                             Py(                                                                                 0x00007ffffff85420,                                                                             ),                                                                         ),                                                                         on_error: Raise,                                                                         validator: Nullable(                                                                             NullableValidator {                                                                                 validator: Str(                                                                                     StrValidator {                                                                                         strict: false,                                                                                         coerce_numbers_to_str: false,                                                                                     },                                                                                 ),                                                                                 name: "nullable[str]",                                                                             },                                                                         ),                                                                         validate_default: false,                                                                         copy_default: false,                                                                         name: "default[nullable[str]]",                                                                     },                                                                 ),                                                                 frozen: false,                                                             },                                                             Field {                                                                 name: "checks",                                                                 lookup_key: Simple {                                                                     key: "checks",                                                                     py_key: Py(                                                                         0x00007fffe13e9930,                                                                     ),                                                                     path: LookupPath(                                                                         [                                                                             S(                                                                                 "checks",                                                                                 Py(                                                                                     0x00007fffe13e9930,                                                                                 ),                                                                             ),                                                                         ],                                                                     ),                                                                 },                                                                 name_py: Py(                                                                     0x00007fffe13e9930,                                                                 ),                                                                 validator: WithDefault(                                                                     WithDefaultValidator {                                                                         default: Default(                                                                             Py(                                                                                 0x00007ffffff85420,                                                                             ),                                                                         ),                                                                         on_error: Raise,                                                                         validator: Nullable(                                                                             NullableValidator {                                                                                 validator: Model(                                                                                     ModelValidator {                                                                                         revalidate: Never,                                                                                         validator: ModelFields(                                                                                             ModelFieldsValidator {                                                                                                 fields: [                                                                                                     Field {                                                                                                         name: "address_line1_check",                                                                                                         lookup_key: Simple {                                                                                                             key: "address_line1_check",                                                                                                             py_key: Py(                                                                                                                 0x00007fffe131b5d0,                                                                                                             ),                                                                                                             path: LookupPath(                                                                                                                 [                                                                                                                     S(                                                                                                                         "address_line1_check",                                                                                                                         Py(                                                                                                                             0x00007fffe131b5d0,                                                                                                                         ),                                                                                                                     ),                                                                                                                 ],                                                                                                             ),                                                                                                         },                                                                                                         name_py: Py(                                                                                                             0x00007fffe131b5d0,                                                                                                         ),                                                                                                         validator: WithDefault(                                                                                                             WithDefaultValidator {                                                                                                                 default: Default(                                                                                                                     Py(                                                                                                                         0x00007ffffff85420,                                                                                                                     ),                                                                                                                 ),                                                                                                                 on_error: Raise,                                                                                                                 validator: Nullable(                                                                                                                     NullableValidator {                                                                                                                         validator: Str(                                                                                                                             StrValidator {                                                                                                                                 strict: false,                                                                                                                                 coerce_numbers_to_str: false,                                                                                                                             },                                                                                                                         ),                                                                                                                         name: "nullable[str]",                                                                                                                     },                                                                                                                 ),                                                                                                                 validate_default: false,                                                                                                                 copy_default: false,                                                                                                                 name: "default[nullable[str]]",                                                                                                             },                                                                                                         ),                                                                                                         frozen: false,                                                                                                     },                                                                                                     Field {                                                                                                         name: "address_postal_code_check",                                                                                                         lookup_key: Simple {                                                                                                             key: "address_postal_code_check",                                                                                                             py_key: Py(                                                                                                                 0x00007fffe131b670,                                                                                                             ),                                                                                                             path: LookupPath(                                                                                                                 [                                                                                                                     S(                                                                                                                         "address_postal_code_check",                                                                                                                         Py(                                                                                                                             0x00007fffe131b670,                                                                                                                         ),                                                                                                                     ),                                                                                                                 ],                                                                                                             ),                                                                                                         },                                                                                                         name_py: Py(                                                                                                             0x00007fffe131b670,                                                                                                         ),                                                                                                         validator: WithDefault(                                                                                                             WithDefaultValidator {                                                                                                                 default: Default(                                                                                                                     Py(                                                                                                                         0x00007ffffff85420,                                                                                                                     ),                                                                                                                 ),                                                                                                                 on_error: Raise,                                                                                                                 validator: Nullable(                                                                                                                     NullableValidator {                                                                                                                         validator: Str(                                                                                                                             StrValidator {                                                                                                                                 strict: false,                                                                                                                                 coerce_numbers_to_str: false,                                                                                                                             },                                                                                                                         ),                                                                                                                         name: "nullable[str]",                                                                                                                     },                                                                                                                 ),                                                                                                                 validate_default: false,                                                                                                                 copy_default: false,                                                                                                                 name: "default[nullable[str]]",                                                                                                             },                                                                                                         ),                                                                                                         frozen: false,                                                                                                     },                                                                                                     Field {                                                                                                         name: "cvc_check",                                                                                                         lookup_key: Simple {                                                                                                             key: "cvc_check",                                                                                                             py_key: Py(                                                                                                                 0x00007fffe12f83b0,                                                                                                             ),                                                                                                             path: LookupPath(                                                                                                                 [                                                                                                                     S(                                                                                                                         "cvc_check",                                                                                                                         Py(                                                                                                                             0x00007fffe12f83b0,                                                                                                                         ),                                                                                                                     ),                                                                                                                 ],                                                                                                             ),                                                                                                         },                                                                                                         name_py: Py(                                                                                                             0x00007fffe12f83b0,                                                                                                         ),                                                                                                         validator: WithDefault(                                                                                                             WithDefaultValidator {                                                                                                                 default: Default(                                                                                                                     Py(                                                                                                                         0x00007ffffff85420,                                                                                                                     ),                                                                                                                 ),                                                                                                                 on_error: Raise,                                                                                                                 validator: Nullable(                                                                                                                     NullableValidator {                                                                                                                         validator: Str(                                                                                                                             StrValidator {                                                                                                                                 strict: false,                                                                                                                                 coerce_numbers_to_str: false,                                                                                                                             },                                                                                                                         ),                                                                                                                         name: "nullable[str]",                                                                                                                     },                                                                                                                 ),                                                                                                                 validate_default: false,                                                                                                                 copy_default: false,                                                                                                                 name: "default[nullable[str]]",                                                                                                             },                                                                                                         ),                                                                                                         frozen: false,                                                                                                     },                                                                                                 ],                                                                                                 model_name: "PaymentMethodCardChecks",                                                                                                 extra_behavior: Ignore,                                                                                                 extras_validator: None,                                                                                                 strict: false,                                                                                                 from_attributes: false,                                                                                                 loc_by_alias: true,                                                                                             },                                                                                         ),                                                                                         class: Py(                                                                                             0x0000555556c86280,                                                                                         ),                                                                                         post_init: None,                                                                                         frozen: false,                                                                                         custom_init: false,                                                                                         root_model: false,                                                                                         name: "PaymentMethodCardChecks",                                                                                     },                                                                                 ),                                                                                 name: "nullable[PaymentMethodCardChecks]",                                                                             },                                                                         ),                                                                         validate_default: false,                                                                         copy_default: false,                                                                         name: "default[nullable[PaymentMethodCardChecks]]",                                                                     },                                                                 ),                                                                 frozen: false,                                                             },                                                             Field {                                                                 name: "country",                                                                 lookup_key: Simple {                                                                     key: "country",                                                                     py_key: Py(                                                                         0x00007fffe13d0d70,                                                                     ),                                                                     path: LookupPath(                                                                         [                                                                             S(                                                                                 "country",                                                                                 Py(                                                                                     0x00007fffe13d0d70,                                                                                 ),                                                                             ),                                                                         ],                                                                     ),                                                                 },                                                                 name_py: Py(                                                                     0x00007fffe13d0d70,                                                                 ),                                                                 validator: WithDefault(                                                                     WithDefaultValidator {                                                                         default: Default(                                                                             Py(                                                                                 0x00007ffffff85420,                                                                             ),                                                                         ),                                                                         on_error: Raise,                                                                         validator: Nullable(                                                                             NullableValidator {                                                                                 validator: Str(                                                                                     StrValidator {                                                                                         strict: false,                                                                                         coerce_numbers_to_str: false,                                                                                     },                                                                                 ),                                                                                 name: "nullable[str]",                                                                             },                                                                         ),                                                                         validate_default: false,                                                                         copy_default: false,                                                                         name: "default[nullable[str]]",                                                                     },                                                                 ),                                                                 frozen: false,                                                             },                                                             Field {                                                                 name: "exp_month",                                                                 lookup_key: Simple {                                                                     key: "exp_month",                                                                     py_key: Py(                                                                         0x00007fffe13e90f0,                                                                     ),                                                                     path: LookupPath(                                                                         [                                                                             S(                                                                                 "exp_month",                                                                                 Py(                                                                                     0x00007fffe13e90f0,                                                                                 ),                                                                             ),                                                                         ],                                                                     ),                                                                 },                                                                 name_py: Py(                                                                     0x00007fffe13e90f0,                                                                 ),                                                                 validator: WithDefault(                                                                     WithDefaultValidator {                                                                         default: Default(                                                                             Py(                                                                                 0x00007ffffff85420,                                                                             ),                                                                         ),                                                                         on_error: Raise,                                                                         validator: Nullable(                                                                             NullableValidator {                                                                                 validator: Int(                                                                                     IntValidator {                                                                                         strict: false,                                                                                     },                                                                                 ),                                                                                 name: "nullable[int]",                                                                             },                                                                         ),                                                                         validate_default: false,                                                                         copy_default: false,                                                                         name: "default[nullable[int]]",                                                                     },                                                                 ),                                                                 frozen: false,                                                             },                                                             Field {                                                                 name: "exp_year",                                                                 lookup_key: Simple {                                                                     key: "exp_year",                                                                     py_key: Py(                                                                         0x00007fffe13e93b0,                                                                     ),                                                                     path: LookupPath(                                                                         [                                                                             S(                                                                                 "exp_year",                                                                                 Py(                                                                              &