You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: asyncapi-cli/src/main/java/io/ballerina/asyncapi/codegenerator/usecase/GenerateModuleMemberDeclarationNode.java
Copy file name to clipboardexpand all lines: asyncapi-cli/src/test/java/io/ballerina/asyncapi/codegenerator/usecase/GenerateModuleMemberDeclarationNodeTest.java
+58
Original file line number
Diff line number
Diff line change
@@ -171,4 +171,62 @@ public void testGenerateWithInvalidNumberFormat() throws BallerinaAsyncApiExcept
description: The ID of the order, used for API purposes. This is different from the order_number property, which is the ID used by the shop owner and customer.
9
+
x-nullable: true
10
+
email:
11
+
type: string
12
+
description: The customer's email address.
13
+
x-nullable: true
14
+
confirmed:
15
+
type: boolean
16
+
description: Confirmation status
17
+
x-nullable: true
18
+
rate:
19
+
type: number
20
+
description: The rate of tax to be applied.
21
+
x-nullable: true
22
+
tax_lines:
23
+
type: array
24
+
items:
25
+
$ref: '#/components/schemas/TaxLine'
26
+
description: An array of tax line objects, each of which details a tax applicable to the order. When creating an order through the API, tax lines can be specified on the order or the line items but not both. Tax lines specified on the order are split across the taxable line items in the created order.
27
+
x-nullable: true
28
+
total_price_set:
29
+
$ref: '#/components/schemas/TotalPriceSet'
30
+
x-nullable: true
31
+
total_tax_set:
32
+
type: object
33
+
properties:
34
+
shop_money:
35
+
$ref: '#/components/schemas/Price'
36
+
presentment_money:
37
+
$ref: '#/components/schemas/Price'
38
+
x-nullable: true
39
+
description: The total tax applied to the order in shop and presentment currencies.
40
+
x-nullable: true
41
+
TaxLine:
42
+
type: object
43
+
properties:
44
+
price:
45
+
type: string
46
+
description: The amount of tax to be charged in the shop currency.
47
+
x-nullable: false
48
+
rate:
49
+
type: number
50
+
description: The rate of tax to be applied.
51
+
title:
52
+
type: string
53
+
description: The name of the tax.
54
+
x-nullable: true
55
+
channel_liable:
56
+
type: boolean
57
+
description: Whether the channel that submitted the tax line is liable for remitting. A value of null indicates unknown liability for the tax line.
58
+
description: Tax line object, which details a tax applicable to the order.
59
+
TotalPriceSet:
60
+
type: object
61
+
properties:
62
+
shop_money:
63
+
$ref: '#/components/schemas/Price'
64
+
presentment_money:
65
+
$ref: '#/components/schemas/Price'
66
+
description: The total price of the order in shop and presentment currencies.
67
+
Price:
68
+
type: object
69
+
properties:
70
+
amount:
71
+
type: string
72
+
description: The variant's price or compare-at price in the presentment currency.
73
+
currency_code:
74
+
type: string
75
+
description: The three-letter code (ISO 4217 format) for one of the shop's enabled presentment currencies.
0 commit comments