Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 1.3 KB

ItemInput.md

File metadata and controls

37 lines (28 loc) · 1.3 KB

ItemInput

An item that the customer is purchasing.

Properties

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

Example

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)

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