|
1
|
type: object |
|
2
|
description: The calculated price's details. |
|
3
|
x-schemaName: BaseCalculatedPriceSet |
|
4
|
required: |
|
5
|
- id |
|
6
|
- calculated_amount |
|
7
|
- original_amount |
|
8
|
- original_amount_with_tax |
|
9
|
- original_amount_without_tax |
|
10
|
- currency_code |
|
11
|
properties: |
|
12
|
id: |
|
13
|
type: string |
|
14
|
title: id |
|
15
|
description: The calculated price's ID. |
|
16
|
is_calculated_price_price_list: |
|
17
|
type: boolean |
|
18
|
title: is_calculated_price_price_list |
|
19
|
description: Whether the calculated price belongs to a price list. |
|
20
|
is_calculated_price_tax_inclusive: |
|
21
|
type: boolean |
|
22
|
title: is_calculated_price_tax_inclusive |
|
23
|
description: Whether the calculated price is tax inclusive. |
|
24
|
calculated_amount: |
|
25
|
type: number |
|
26
|
title: calculated_amount |
|
27
|
description: >- |
|
28
|
The amount of the calculated price, or `null` if there isn't a calculated |
|
29
|
price. This is the amount shown to the customer. |
|
30
|
calculated_amount_with_tax: |
|
31
|
type: number |
|
32
|
title: calculated_amount_with_tax |
|
33
|
description: The calculated price's amount with taxes applied. |
|
34
|
calculated_amount_without_tax: |
|
35
|
type: number |
|
36
|
title: calculated_amount_without_tax |
|
37
|
description: The calculated price's amount without taxes applied. |
|
38
|
is_original_price_price_list: |
|
39
|
type: boolean |
|
40
|
title: is_original_price_price_list |
|
41
|
description: Whether the original price belongs to a price list. |
|
42
|
is_original_price_tax_inclusive: |
|
43
|
type: boolean |
|
44
|
title: is_original_price_tax_inclusive |
|
45
|
description: Whether the original price is tax inclusive. |
|
46
|
original_amount: |
|
47
|
type: number |
|
48
|
title: original_amount |
|
49
|
description: >- |
|
50
|
The amount of the original price, or `null` if there isn't an original |
|
51
|
price. This amount is useful to compare with the `calculated_amount`, such |
|
52
|
as to check for discounted value. |
|
53
|
currency_code: |
|
54
|
type: string |
|
55
|
title: currency_code |
|
56
|
description: The calculated price's currency code. |
|
57
|
example: usd |
|
58
|
calculated_price: |
|
59
|
type: object |
|
60
|
description: The calculated price's details. |
|
61
|
original_price: |
|
62
|
type: object |
|
63
|
description: The original price's details. |
|
64
|
original_amount_with_tax: |
|
65
|
type: number |
|
66
|
title: original_amount_with_tax |
|
67
|
description: The amount of the original price with taxes applied. |
|
68
|
original_amount_without_tax: |
|
69
|
type: number |
|
70
|
title: original_amount_without_tax |
|
71
|
description: The amount of the original price without taxes. |