- From: Adrian Hope-Bailie <notifications@github.com>
- Date: Tue, 05 Dec 2017 04:10:37 -0800
- To: w3c/payment-request <payment-request@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 5 December 2017 12:11:20 UTC
The ideal solution is probably too big a change at this stage (making `PaymentDetailsInit.total` a `sequence<PaymentItem>`) so perhaps the following would suffice:
```idl
dictionary PaymentItem {
required DOMString label;
required PaymentCurrencyAmount amount;
boolean pending = false;
boolean subTotal = false;
};
```
If `subTotal` is `true` this indicates to the browser that the item should be grouped with the total.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/payment-request/issues/163#issuecomment-349286068
Received on Tuesday, 5 December 2017 12:11:20 UTC