Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding careOf field #196

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 12 additions & 8 deletions specs/paymentrequest.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>Payment Request API</title>
<title>Payment Request API</title>reg
<meta charset='utf-8'>
<script src='https://www.w3.org/Tools/respec/respec-w3c-common'
async class='remove'></script>
Expand Down Expand Up @@ -769,33 +769,34 @@ <h2>PaymentItem dictionary</h2>
<h2>ShippingAddress interface</h2>
<pre class="idl">
interface ShippingAddress {
readonly attribute DOMString regionCode;
readonly attribute DOMString country;
readonly attribute FrozenArray&lt;DOMString&gt; 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;
readonly attribute DOMString languageCode;
readonly attribute DOMString organization;
readonly attribute DOMString recipient;
readonly attribute DOMString careOf;
readonly attribute DOMString phone;
};
</pre>
<dl>
<dt><code>regionCode</code></dt>
<dt><code>country</code></dt>
<dd>This is the CLDR (Common Locale Data Repository) region code. For example, US, GB, CN, or JP.</dd>
<dt><code>addressLine</code></dt>
<dd>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.</dd>
<dt><code>administrativeArea</code></dt>
<dt><code>region</code></dt>
<dd>This is the top level administrative subdivision of the country. For example, this can
be a state, a province, an oblast, or a prefecture.</dd>
<dt><code>locality</code></dt>
<dt><code>city</code></dt>
<dd>This is the city/town portion of the address.</dd>
<dt><code>dependentLocality</code></dt>
<dd>This is the dependent locality or sublocality. For example, used for neighborhoods,
<dd>This is the dependent locality or sublocality within a city. For example, used for neighborhoods,
boroughs, districts, or UK dependent localities.</dd>
<dt><code>postalCode</code></dt>
<dd>This is the postal code or ZIP code, also known as PIN code in India.</dd>
Expand All @@ -808,6 +809,9 @@ <h2>ShippingAddress interface</h2>
<dd>This is the organization, firm, company, or institution at this address.</dd>
<dt><code>recipient</code></dt>
<dd>This is the name of the recipient or contact person.</dd>
<dt><code>careOf</code></dt>
<dd>This is the name of an intermediary party or entity responsible for transferring
packages between the postal service and the recipient.</dd>
<dt><code>phone</code></dt>
<dd>This is the phone number of the recipient or contact person.</dd>
</dl>
Expand Down