|
1 /* This Source Code Form is subject to the terms of the Mozilla Public |
|
2 * License, v. 2.0. If a copy of the MPL was not distributed with this file, |
|
3 * You can obtain one at http://mozilla.org/MPL/2.0/. */ |
|
4 |
|
5 #include "nsISupports.idl" |
|
6 |
|
7 [scriptable, uuid(560cc17c-9df5-49ea-a953-b175553ef5c4)] |
|
8 interface nsIPaymentFlowInfo : nsISupports |
|
9 { |
|
10 // Payment provider uri. |
|
11 attribute DOMString uri; |
|
12 |
|
13 // Base64 encoded and digitally signed payment request information. |
|
14 attribute DOMString jwt; |
|
15 |
|
16 // Payment providers expect the payment information as GET or POST |
|
17 // parameters. |
|
18 attribute DOMString requestMethod; |
|
19 }; |