|
1
|
/** |
|
2
|
* @schema AdminGiftCard |
|
3
|
* type: object |
|
4
|
* description: The gift card's details. |
|
5
|
* x-schemaName: AdminGiftCard |
|
6
|
* required: |
|
7
|
* - line_item |
|
8
|
* - customer |
|
9
|
* - id |
|
10
|
* - customer_id |
|
11
|
* - currency_code |
|
12
|
* - status |
|
13
|
* - created_at |
|
14
|
* - updated_at |
|
15
|
* - reference |
|
16
|
* - reference_id |
|
17
|
* - value |
|
18
|
* - code |
|
19
|
* - note |
|
20
|
* - expires_at |
|
21
|
* properties: |
|
22
|
* line_item: |
|
23
|
* $ref: "#/components/schemas/AdminOrderLineItem" |
|
24
|
* customer: |
|
25
|
* $ref: "#/components/schemas/AdminCustomer" |
|
26
|
* id: |
|
27
|
* type: string |
|
28
|
* title: id |
|
29
|
* description: The gift card's ID. |
|
30
|
* code: |
|
31
|
* type: string |
|
32
|
* title: code |
|
33
|
* description: The gift card's code. |
|
34
|
* status: |
|
35
|
* type: string |
|
36
|
* description: The gift card's status. |
|
37
|
* enum: |
|
38
|
* - pending |
|
39
|
* - redeemed |
|
40
|
* value: |
|
41
|
* type: number |
|
42
|
* title: value |
|
43
|
* description: The gift card's amount. |
|
44
|
* currency_code: |
|
45
|
* type: string |
|
46
|
* title: currency_code |
|
47
|
* description: The gift card's currency code. |
|
48
|
* example: usd |
|
49
|
* customer_id: |
|
50
|
* type: string |
|
51
|
* title: customer_id |
|
52
|
* description: The ID of the customer associated with the gift card. |
|
53
|
* reference_id: |
|
54
|
* type: string |
|
55
|
* title: reference_id |
|
56
|
* description: The gift card's reference ID. |
|
57
|
* note: |
|
58
|
* type: string |
|
59
|
* title: note |
|
60
|
* description: The gift card's note. |
|
61
|
* reference: |
|
62
|
* type: string |
|
63
|
* title: reference |
|
64
|
* description: The gift card's reference. |
|
65
|
* expires_at: |
|
66
|
* type: string |
|
67
|
* title: expires_at |
|
68
|
* description: The date the gift card expires at. |
|
69
|
* created_at: |
|
70
|
* type: string |
|
71
|
* format: date-time |
|
72
|
* title: created_at |
|
73
|
* description: The date the gift card was created at. |
|
74
|
* updated_at: |
|
75
|
* type: string |
|
76
|
* format: date-time |
|
77
|
* title: updated_at |
|
78
|
* description: The date the gift card was updated at. |
|
79
|
* |
|
80
|
*/ |
|
81
|
|