Re: [w3c/payment-handler] Add userHint to PaymentManager (#206)

Something like this?

````webidl
dictionary KeyPaymentInstrument : PaymentInstrument {
    required DOMString             key;
};
interface PaymentInstruments {
    Promise<boolean>             delete(DOMString instrumentKey);
    Promise<PaymentInstrument>   get(DOMString instrumentKey);
    Promise<sequence<DOMString>> keys();
    Promise<boolean>             has(DOMString instrumentKey);
    Promise<void>                update(DOMString instrumentKey,
                                        PaymentInstrument details);
    Promise<void>                set(sequence<KeyPaymentInstrument> details);
    Promise<void>                clear();
};
````

-- 
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-325021707

Received on Friday, 25 August 2017 20:02:21 UTC