|
1
|
/** |
|
2
|
* @schema StoreRegion |
|
3
|
* type: object |
|
4
|
* description: The region's details. |
|
5
|
* x-schemaName: StoreRegion |
|
6
|
* required: |
|
7
|
* - id |
|
8
|
* - name |
|
9
|
* - currency_code |
|
10
|
* properties: |
|
11
|
* id: |
|
12
|
* type: string |
|
13
|
* title: id |
|
14
|
* description: The region's ID. |
|
15
|
* name: |
|
16
|
* type: string |
|
17
|
* title: name |
|
18
|
* description: The region's name. |
|
19
|
* currency_code: |
|
20
|
* type: string |
|
21
|
* title: currency_code |
|
22
|
* description: The region's currency code. |
|
23
|
* example: usd |
|
24
|
* automatic_taxes: |
|
25
|
* type: boolean |
|
26
|
* title: automatic_taxes |
|
27
|
* description: Whether taxes are calculated automatically during checkout for carts that belong to this region. |
|
28
|
* countries: |
|
29
|
* type: array |
|
30
|
* description: The region's countries. |
|
31
|
* items: |
|
32
|
* $ref: "#/components/schemas/BaseRegionCountry" |
|
33
|
* payment_providers: |
|
34
|
* type: array |
|
35
|
* description: The region's payment providers. |
|
36
|
* items: |
|
37
|
* $ref: "#/components/schemas/AdminPaymentProvider" |
|
38
|
* metadata: |
|
39
|
* type: object |
|
40
|
* description: The region's metadata, can hold custom key-value pairs. |
|
41
|
* externalDocs: |
|
42
|
* url: https://docs.medusajs.com/api/store#manage-metadata |
|
43
|
* description: Learn how to manage metadata |
|
44
|
* created_at: |
|
45
|
* type: string |
|
46
|
* format: date-time |
|
47
|
* title: created_at |
|
48
|
* description: The date the region was created. |
|
49
|
* updated_at: |
|
50
|
* type: string |
|
51
|
* format: date-time |
|
52
|
* title: updated_at |
|
53
|
* description: The date the region was updated. |
|
54
|
* |
|
55
|
*/ |
|
56
|
|