kittycad.models.payment_method.PaymentMethod

class kittycad.models.payment_method.PaymentMethod(billing_info=<kittycad.types.Unset object>, card=<kittycad.types.Unset object>, created_at=<kittycad.types.Unset object>, id=<kittycad.types.Unset object>, metadata=<kittycad.types.Unset object>, type=<kittycad.types.Unset object>)[source][source]

Bases: object

A payment method.

Method generated by attrs for class PaymentMethod.

__init__(billing_info=<kittycad.types.Unset object>, card=<kittycad.types.Unset object>, created_at=<kittycad.types.Unset object>, id=<kittycad.types.Unset object>, metadata=<kittycad.types.Unset object>, type=<kittycad.types.Unset object>)[source]

Method generated by attrs for class PaymentMethod.

Methods

__init__([billing_info, card, created_at, ...])

Method generated by attrs for class PaymentMethod.

from_dict(src_dict)

rtype:

TypeVar(XL, bound= PaymentMethod)

to_dict()

rtype:

Dict[str, Any]

Attributes

additional_keys

billing_info

card

created_at

id

metadata

type

additional_properties

__annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'billing_info': typing.Union[kittycad.types.Unset, kittycad.models.billing_info.BillingInfo], 'card': typing.Union[kittycad.types.Unset, kittycad.models.card_details.CardDetails], 'created_at': typing.Union[kittycad.types.Unset, datetime.datetime], 'id': typing.Union[kittycad.types.Unset, str], 'metadata': typing.Union[kittycad.types.Unset, typing.Any], 'type': typing.Union[kittycad.types.Unset, kittycad.models.payment_method_type.PaymentMethodType]}[source]
__attrs_attrs__ = (Attribute(name='billing_info', 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.billing_info.BillingInfo], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='billing_info'), Attribute(name='card', 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.card_details.CardDetails], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='card'), Attribute(name='created_at', 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, datetime.datetime], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='created_at'), Attribute(name='id', 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='id'), Attribute(name='metadata', 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, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='metadata'), Attribute(name='type', 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_type.PaymentMethodType], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), 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.payment_method', '__annotations__': {'billing_info': typing.Union[kittycad.types.Unset, kittycad.models.billing_info.BillingInfo], 'card': typing.Union[kittycad.types.Unset, kittycad.models.card_details.CardDetails], 'created_at': typing.Union[kittycad.types.Unset, datetime.datetime], 'id': typing.Union[kittycad.types.Unset, str], 'metadata': typing.Union[kittycad.types.Unset, typing.Any], 'type': typing.Union[kittycad.types.Unset, kittycad.models.payment_method_type.PaymentMethodType], 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'A payment method.', 'to_dict': <function PaymentMethod.to_dict>, 'from_dict': <classmethod(<function PaymentMethod.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function PaymentMethod.__getitem__>, '__setitem__': <function PaymentMethod.__setitem__>, '__delitem__': <function PaymentMethod.__delitem__>, '__contains__': <function PaymentMethod.__contains__>, '__dict__': <attribute '__dict__' of 'PaymentMethod' objects>, '__weakref__': <attribute '__weakref__' of 'PaymentMethod' objects>, '__attrs_attrs__': (Attribute(name='billing_info', 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.billing_info.BillingInfo], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='billing_info'), Attribute(name='card', 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.card_details.CardDetails], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='card'), Attribute(name='created_at', 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, datetime.datetime], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='created_at'), Attribute(name='id', 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='id'), Attribute(name='metadata', 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, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='metadata'), Attribute(name='type', 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_type.PaymentMethodType], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), 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 PaymentMethod.__repr__>, '__eq__': <function PaymentMethod.__eq__>, '__ne__': <function PaymentMethod.__ne__>, '__lt__': <function PaymentMethod.__lt__>, '__le__': <function PaymentMethod.__le__>, '__gt__': <function PaymentMethod.__gt__>, '__ge__': <function PaymentMethod.__ge__>, '__hash__': None, '__init__': <function PaymentMethod.__init__>, '__match_args__': ('billing_info', 'card', 'created_at', 'id', 'metadata', 'type')})[source]
__eq__(other)[source]

Method generated by attrs for class PaymentMethod.

__ge__(other)[source]

Method generated by attrs for class PaymentMethod.

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

Any

__gt__(other)[source]

Method generated by attrs for class PaymentMethod.

__hash__ = None[source]
__init__(billing_info=<kittycad.types.Unset object>, card=<kittycad.types.Unset object>, created_at=<kittycad.types.Unset object>, id=<kittycad.types.Unset object>, metadata=<kittycad.types.Unset object>, type=<kittycad.types.Unset object>)[source]

Method generated by attrs for class PaymentMethod.

__le__(other)[source]

Method generated by attrs for class PaymentMethod.

__lt__(other)[source]

Method generated by attrs for class PaymentMethod.

__match_args__ = ('billing_info', 'card', 'created_at', 'id', 'metadata', 'type')[source]
__module__ = 'kittycad.models.payment_method'[source]
__ne__(other)[source]

Method generated by attrs for class PaymentMethod.

__repr__()[source]

Method generated by attrs for class PaymentMethod.

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

None

property additional_keys: List[str][source]
additional_properties: Dict[str, Any][source]
billing_info: Union[Unset, BillingInfo][source]
card: Union[Unset, CardDetails][source]
created_at: Union[Unset, datetime][source]
classmethod from_dict(src_dict)[source][source]
Return type:

TypeVar(XL, bound= PaymentMethod)

id: Union[Unset, str][source]
metadata: Union[Unset, Any][source]
to_dict()[source][source]
Return type:

Dict[str, Any]

type: Union[Unset, PaymentMethodType][source]