kittycad.models.customer.Customer

class kittycad.models.customer.Customer(address=<kittycad.types.Unset object>, balance=<kittycad.types.Unset object>, created_at=<kittycad.types.Unset object>, currency=<kittycad.types.Unset object>, delinquent=False, email=<kittycad.types.Unset object>, id=<kittycad.types.Unset object>, metadata=<kittycad.types.Unset object>, name=<kittycad.types.Unset object>, phone=<kittycad.types.Unset object>)[source][source]

Bases: object

The resource representing a payment “Customer”.

Method generated by attrs for class Customer.

__init__(address=<kittycad.types.Unset object>, balance=<kittycad.types.Unset object>, created_at=<kittycad.types.Unset object>, currency=<kittycad.types.Unset object>, delinquent=False, email=<kittycad.types.Unset object>, id=<kittycad.types.Unset object>, metadata=<kittycad.types.Unset object>, name=<kittycad.types.Unset object>, phone=<kittycad.types.Unset object>)[source]

Method generated by attrs for class Customer.

Methods

__init__([address, balance, created_at, ...])

Method generated by attrs for class Customer.

from_dict(src_dict)

rtype:

TypeVar(US, bound= Customer)

to_dict()

rtype:

Dict[str, Any]

Attributes

additional_keys

address

balance

created_at

currency

delinquent

email

id

metadata

name

phone

additional_properties

__annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'address': typing.Union[kittycad.types.Unset, kittycad.models.new_address.NewAddress], 'balance': typing.Union[kittycad.types.Unset, float], 'created_at': typing.Union[kittycad.types.Unset, datetime.datetime], 'currency': typing.Union[kittycad.types.Unset, kittycad.models.currency.Currency], 'delinquent': typing.Union[kittycad.types.Unset, bool], 'email': typing.Union[kittycad.types.Unset, str], 'id': typing.Union[kittycad.types.Unset, str], 'metadata': typing.Union[kittycad.types.Unset, typing.Any], 'name': typing.Union[kittycad.types.Unset, str], 'phone': typing.Union[kittycad.types.Unset, str]}[source]
__attrs_attrs__ = (Attribute(name='address', 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.new_address.NewAddress], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='address'), Attribute(name='balance', 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, float], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='balance'), 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='currency', 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.currency.Currency], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='currency'), Attribute(name='delinquent', default=False, 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, bool], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='delinquent'), Attribute(name='email', 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='email'), 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='name', 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='name'), Attribute(name='phone', 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='phone'), 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.customer', '__annotations__': {'address': typing.Union[kittycad.types.Unset, kittycad.models.new_address.NewAddress], 'balance': typing.Union[kittycad.types.Unset, float], 'created_at': typing.Union[kittycad.types.Unset, datetime.datetime], 'currency': typing.Union[kittycad.types.Unset, kittycad.models.currency.Currency], 'delinquent': typing.Union[kittycad.types.Unset, bool], 'email': typing.Union[kittycad.types.Unset, str], 'id': typing.Union[kittycad.types.Unset, str], 'metadata': typing.Union[kittycad.types.Unset, typing.Any], 'name': typing.Union[kittycad.types.Unset, str], 'phone': typing.Union[kittycad.types.Unset, str], 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'The resource representing a payment "Customer".', 'to_dict': <function Customer.to_dict>, 'from_dict': <classmethod(<function Customer.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function Customer.__getitem__>, '__setitem__': <function Customer.__setitem__>, '__delitem__': <function Customer.__delitem__>, '__contains__': <function Customer.__contains__>, '__dict__': <attribute '__dict__' of 'Customer' objects>, '__weakref__': <attribute '__weakref__' of 'Customer' objects>, '__attrs_attrs__': (Attribute(name='address', 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.new_address.NewAddress], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='address'), Attribute(name='balance', 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, float], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='balance'), 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='currency', 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.currency.Currency], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='currency'), Attribute(name='delinquent', default=False, 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, bool], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='delinquent'), Attribute(name='email', 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='email'), 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='name', 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='name'), Attribute(name='phone', 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='phone'), 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 Customer.__repr__>, '__eq__': <function Customer.__eq__>, '__ne__': <function Customer.__ne__>, '__lt__': <function Customer.__lt__>, '__le__': <function Customer.__le__>, '__gt__': <function Customer.__gt__>, '__ge__': <function Customer.__ge__>, '__hash__': None, '__init__': <function Customer.__init__>, '__match_args__': ('address', 'balance', 'created_at', 'currency', 'delinquent', 'email', 'id', 'metadata', 'name', 'phone')})[source]
__eq__(other)[source]

Method generated by attrs for class Customer.

__ge__(other)[source]

Method generated by attrs for class Customer.

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

Any

__gt__(other)[source]

Method generated by attrs for class Customer.

__hash__ = None[source]
__init__(address=<kittycad.types.Unset object>, balance=<kittycad.types.Unset object>, created_at=<kittycad.types.Unset object>, currency=<kittycad.types.Unset object>, delinquent=False, email=<kittycad.types.Unset object>, id=<kittycad.types.Unset object>, metadata=<kittycad.types.Unset object>, name=<kittycad.types.Unset object>, phone=<kittycad.types.Unset object>)[source]

Method generated by attrs for class Customer.

__le__(other)[source]

Method generated by attrs for class Customer.

__lt__(other)[source]

Method generated by attrs for class Customer.

__match_args__ = ('address', 'balance', 'created_at', 'currency', 'delinquent', 'email', 'id', 'metadata', 'name', 'phone')[source]
__module__ = 'kittycad.models.customer'[source]
__ne__(other)[source]

Method generated by attrs for class Customer.

__repr__()[source]

Method generated by attrs for class Customer.

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

None

property additional_keys: List[str][source]
additional_properties: Dict[str, Any][source]
address: Union[Unset, NewAddress][source]
balance: Union[Unset, float][source]
created_at: Union[Unset, datetime][source]
currency: Union[Unset, Currency][source]
delinquent: Union[Unset, bool][source]
email: Union[Unset, str][source]
classmethod from_dict(src_dict)[source][source]
Return type:

TypeVar(US, bound= Customer)

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

Dict[str, Any]