diff --git a/index.html b/index.html index 811b0726..af60f7fc 100644 --- a/index.html +++ b/index.html @@ -206,8 +206,12 @@

PaymentRequest interface

-        [Constructor(sequence<PaymentMethodData> methodData, PaymentDetails details, optional PaymentOptions options),
-        SecureContext]
+        [Constructor(
+          optional DOMString paymentRequestID, 
+          sequence<PaymentMethodData> methodData, 
+          PaymentDetails details, 
+          optional PaymentOptions options
+         ), SecureContext]
         interface PaymentRequest : EventTarget {
           Promise<PaymentResponse> show();
           Promise<void> abort();
@@ -277,7 +281,7 @@ 

Constructor

- The PaymentRequest is constructed using the supplied + The PaymentRequest is constructed using the supplied paymentRequestID, methodData list including any payment method specific data, the payment details, and the payment options. The @@ -556,6 +560,8 @@

  • Let request be a new PaymentRequest.
  • +
  • Set request.[[\paymentRequestID]] to paymentRequestID. +
  • Set request.[[\options]] to options.
  • Set request.[[\state]] to created. @@ -842,6 +848,14 @@

    Description (non-normative) + + + [[\paymentRequestID]] + + + The paymentRequestID supplied or generated during construction. + + [[\serializedMethodData]]