From 6537d123af649cb3ad4edc681e6b7dc00362cd64 Mon Sep 17 00:00:00 2001 From: adamroach Date: Mon, 16 May 2016 16:30:56 -0500 Subject: [PATCH 1/2] Adding careOf field Proposal for issue #186 --- specs/paymentrequest.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/specs/paymentrequest.html b/specs/paymentrequest.html index 4c23d49f..c8b98903 100644 --- a/specs/paymentrequest.html +++ b/specs/paymentrequest.html @@ -779,6 +779,7 @@

ShippingAddress interface

readonly attribute DOMString languageCode; readonly attribute DOMString organization; readonly attribute DOMString recipient; + readonly attribute DOMString careOf; readonly attribute DOMString phone; }; @@ -808,6 +809,9 @@

ShippingAddress interface

This is the organization, firm, company, or institution at this address.
recipient
This is the name of the recipient or contact person.
+
careOf
+
This is the name of an intermediary party or entity responsible for transferring + packages between the postal service and the recipient.
phone
This is the phone number of the recipient or contact person.
From bd3f362c78dcc1507fb40fadd58c5b22fac09f12 Mon Sep 17 00:00:00 2001 From: adamroach Date: Mon, 16 May 2016 16:56:49 -0500 Subject: [PATCH 2/2] Update paymentrequest.html --- specs/paymentrequest.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/specs/paymentrequest.html b/specs/paymentrequest.html index c8b98903..ffbff2b0 100644 --- a/specs/paymentrequest.html +++ b/specs/paymentrequest.html @@ -1,7 +1,7 @@ - Payment Request API + Payment Request APIreg @@ -769,10 +769,10 @@

PaymentItem dictionary

ShippingAddress interface

         interface ShippingAddress {
-          readonly attribute DOMString regionCode;
+          readonly attribute DOMString country;
           readonly attribute FrozenArray<DOMString> addressLine;
-          readonly attribute DOMString administrativeArea;
-          readonly attribute DOMString locality;
+          readonly attribute DOMString region;
+          readonly attribute DOMString city;
           readonly attribute DOMString dependentLocality;
           readonly attribute DOMString postalCode;
           readonly attribute DOMString sortingCode;
@@ -784,19 +784,19 @@ 

ShippingAddress interface

};
-
regionCode
+
country
This is the CLDR (Common Locale Data Repository) region code. For example, US, GB, CN, or JP.
addressLine
This is the most specific part of the address. It can include, for example, a street name, a house number, apartment number, a rural delivery route, descriptive instructions, or a post office box number.
-
administrativeArea
+
region
This is the top level administrative subdivision of the country. For example, this can be a state, a province, an oblast, or a prefecture.
-
locality
+
city
This is the city/town portion of the address.
dependentLocality
-
This is the dependent locality or sublocality. For example, used for neighborhoods, +
This is the dependent locality or sublocality within a city. For example, used for neighborhoods, boroughs, districts, or UK dependent localities.
postalCode
This is the postal code or ZIP code, also known as PIN code in India.