From 168c203669e3a0b67f737e6f87e27c12e878b3e2 Mon Sep 17 00:00:00 2001 From: Ade Bateman Date: Thu, 12 May 2016 08:55:50 -0700 Subject: [PATCH] Rename the address type since it will likely be used for other purposes. We will most likely want to use the same type in other places. For example, billing address with a card payment. --- specs/paymentrequest.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/specs/paymentrequest.html b/specs/paymentrequest.html index 93b44e3a..38dffe00 100644 --- a/specs/paymentrequest.html +++ b/specs/paymentrequest.html @@ -234,7 +234,7 @@

PaymentRequest interface

Promise<PaymentResponse> show(); void abort(); - readonly attribute ShippingAddress? shippingAddress; + readonly attribute PaymentAddress? shippingAddress; readonly attribute DOMString? shippingOption; /* Supports "shippingaddresschange" event */ @@ -766,9 +766,9 @@

PaymentItem dictionary

-

ShippingAddress interface

+

PaymentAddress interface

-        interface ShippingAddress {
+        interface PaymentAddress {
           readonly attribute DOMString regionCode;
           readonly attribute FrozenArray<DOMString> addressLine;
           readonly attribute DOMString administrativeArea;
@@ -863,7 +863,7 @@ 

PaymentResponse interface

interface PaymentResponse { readonly attribute DOMString methodName; readonly attribute object details; - readonly attribute ShippingAddress? shippingAddress; + readonly attribute PaymentAddress? shippingAddress; readonly attribute DOMString? payerEmail; readonly attribute DOMString? payerPhone;