Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 975 Bytes

File metadata and controls

34 lines (25 loc) · 975 Bytes

Customer

Properties

Name Type Description Notes
id str RUC, Cédula, or Passport
id_type str
name str
email str [optional]
address str [optional]
phone str [optional]

Example

from ecuapi.models.customer import Customer

# TODO update the JSON string below
json = "{}"
# create an instance of Customer from a JSON string
customer_instance = Customer.from_json(json)
# print the JSON string representation of the object
print(Customer.to_json())

# convert the object into a dict
customer_dict = customer_instance.to_dict()
# create an instance of Customer from a dict
customer_from_dict = Customer.from_dict(customer_dict)

[Back to Model list] [Back to API list] [Back to README]