|
1
|
/** |
|
2
|
* @schema BaseCalculatedPriceSet |
|
3
|
* type: object |
|
4
|
* description: The calculated price's details. |
|
5
|
* x-schemaName: BaseCalculatedPriceSet |
|
6
|
* required: |
|
7
|
* - id |
|
8
|
* - calculated_amount |
|
9
|
* - original_amount |
|
10
|
* - original_amount_with_tax |
|
11
|
* - original_amount_without_tax |
|
12
|
* - currency_code |
|
13
|
* properties: |
|
14
|
* id: |
|
15
|
* type: string |
|
16
|
* title: id |
|
17
|
* description: The calculated price's ID. |
|
18
|
* is_calculated_price_price_list: |
|
19
|
* type: boolean |
|
20
|
* title: is_calculated_price_price_list |
|
21
|
* description: Whether the calculated price belongs to a price list. |
|
22
|
* is_calculated_price_tax_inclusive: |
|
23
|
* type: boolean |
|
24
|
* title: is_calculated_price_tax_inclusive |
|
25
|
* description: Whether the calculated price is tax inclusive. |
|
26
|
* calculated_amount: |
|
27
|
* type: number |
|
28
|
* title: calculated_amount |
|
29
|
* description: The amount of the calculated price, or `null` if there isn't a calculated 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: The amount of the original price, or `null` if there isn't an original price. This amount is useful to compare with the `calculated_amount`, such as to check for discounted value. |
|
50
|
* currency_code: |
|
51
|
* type: string |
|
52
|
* title: currency_code |
|
53
|
* description: The calculated price's currency code. |
|
54
|
* example: usd |
|
55
|
* calculated_price: |
|
56
|
* type: object |
|
57
|
* description: The calculated price's details. |
|
58
|
* original_price: |
|
59
|
* type: object |
|
60
|
* description: The original price's details. |
|
61
|
* original_amount_with_tax: |
|
62
|
* type: number |
|
63
|
* title: original_amount_with_tax |
|
64
|
* description: The amount of the original price with taxes applied. |
|
65
|
* original_amount_without_tax: |
|
66
|
* type: number |
|
67
|
* title: original_amount_without_tax |
|
68
|
* description: The amount of the original price without taxes. |
|
69
|
* |
|
70
|
*/ |
|
71
|
|