Skip to content

Commit

Permalink
Rename the address type since it will likely be used for other purposes.
Browse files Browse the repository at this point in the history
We will most likely want to use the same type in other places. For
example, billing address with a card payment.
  • Loading branch information
adrianba committed May 17, 2016
1 parent 4da43cb commit 576550c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions specs/paymentrequest.html
Expand Up @@ -234,7 +234,7 @@ <h2>PaymentRequest interface</h2>
Promise&lt;PaymentResponse&gt; show();
void abort();

readonly attribute ShippingAddress? shippingAddress;
readonly attribute PaymentAddress? shippingAddress;
readonly attribute DOMString? shippingOption;

/* Supports "shippingaddresschange" event */
Expand Down Expand Up @@ -766,9 +766,9 @@ <h2>PaymentItem dictionary</h2>
</section>

<section>
<h2>ShippingAddress interface</h2>
<h2>PaymentAddress interface</h2>
<pre class="idl">
interface ShippingAddress {
interface PaymentAddress {
readonly attribute DOMString regionCode;
readonly attribute FrozenArray&lt;DOMString&gt; addressLine;
readonly attribute DOMString administrativeArea;
Expand Down Expand Up @@ -863,7 +863,7 @@ <h2>PaymentResponse interface</h2>
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;

Expand Down

0 comments on commit 576550c

Please sign in to comment.