Skip to content

Commit 5f7544d

Browse files
authored
Merge branch 'main' into CHK-4672-add-post-payment-methods
2 parents 0313bac + 35617b1 commit 5f7544d

File tree

5 files changed

+199
-4
lines changed

5 files changed

+199
-4
lines changed

src/domains/ecommerce-app/api/ecommerce-checkout/v1/_auth_request.xml.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
}
9696
9797
// cards or apm -> ecommerce with NPG request
98-
} else if ( detailType == "cards" || detailType == "apm"){
98+
} else if ( detailType == "cards" || detailType == "apm" || detailType == "wallet"){
9999
100100
pgsId = "NPG";
101101

src/domains/ecommerce-app/api/ecommerce-checkout/v2/_openapi.json.tpl

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1524,6 +1524,54 @@
15241524
"type": "integer",
15251525
"format": "int64"
15261526
},
1527+
"language": {
1528+
"type": "string",
1529+
"description": "The user language",
1530+
"enum": [
1531+
"IT",
1532+
"EN",
1533+
"FR",
1534+
"DE",
1535+
"SL"
1536+
]
1537+
},
1538+
"sortBy": {
1539+
"type": "string",
1540+
"enum": [
1541+
"NAME",
1542+
"DESCRIPTION",
1543+
"FEE"
1544+
]
1545+
},
1546+
"sortOrder": {
1547+
"type": "string",
1548+
"enum": [
1549+
"ASC",
1550+
"DESC"
1551+
]
1552+
},
1553+
"priorityGroups": {
1554+
"type": "array",
1555+
"items": {
1556+
"type": "string",
1557+
"enum": [
1558+
"CP",
1559+
"MYBK",
1560+
"BPAY",
1561+
"PPAL",
1562+
"RPIC",
1563+
"RBPS",
1564+
"SATY",
1565+
"APPL",
1566+
"RICO",
1567+
"RBPB",
1568+
"RBPP",
1569+
"RBPR",
1570+
"GOOG",
1571+
"KLRN"
1572+
]
1573+
}
1574+
},
15271575
"paymentNotice": {
15281576
"type": "array",
15291577
"items": {

src/domains/ecommerce-app/api/ecommerce-checkout/v4/_openapi.json.tpl

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,54 @@
134134
"type": "integer",
135135
"format": "int64"
136136
},
137+
"language": {
138+
"type": "string",
139+
"description": "The user language",
140+
"enum": [
141+
"IT",
142+
"EN",
143+
"FR",
144+
"DE",
145+
"SL"
146+
]
147+
},
148+
"sortBy": {
149+
"type": "string",
150+
"enum": [
151+
"NAME",
152+
"DESCRIPTION",
153+
"FEE"
154+
]
155+
},
156+
"sortOrder": {
157+
"type": "string",
158+
"enum": [
159+
"ASC",
160+
"DESC"
161+
]
162+
},
163+
"priorityGroups": {
164+
"type": "array",
165+
"items": {
166+
"type": "string",
167+
"enum": [
168+
"CP",
169+
"MYBK",
170+
"BPAY",
171+
"PPAL",
172+
"RPIC",
173+
"RBPS",
174+
"SATY",
175+
"APPL",
176+
"RICO",
177+
"RBPB",
178+
"RBPP",
179+
"RBPR",
180+
"GOOG",
181+
"KLRN"
182+
]
183+
}
184+
},
137185
"paymentNotice": {
138186
"type": "array",
139187
"items": {

src/domains/ecommerce-app/api/ecommerce-io/v3/_openapi.json.tpl

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,54 @@
161161
"type": "integer",
162162
"format": "int64"
163163
},
164+
"language": {
165+
"type": "string",
166+
"description": "The user language",
167+
"enum": [
168+
"IT",
169+
"EN",
170+
"FR",
171+
"DE",
172+
"SL"
173+
]
174+
},
175+
"sortBy": {
176+
"type": "string",
177+
"enum": [
178+
"NAME",
179+
"DESCRIPTION",
180+
"FEE"
181+
]
182+
},
183+
"sortOrder": {
184+
"type": "string",
185+
"enum": [
186+
"ASC",
187+
"DESC"
188+
]
189+
},
190+
"priorityGroups": {
191+
"type": "array",
192+
"items": {
193+
"type": "string",
194+
"enum": [
195+
"CP",
196+
"MYBK",
197+
"BPAY",
198+
"PPAL",
199+
"RPIC",
200+
"RBPS",
201+
"SATY",
202+
"APPL",
203+
"RICO",
204+
"RBPB",
205+
"RBPP",
206+
"RBPR",
207+
"GOOG",
208+
"KLRN"
209+
]
210+
}
211+
},
164212
"paymentNotice": {
165213
"type": "array",
166214
"items": {

src/domains/ecommerce-app/api/ecommerce-payment-methods-handler/v1/_openapi.json.tpl

Lines changed: 54 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -225,13 +225,64 @@
225225
},
226226
"targetKey": {
227227
"type": "string"
228+
},
229+
"deviceVersion": {
230+
"type": "string",
231+
"description": "The user device version"
232+
},
233+
"language": {
234+
"type": "string",
235+
"description": "The user language",
236+
"enum": [
237+
"IT",
238+
"EN",
239+
"FR",
240+
"DE",
241+
"SL"
242+
]
243+
},
244+
"sortBy": {
245+
"type": "string",
246+
"enum": [
247+
"NAME",
248+
"DESCRIPTION",
249+
"FEE"
250+
]
251+
},
252+
"sortOrder": {
253+
"type": "string",
254+
"enum": [
255+
"ASC",
256+
"DESC"
257+
]
258+
},
259+
"priorityGroups": {
260+
"type": "array",
261+
"items": {
262+
"type": "string",
263+
"enum": [
264+
"CP",
265+
"MYBK",
266+
"BPAY",
267+
"PPAL",
268+
"RPIC",
269+
"RBPS",
270+
"SATY",
271+
"APPL",
272+
"RICO",
273+
"RBPB",
274+
"RBPP",
275+
"RBPR",
276+
"GOOG",
277+
"KLRN"
278+
]
279+
}
228280
}
229281
}
230282
},
231283
"PaymentNoticeItem": {
232284
"required": [
233-
"paymentAmount",
234-
"primaryCreditorInstitution"
285+
"paymentAmount"
235286
],
236287
"type": "object",
237288
"properties": {
@@ -453,4 +504,4 @@
453504
}
454505
}
455506
}
456-
}
507+
}

0 commit comments

Comments
 (0)