From 6537d123af649cb3ad4edc681e6b7dc00362cd64 Mon Sep 17 00:00:00 2001 From: adamroach Date: Mon, 16 May 2016 16:30:56 -0500 Subject: [PATCH 1/5] 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/5] 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.
From ced61907e95a3608f55f5930b3444bb4c55b9415 Mon Sep 17 00:00:00 2001 From: adamroach Date: Mon, 16 May 2016 17:10:34 -0500 Subject: [PATCH 3/5] Update paymentrequest.html --- specs/paymentrequest.html | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/specs/paymentrequest.html b/specs/paymentrequest.html index ffbff2b0..89b79b86 100644 --- a/specs/paymentrequest.html +++ b/specs/paymentrequest.html @@ -1,7 +1,7 @@ - Payment Request APIreg + Payment Request API @@ -9,7 +9,6 @@ var respecConfig = { shortName: "payment-request", edDraftURI: "https://w3c.github.io/browser-payment-api/paymentrequest.html", - specStatus: "ED", editors: [ { name: "Adrian Bateman", @@ -21,20 +20,15 @@ { name: "Roy McElmurry", company: "Facebook" }, ], - useExperimentalStyles: true, license: "w3c-software-doc", - previousMaturity: "FPWD", previousPublishDate: "2016-04-21", - wg: "Web Payments Working Group", wgURI: "https://www.w3.org/Payments/WG/", wgPublicList: "public-payments-wg", wgPatentURI: "https://www.w3.org/2004/01/pp-impl/83744/status", - issueBase: "https://github.com/w3c/browser-payment-api/issues/", - localBiblio: { "PAYMENT-ARCH": { title: "Payment Request Architecture" @@ -769,10 +763,10 @@

PaymentItem dictionary

ShippingAddress interface

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

ShippingAddress interface

};
-
country
+
regionCode
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.
-
region
+
administrativeArea
This is the top level administrative subdivision of the country. For example, this can be a state, a province, an oblast, or a prefecture.
-
city
+
locality
This is the city/town portion of the address.
dependentLocality
-
This is the dependent locality or sublocality within a city. For example, used for neighborhoods, +
This is the dependent locality or sublocality. 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.
From 76b5a2cdc771cc64d38ab1cf7a73a5136224e7cd Mon Sep 17 00:00:00 2001 From: adamroach Date: Mon, 16 May 2016 17:15:10 -0500 Subject: [PATCH 4/5] Fixing unintended changes to metainformation --- specs/paymentrequest.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/specs/paymentrequest.html b/specs/paymentrequest.html index 89b79b86..c166dbea 100644 --- a/specs/paymentrequest.html +++ b/specs/paymentrequest.html @@ -9,6 +9,7 @@ var respecConfig = { shortName: "payment-request", edDraftURI: "https://w3c.github.io/browser-payment-api/paymentrequest.html", + specStatus: "ED", editors: [ { name: "Adrian Bateman", @@ -20,15 +21,20 @@ { name: "Roy McElmurry", company: "Facebook" }, ], + useExperimentalStyles: true, license: "w3c-software-doc", + previousMaturity: "FPWD", previousPublishDate: "2016-04-21", + wg: "Web Payments Working Group", wgURI: "https://www.w3.org/Payments/WG/", wgPublicList: "public-payments-wg", wgPatentURI: "https://www.w3.org/2004/01/pp-impl/83744/status", + issueBase: "https://github.com/w3c/browser-payment-api/issues/", + localBiblio: { "PAYMENT-ARCH": { title: "Payment Request Architecture" From 006cdb01b32659a40e8803c121a09e806b6edca2 Mon Sep 17 00:00:00 2001 From: adamroach Date: Mon, 16 May 2016 17:16:19 -0500 Subject: [PATCH 5/5] More metainformation formatting repair --- specs/paymentrequest.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/specs/paymentrequest.html b/specs/paymentrequest.html index c166dbea..c8b98903 100644 --- a/specs/paymentrequest.html +++ b/specs/paymentrequest.html @@ -9,7 +9,7 @@ var respecConfig = { shortName: "payment-request", edDraftURI: "https://w3c.github.io/browser-payment-api/paymentrequest.html", - + specStatus: "ED", editors: [ { name: "Adrian Bateman", @@ -21,20 +21,20 @@ { name: "Roy McElmurry", company: "Facebook" }, ], - + useExperimentalStyles: true, license: "w3c-software-doc", - + previousMaturity: "FPWD", previousPublishDate: "2016-04-21", - + wg: "Web Payments Working Group", wgURI: "https://www.w3.org/Payments/WG/", wgPublicList: "public-payments-wg", wgPatentURI: "https://www.w3.org/2004/01/pp-impl/83744/status", - + issueBase: "https://github.com/w3c/browser-payment-api/issues/", - + localBiblio: { "PAYMENT-ARCH": { title: "Payment Request Architecture"