- From: Rouslan Solomakhin <notifications@github.com>
- Date: Fri, 25 Aug 2017 13:32:29 -0700
- To: w3c/payment-handler <payment-handler@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 25 August 2017 20:33:12 UTC
> Why?
I'm not sure how familiar the folks are with the "insert before" paradigm. If do go with it, I'd prefer to augment the current `set()` method instead:
```webidl
interface PaymentInstruments {
...
Promise<void> set(DOMString instrumentKey,
PaymentInstrument details,
DOMString? instrumentKeyBefore);
};
```
If the `instrumentKeyBefore` is not provided, then `details` is inserted at the end of the ordered map.
--
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-handler/pull/206#issuecomment-325027706
Received on Friday, 25 August 2017 20:33:12 UTC