kittycad.models.payment_method
Classes
|
A payment method. |
- 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]
A payment method.
Method generated by attrs for class PaymentMethod.
- __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]
- __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]
- __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.
-
billing_info:
Union
[Unset
,BillingInfo
][source]
-
card:
Union
[Unset
,CardDetails
][source]
-
type:
Union
[Unset
,PaymentMethodType
][source]