kittycad.models.card_details
Classes
|
The card details of a payment method. |
- class kittycad.models.card_details.CardDetails(brand=<kittycad.types.Unset object>, checks=<kittycad.types.Unset object>, country=<kittycad.types.Unset object>, exp_month=<kittycad.types.Unset object>, exp_year=<kittycad.types.Unset object>, fingerprint=<kittycad.types.Unset object>, funding=<kittycad.types.Unset object>, last4=<kittycad.types.Unset object>)[source][source]
The card details of a payment method.
Method generated by attrs for class CardDetails.
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'brand': typing.Union[kittycad.types.Unset, str], 'checks': typing.Union[kittycad.types.Unset, kittycad.models.payment_method_card_checks.PaymentMethodCardChecks], 'country': typing.Union[kittycad.types.Unset, str], 'exp_month': typing.Union[kittycad.types.Unset, int], 'exp_year': typing.Union[kittycad.types.Unset, int], 'fingerprint': typing.Union[kittycad.types.Unset, str], 'funding': typing.Union[kittycad.types.Unset, str], 'last4': typing.Union[kittycad.types.Unset, str]}[source]
- __attrs_attrs__ = (Attribute(name='brand', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='brand'), Attribute(name='checks', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.payment_method_card_checks.PaymentMethodCardChecks], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='checks'), Attribute(name='country', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='country'), Attribute(name='exp_month', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, int], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='exp_month'), Attribute(name='exp_year', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, int], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='exp_year'), Attribute(name='fingerprint', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='fingerprint'), Attribute(name='funding', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='funding'), Attribute(name='last4', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='last4'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties'))[source]
- __dict__ = mappingproxy({'__module__': 'kittycad.models.card_details', '__annotations__': {'brand': typing.Union[kittycad.types.Unset, str], 'checks': typing.Union[kittycad.types.Unset, kittycad.models.payment_method_card_checks.PaymentMethodCardChecks], 'country': typing.Union[kittycad.types.Unset, str], 'exp_month': typing.Union[kittycad.types.Unset, int], 'exp_year': typing.Union[kittycad.types.Unset, int], 'fingerprint': typing.Union[kittycad.types.Unset, str], 'funding': typing.Union[kittycad.types.Unset, str], 'last4': typing.Union[kittycad.types.Unset, str], 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'The card details of a payment method.', 'to_dict': <function CardDetails.to_dict>, 'from_dict': <classmethod(<function CardDetails.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function CardDetails.__getitem__>, '__setitem__': <function CardDetails.__setitem__>, '__delitem__': <function CardDetails.__delitem__>, '__contains__': <function CardDetails.__contains__>, '__dict__': <attribute '__dict__' of 'CardDetails' objects>, '__weakref__': <attribute '__weakref__' of 'CardDetails' objects>, '__attrs_attrs__': (Attribute(name='brand', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='brand'), Attribute(name='checks', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.payment_method_card_checks.PaymentMethodCardChecks], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='checks'), Attribute(name='country', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='country'), Attribute(name='exp_month', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, int], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='exp_month'), Attribute(name='exp_year', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, int], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='exp_year'), Attribute(name='fingerprint', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='fingerprint'), Attribute(name='funding', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='funding'), Attribute(name='last4', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='last4'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties')), '__repr__': <function CardDetails.__repr__>, '__eq__': <function CardDetails.__eq__>, '__ne__': <function CardDetails.__ne__>, '__lt__': <function CardDetails.__lt__>, '__le__': <function CardDetails.__le__>, '__gt__': <function CardDetails.__gt__>, '__ge__': <function CardDetails.__ge__>, '__hash__': None, '__init__': <function CardDetails.__init__>, '__match_args__': ('brand', 'checks', 'country', 'exp_month', 'exp_year', 'fingerprint', 'funding', 'last4')})[source]
- __init__(brand=<kittycad.types.Unset object>, checks=<kittycad.types.Unset object>, country=<kittycad.types.Unset object>, exp_month=<kittycad.types.Unset object>, exp_year=<kittycad.types.Unset object>, fingerprint=<kittycad.types.Unset object>, funding=<kittycad.types.Unset object>, last4=<kittycad.types.Unset object>)[source]
Method generated by attrs for class CardDetails.
- __match_args__ = ('brand', 'checks', 'country', 'exp_month', 'exp_year', 'fingerprint', 'funding', 'last4')[source]
-
checks:
Union
[Unset
,PaymentMethodCardChecks
][source]