|
1
|
/** |
|
2
|
* @schema StoreStoreCreditAccount |
|
3
|
* type: object |
|
4
|
* description: The store credit account's details. |
|
5
|
* x-schemaName: StoreStoreCreditAccount |
|
6
|
* required: |
|
7
|
* - customer |
|
8
|
* - id |
|
9
|
* - currency_code |
|
10
|
* - credits |
|
11
|
* - debits |
|
12
|
* - balance |
|
13
|
* - metadata |
|
14
|
* - created_at |
|
15
|
* - updated_at |
|
16
|
* properties: |
|
17
|
* customer: |
|
18
|
* $ref: "#/components/schemas/StoreCustomer" |
|
19
|
* id: |
|
20
|
* type: string |
|
21
|
* title: id |
|
22
|
* description: The store credit account's ID. |
|
23
|
* customer_id: |
|
24
|
* type: string |
|
25
|
* title: customer_id |
|
26
|
* description: The ID of the customer that the store credit account belongs to. |
|
27
|
* currency_code: |
|
28
|
* type: string |
|
29
|
* title: currency_code |
|
30
|
* description: The store credit account's currency code. |
|
31
|
* example: usd |
|
32
|
* credits: |
|
33
|
* type: number |
|
34
|
* title: credits |
|
35
|
* description: The account's credits. |
|
36
|
* debits: |
|
37
|
* type: number |
|
38
|
* title: debits |
|
39
|
* description: The account's debits. |
|
40
|
* balance: |
|
41
|
* type: number |
|
42
|
* title: balance |
|
43
|
* description: The store credit account's balance. |
|
44
|
* metadata: |
|
45
|
* type: object |
|
46
|
* description: The store credit account's metadata, can hold custom key-value pairs. |
|
47
|
* externalDocs: |
|
48
|
* url: https://docs.medusajs.com/api/store#manage-metadata |
|
49
|
* description: Learn how to manage metadata |
|
50
|
* created_at: |
|
51
|
* type: string |
|
52
|
* format: date-time |
|
53
|
* title: created_at |
|
54
|
* description: The date the store credit account was created. |
|
55
|
* updated_at: |
|
56
|
* type: string |
|
57
|
* format: date-time |
|
58
|
* title: updated_at |
|
59
|
* description: The date the store credit account was updated. |
|
60
|
* code: |
|
61
|
* type: string |
|
62
|
* title: code |
|
63
|
* description: The store credit account's code. |
|
64
|
* |
|
65
|
*/ |
|
66
|
|