Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 1.31 KB

Item.md

File metadata and controls

39 lines (30 loc) · 1.31 KB

Item

List of items that the customer is purchasing.

Properties

Name Type Description Notes
created_at datetime The datetime when the item was created.
id str The unique ID for the item.
name str The name of the item.
price Money
price_with_tax Money [optional]
quantity str The quantity of the item being purchased.
restriction ItemRestriction
sku str Stock keeping unit - the unique identifier for the item.
tax Money [optional]
total Money

Example

from openapi_client.models.item import Item

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

# convert the object into a dict
item_dict = item_instance.to_dict()
# create an instance of Item from a dict
item_from_dict = Item.from_dict(item_dict)

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