kittycad.models.card_details.CardDetails

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]

Bases: object

The card details of a payment method.

Method generated by attrs for class CardDetails.

__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.

Methods

__init__([brand, checks, country, ...])

Method generated by attrs for class CardDetails.

from_dict(src_dict)

rtype:

TypeVar(N, bound= CardDetails)

to_dict()

rtype:

Dict[str, Any]

Attributes

additional_keys

brand

checks

country

exp_month

exp_year

fingerprint

funding

last4

additional_properties

__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]
__contains__(key)[source][source]
Return type:

bool

__delitem__(key)[source][source]
Return type:

None

__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]
__eq__(other)[source]

Method generated by attrs for class CardDetails.

__ge__(other)[source]

Method generated by attrs for class CardDetails.

__getitem__(key)[source][source]
Return type:

Any

__gt__(other)[source]

Method generated by attrs for class CardDetails.

__hash__ = None[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.

__le__(other)[source]

Method generated by attrs for class CardDetails.

__lt__(other)[source]

Method generated by attrs for class CardDetails.

__match_args__ = ('brand', 'checks', 'country', 'exp_month', 'exp_year', 'fingerprint', 'funding', 'last4')[source]
__module__ = 'kittycad.models.card_details'[source]
__ne__(other)[source]

Method generated by attrs for class CardDetails.

__repr__()[source]

Method generated by attrs for class CardDetails.

__setitem__(key, value)[source][source]
Return type:

None

property additional_keys: List[str][source]
additional_properties: Dict[str, Any][source]
brand: Union[Unset, str][source]
checks: Union[Unset, PaymentMethodCardChecks][source]
country: Union[Unset, str][source]
exp_month: Union[Unset, int][source]
exp_year: Union[Unset, int][source]
fingerprint: Union[Unset, str][source]
classmethod from_dict(src_dict)[source][source]
Return type:

TypeVar(N, bound= CardDetails)

funding: Union[Unset, str][source]
last4: Union[Unset, str][source]
to_dict()[source][source]
Return type:

Dict[str, Any]