An item that the customer is purchasing.
Name | Type | Description | Notes |
---|---|---|---|
name | str | The name of the item. | |
price | MoneyInput | ||
price_with_tax | MoneyInput | [optional] | |
quantity | str | The quantity of the item being purchased. | |
restriction | ItemRestriction | [optional] | |
sku | str | Stock keeping unit - the unique identifier for the item. | |
tax | MoneyInput | [optional] | |
total | MoneyInput |
from openapi_client.models.item_input import ItemInput
# TODO update the JSON string below
json = "{}"
# create an instance of ItemInput from a JSON string
item_input_instance = ItemInput.from_json(json)
# print the JSON string representation of the object
print(ItemInput.to_json())
# convert the object into a dict
item_input_dict = item_input_instance.to_dict()
# create an instance of ItemInput from a dict
item_input_from_dict = ItemInput.from_dict(item_input_dict)