/
PaymentAddress.cljs
204 lines (138 loc) · 5.53 KB
/
PaymentAddress.cljs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
(ns web.payments.PaymentAddress
"The PaymentAddress interface of the Payment Request API is used
store shipping or payment address information."
(:refer-clojure :exclude []))
(defn to-json
"Method.
[Experimental]
The toJSON() property of the `web.payments.PaymentAddress` interface
a standard serializer that returns a JSON representation of the
object's properties.
`var json = PaymentAddress.toJSON()`
See also: `https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/toJSON`"
[this ]
(-> this (.toJSON)))
(defn address-line
"Property.
[Read Only]
The addressLine read-only property of the `web.payments.PaymentAddress`
is an array of `web.dom.DOMString` objects, each specifying a
of the address that is not covered by one of the other properties
PaymentAddress.
`var paymentAddressLines = PaymentAddress.addressLine;`
See also: `https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/addressLine`"
[this]
(-> this (.-addressLine)))
(defn country
"Property.
[Read Only]
The country read-only property of the `web.payments.PaymentAddress`
is a string identifying the address's country using the ISO 3166-1
standard. The string is always in its canonical upper-case form.
`var paymentCountry = PaymentAddress.country;`
See also: `https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/country`"
[this]
(-> this (.-country)))
(defn city
"Property.
[Read Only]
The city read-only property of the `web.payments.PaymentAddress`
returns a string containing the city or town portion of the address.
`var paymentCity = PaymentAddress.city;`
See also: `https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/city`"
[this]
(-> this (.-city)))
(defn dependent-locality
"Property.
[Read Only]
The read-only dependentLocality property of the `web.payments.PaymentAddress`
is a string containing a sublocality designation within a city,
as a neighborhood, borough, district, or, in the United Kingdom,
dependent locality. Also known as a post town.
`var paymentDependentLocality = PaymentAddress.dependentLocality;`
See also: `https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/dependentLocality`"
[this]
(-> this (.-dependentLocality)))
(defn organization
"Property.
[Read Only]
The organization read-only property of the `web.payments.PaymentAddress`
returns a string containing the name of the organization, firm,
or institution at the address.
`var paymentOrganization = PaymentAddress.organization;`
See also: `https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/organization`"
[this]
(-> this (.-organization)))
(defn phone
"Property.
[Read Only]
The read-only phone property of the `web.payments.PaymentAddress`
returns a string containing the telephone number of the recipient
contact person.
`var paymentPhone = PaymentAddress.phone;`
See also: `https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/phone`"
[this]
(-> this (.-phone)))
(defn postal-code
"Property.
[Read Only]
The postalCode read-only property of the `web.payments.PaymentAddress`
returns a string containing a code used by a jurisdiction for
routing, for example, the ZIP Code in the United States or the
Index Number (PIN code) in India.
`var paymentPostalCode = PaymentAddress.postalCode;`
See also: `https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/postalCode`"
[this]
(-> this (.-postalCode)))
(defn recipient
"Property.
[Read Only]
The read-only recipient property of the `web.payments.PaymentAddress`
returns a string containing the name of the recipient, purchaser,
contact person at the payment address.
`var paymentRecipient = PaymentAddress.recipient;`
See also: `https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/recipient`"
[this]
(-> this (.-recipient)))
(defn region
"Property.
[Read Only]
The read-only region property of the `web.payments.PaymentAddress`
returns a string containing the top-level administrative subdivision
the country in which the address is located. For example, this
be a state, province, oblast, or prefecture.
`var paymentRegion = PaymentAddress.region;`
See also: `https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/region`"
[this]
(-> this (.-region)))
(defn region-code
"Property.
[Read Only]
The regionCode read-only attribute of the `web.payments.PaymentAddress`
returns a one-, two-, or three-alphanumeric code (`web.dom.DOMString`)
the region of the address (e.g., \\\"CA\\\" for California, or \\\"11\\\"
Lisbon, Portugal).
`var regionCode = paymentAddress.regionCode;`
See also: `https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/regionCode`"
[this]
(-> this (.-regionCode)))
(defn sorting-code
"Property.
[Read Only]
The sortingCode read-only property of the `web.payments.PaymentAddress`
returns a string containing a postal sorting code such as is
in France.
`var sortingCode = PaymentAddress.sortingCode;`
See also: `https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/sortingCode`"
[this]
(-> this (.-sortingCode)))
(defn language-code
"Property.
[Read Only]
[Deprecated]
The languageCode read-only property of the `web.payments.PaymentAddress`
returns a string containing the BCP-47 language code for the
`var paymentLanguageCode = PaymentAddress.languageCode;`
See also: `https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/languageCode`"
[this]
(-> this (.-languageCode)))