1 /**
2 * @schema BaseOrderSummary
3 * type: object
4 * description: The order's summary details.
5 * x-schemaName: BaseOrderSummary
6 * required:
7 * - pending_difference
8 * - current_order_total
9 * - original_order_total
10 * - transaction_total
11 * - paid_total
12 * - refunded_total
13 * - accounting_total
14 * properties:
15 * paid_total:
16 * type: number
17 * title: paid_total
18 * description: The total amount paid.
19 * refunded_total:
20 * type: number
21 * title: refunded_total
22 * description: The total amount refunded.
23 * pending_difference:
24 * type: number
25 * title: pending_difference
26 * description: The difference pending to be processed. If negative, the customer needs a refund. Otherwise, additional payment is required from the customer.
27 * current_order_total:
28 * type: number
29 * title: current_order_total
30 * description: The order's current total, could be the total after a change in the order.
31 * original_order_total:
32 * type: number
33 * title: original_order_total
34 * description: The order's original total.
35 * transaction_total:
36 * type: number
37 * title: transaction_total
38 * description: The total of the transactions made on the order.
39 * accounting_total:
40 * type: number
41 * title: accounting_total
42 * description: The order's total without the credit-line total.
43 *
44 */
45