Typ obiektowyAdditionalCost
An additional cost charged on an order or one of its products, for example design work or express handling.
Pola
| Pole | Typ | Opis |
|---|---|---|
amount | Float! | Net amount of the cost, in the order currency. Wymaga zakresu |
category | AdditionalCostCategory | Kind of cost; null when not categorised. |
createdAt | DateTime! | When the cost was added. |
description | String | Longer description of the cost; null when empty. |
id | ID! | Identifier of the additional cost (UUID). |
isClientVisible | Boolean! | True when the cost is shown to the client (for example on the order summary). |
name | String! | Name of the cost, as shown on documents. |
orderId | ID | Identifier of the order the cost is charged on. |
productId | ID | Identifier of the product the cost is charged on; null for a cost of the whole order. |
sortOrder | Int! | Position of the cost among the costs of the order, from 0. |
taxRate | Float! | VAT rate as a fraction, for example |