|
289 | 289 | "transactions": { |
290 | 290 | "type": "array", |
291 | 291 | "items": { |
292 | | - "salt": { |
293 | | - "type": "string", |
294 | | - "example": "KAC6ZRUacmQit98nFKOpjXgkwdC0Grzl" |
295 | | - }, |
296 | | - "merchant": { |
297 | | - "type": "string", |
298 | | - "example": "PUBLICTESTHUF" |
299 | | - }, |
300 | | - "orderRef": { |
301 | | - "$ref": "#/components/schemas/OrderRef" |
302 | | - }, |
303 | | - "currecy": { |
304 | | - "$ref": "#/components/schemas/Currency" |
305 | | - }, |
306 | | - "currecyEnum": { |
307 | | - "$ref": "#/components/schemas/Currency" |
308 | | - }, |
309 | | - "customer": { |
310 | | - "type": "string", |
311 | | - "example": "Guillaume Tell" |
312 | | - }, |
313 | | - "customerEmail": { |
314 | | - "type": "string", |
315 | | - "format": "email" |
316 | | - }, |
317 | | - "language": { |
318 | | - "$ref": "#/components/schemas/Language" |
319 | | - }, |
320 | | - "twoStep": { |
321 | | - "type": "boolean", |
322 | | - "default": false |
323 | | - }, |
324 | | - "total": { |
325 | | - "type": "number", |
326 | | - "example": 25.0 |
327 | | - }, |
328 | | - "items": { |
329 | | - "type": "array", |
| 292 | + "type": "object", |
| 293 | + "properties": { |
| 294 | + |
| 295 | + "salt": { |
| 296 | + "type": "string", |
| 297 | + "example": "KAC6ZRUacmQit98nFKOpjXgkwdC0Grzl" |
| 298 | + }, |
| 299 | + "merchant": { |
| 300 | + "type": "string", |
| 301 | + "example": "PUBLICTESTHUF" |
| 302 | + }, |
| 303 | + "orderRef": { |
| 304 | + "$ref": "#/components/schemas/OrderRef" |
| 305 | + }, |
| 306 | + "currecy": { |
| 307 | + "$ref": "#/components/schemas/Currency" |
| 308 | + }, |
| 309 | + "currecyEnum": { |
| 310 | + "$ref": "#/components/schemas/Currency" |
| 311 | + }, |
| 312 | + "customer": { |
| 313 | + "type": "string", |
| 314 | + "example": "Guillaume Tell" |
| 315 | + }, |
| 316 | + "customerEmail": { |
| 317 | + "type": "string", |
| 318 | + "format": "email" |
| 319 | + }, |
| 320 | + "language": { |
| 321 | + "$ref": "#/components/schemas/Language" |
| 322 | + }, |
| 323 | + "twoStep": { |
| 324 | + "type": "boolean", |
| 325 | + "default": false |
| 326 | + }, |
| 327 | + "total": { |
| 328 | + "type": "number", |
| 329 | + "example": 25.0 |
| 330 | + }, |
330 | 331 | "items": { |
331 | | - "ref": { |
332 | | - "type": "string", |
333 | | - "example": "SKU123" |
334 | | - }, |
335 | | - "title": { |
336 | | - "type": "string", |
337 | | - "example": "Sample Product" |
338 | | - }, |
339 | | - "amount": { |
340 | | - "type": "integer", |
341 | | - "description": "The quantity." |
342 | | - }, |
343 | | - "price": { |
344 | | - "type": "number", |
345 | | - "example": 25.0 |
346 | | - }, |
347 | | - "tax": { |
348 | | - "type": "number", |
349 | | - "minimum": 0 |
350 | | - }, |
351 | | - "grossUnitPrice": { |
352 | | - "type": "number", |
353 | | - "example": 25.0 |
354 | | - }, |
355 | | - "rowTotal": { |
356 | | - "type": "number", |
357 | | - "example": 25.0 |
| 332 | + "type": "array", |
| 333 | + "items": { |
| 334 | + "type": "object", |
| 335 | + "properties": { |
| 336 | + |
| 337 | + "ref": { |
| 338 | + "type": "string", |
| 339 | + "example": "SKU123" |
| 340 | + }, |
| 341 | + "title": { |
| 342 | + "type": "string", |
| 343 | + "example": "Sample Product" |
| 344 | + }, |
| 345 | + "amount": { |
| 346 | + "type": "integer", |
| 347 | + "description": "The quantity." |
| 348 | + }, |
| 349 | + "price": { |
| 350 | + "type": "number", |
| 351 | + "example": 25.0 |
| 352 | + }, |
| 353 | + "tax": { |
| 354 | + "type": "number", |
| 355 | + "minimum": 0 |
| 356 | + }, |
| 357 | + "grossUnitPrice": { |
| 358 | + "type": "number", |
| 359 | + "example": 25.0 |
| 360 | + }, |
| 361 | + "rowTotal": { |
| 362 | + "type": "number", |
| 363 | + "example": 25.0 |
| 364 | + } |
| 365 | + } |
358 | 366 | } |
359 | | - } |
360 | | - }, |
361 | | - "discount": { |
362 | | - "type": "number", |
363 | | - "example": 10.0 |
364 | | - }, |
365 | | - "shippingCost": { |
366 | | - "type": "number", |
367 | | - "example": 10.0 |
368 | | - }, |
369 | | - "invoice": { |
370 | | - "$ref": "#/components/schemas/Invoice" |
371 | | - }, |
372 | | - "delivery": { |
373 | | - "$ref": "#/components/schemas/Delivery" |
374 | | - }, |
375 | | - "transactionId": { |
376 | | - "$ref": "#/components/schemas/TransactionId" |
377 | | - }, |
378 | | - "status": { |
379 | | - "$ref": "#/components/schemas/Status" |
380 | | - }, |
381 | | - "resultCode": { |
382 | | - "type": "string", |
383 | | - "example": "OK" |
384 | | - }, |
385 | | - "refundStatus": { |
386 | | - "$ref": "#/components/schemas/RefundStatus" |
387 | | - }, |
388 | | - "refunds": { |
389 | | - "type": "array", |
390 | | - "items": { |
391 | | - "transactionId": { |
392 | | - "$ref": "#/components/schemas/TransactionId" |
393 | | - }, |
394 | | - "refundTotal": { |
395 | | - "type": "number", |
396 | | - "example": 25.0 |
397 | | - }, |
398 | | - "refundDate": { |
399 | | - "type": "string", |
400 | | - "description": "The ISO 8601 format of the refund date.", |
401 | | - "example": "2004-02-12T15:19:21+00:00" |
402 | | - }, |
403 | | - "status": { |
404 | | - "$ref": "#/components/schemas/Status" |
| 367 | + }, |
| 368 | + "discount": { |
| 369 | + "type": "number", |
| 370 | + "example": 10.0 |
| 371 | + }, |
| 372 | + "shippingCost": { |
| 373 | + "type": "number", |
| 374 | + "example": 10.0 |
| 375 | + }, |
| 376 | + "invoice": { |
| 377 | + "$ref": "#/components/schemas/Invoice" |
| 378 | + }, |
| 379 | + "delivery": { |
| 380 | + "$ref": "#/components/schemas/Delivery" |
| 381 | + }, |
| 382 | + "transactionId": { |
| 383 | + "$ref": "#/components/schemas/TransactionId" |
| 384 | + }, |
| 385 | + "status": { |
| 386 | + "$ref": "#/components/schemas/Status" |
| 387 | + }, |
| 388 | + "resultCode": { |
| 389 | + "type": "string", |
| 390 | + "example": "OK" |
| 391 | + }, |
| 392 | + "refundStatus": { |
| 393 | + "$ref": "#/components/schemas/RefundStatus" |
| 394 | + }, |
| 395 | + "refunds": { |
| 396 | + "type": "array", |
| 397 | + "items": { |
| 398 | + "type": "object", |
| 399 | + "properties": { |
| 400 | + |
| 401 | + "transactionId": { |
| 402 | + "$ref": "#/components/schemas/TransactionId" |
| 403 | + }, |
| 404 | + "refundTotal": { |
| 405 | + "type": "number", |
| 406 | + "example": 25.0 |
| 407 | + }, |
| 408 | + "refundDate": { |
| 409 | + "type": "string", |
| 410 | + "description": "The ISO 8601 format of the refund date.", |
| 411 | + "example": "2004-02-12T15:19:21+00:00" |
| 412 | + }, |
| 413 | + "status": { |
| 414 | + "$ref": "#/components/schemas/Status" |
| 415 | + } |
| 416 | + } |
405 | 417 | } |
| 418 | + }, |
| 419 | + "remainingTotal": { |
| 420 | + "type": "number", |
| 421 | + "example": 25.0 |
| 422 | + }, |
| 423 | + "paymentDate": { |
| 424 | + "type": "string", |
| 425 | + "description": "The ISO 8601 format of the payment date.", |
| 426 | + "example": "2004-02-12T15:19:21+00:00" |
| 427 | + }, |
| 428 | + "method": { |
| 429 | + "$ref": "#/components/schemas/Method" |
406 | 430 | } |
407 | | - }, |
408 | | - "remainingTotal": { |
409 | | - "type": "number", |
410 | | - "example": 25.0 |
411 | | - }, |
412 | | - "paymentDate": { |
413 | | - "type": "string", |
414 | | - "description": "The ISO 8601 format of the payment date.", |
415 | | - "example": "2004-02-12T15:19:21+00:00" |
416 | | - }, |
417 | | - "method": { |
418 | | - "$ref": "#/components/schemas/Method" |
419 | 431 | } |
420 | 432 | } |
421 | 433 | }, |
|
0 commit comments