def create(self, order_id, price_total, qty_total, products: list, customer: dict): return Create._create(self, data=dict(order_id=order_id, price_total=price_total, qty_total=qty_total, products=products, customer=customer))
def create(self, device_id, device_id_1, customer_id, customer_first_name, customer_last_name, customer_email, customer_date_created=str(datetime.datetime.now())): return Create._create(self, data=dict( device_id=device_id, device_id_1=device_id_1, customer_id=customer_id, customer_first_name=customer_first_name, customer_last_name=customer_last_name, customer_email=customer_email, customer_date_created=customer_date_created))
def __init__(self, api_key, api_url): Create.__init__(self, api_key=api_key, api_url=api_url, event_name=__class__.__name__)
def create(self, user_agent, products: list, customer): return Create._create(self, data=dict(user_agent=user_agent, products=products, customer=customer))
def create(self, orders: list): return Create._create(self, data=dict(orders=orders))
def create(self, date_created, diagnostic_type, description, status): return Create._create(self, data=dict(date_created=date_created, diagnostic_type=diagnostic_type, description=description, status=status))