Item: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 1: | Line 1: | ||
= Item structure | {{PageTitle|title=Item structure}} | ||
This structure represents an included in a payment transaction. An item can describe a product or service. | This structure represents an included in a payment transaction. An item can describe a product or service. | ||
= Included in = | |||
Items are used in the following structures: | Items are used in the following structures: | ||
Line 9: | Line 9: | ||
* [[DetailedPaymentTransaction]] | * [[DetailedPaymentTransaction]] | ||
= Property list = | |||
{{api_input_table_header}} | {{api_input_table_header}} |
Revision as of 11:47, 3 February 2017
Item structure
This structure represents an included in a payment transaction. An item can describe a product or service.
Included in
Items are used in the following structures:
Property list
Property name | Property type | Limitations and constraints | Description |
---|---|---|---|
Name | string |
|
The short name of the item. This is shown to the payer on the Barion Smart Gateway. |
Description | string |
|
The detailed description of the item. This is NOT shown to the payer on the Barion Smart Gateway. |
ImageUrl | decimal |
|
A URL pointing to an image that shows the item. This is optional and available for UX purposes only. |
Quantity | decimal |
|
The total quantity of the item. |
Unit | string |
|
The measurement unit of the item. |
UnitPrice | decimal |
|
The price of one measurement unit of the item. |
ItemTotal | decimal |
|
The total price of the item. This is not necessarily equals Quanitity × UnitPrice . Pricing can be determined freely by the shop.
|
SKU | string |
|
The SKU value of the item in the shop's inventory system. |