web_sys/features/
gen_PaymentAddress.rs1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[wasm_bindgen]
6extern "C" {
7 # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PaymentAddress , typescript_type = "PaymentAddress")]
8 #[derive(Debug, Clone, PartialEq, Eq)]
9 #[doc = "The `PaymentAddress` class."]
10 #[doc = ""]
11 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress)"]
12 #[doc = ""]
13 #[doc = "*This API requires the following crate features to be activated: `PaymentAddress`*"]
14 pub type PaymentAddress;
15 # [wasm_bindgen (structural , method , getter , js_class = "PaymentAddress" , js_name = country)]
16 #[doc = "Getter for the `country` field of this object."]
17 #[doc = ""]
18 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/country)"]
19 #[doc = ""]
20 #[doc = "*This API requires the following crate features to be activated: `PaymentAddress`*"]
21 pub fn country(this: &PaymentAddress) -> ::alloc::string::String;
22 # [wasm_bindgen (structural , method , getter , js_class = "PaymentAddress" , js_name = addressLine)]
23 #[doc = "Getter for the `addressLine` field of this object."]
24 #[doc = ""]
25 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/addressLine)"]
26 #[doc = ""]
27 #[doc = "*This API requires the following crate features to be activated: `PaymentAddress`*"]
28 pub fn address_line(this: &PaymentAddress) -> ::js_sys::Array;
29 # [wasm_bindgen (structural , method , getter , js_class = "PaymentAddress" , js_name = region)]
30 #[doc = "Getter for the `region` field of this object."]
31 #[doc = ""]
32 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/region)"]
33 #[doc = ""]
34 #[doc = "*This API requires the following crate features to be activated: `PaymentAddress`*"]
35 pub fn region(this: &PaymentAddress) -> ::alloc::string::String;
36 # [wasm_bindgen (structural , method , getter , js_class = "PaymentAddress" , js_name = city)]
37 #[doc = "Getter for the `city` field of this object."]
38 #[doc = ""]
39 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/city)"]
40 #[doc = ""]
41 #[doc = "*This API requires the following crate features to be activated: `PaymentAddress`*"]
42 pub fn city(this: &PaymentAddress) -> ::alloc::string::String;
43 # [wasm_bindgen (structural , method , getter , js_class = "PaymentAddress" , js_name = dependentLocality)]
44 #[doc = "Getter for the `dependentLocality` field of this object."]
45 #[doc = ""]
46 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/dependentLocality)"]
47 #[doc = ""]
48 #[doc = "*This API requires the following crate features to be activated: `PaymentAddress`*"]
49 pub fn dependent_locality(this: &PaymentAddress) -> ::alloc::string::String;
50 # [wasm_bindgen (structural , method , getter , js_class = "PaymentAddress" , js_name = postalCode)]
51 #[doc = "Getter for the `postalCode` field of this object."]
52 #[doc = ""]
53 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/postalCode)"]
54 #[doc = ""]
55 #[doc = "*This API requires the following crate features to be activated: `PaymentAddress`*"]
56 pub fn postal_code(this: &PaymentAddress) -> ::alloc::string::String;
57 # [wasm_bindgen (structural , method , getter , js_class = "PaymentAddress" , js_name = sortingCode)]
58 #[doc = "Getter for the `sortingCode` field of this object."]
59 #[doc = ""]
60 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/sortingCode)"]
61 #[doc = ""]
62 #[doc = "*This API requires the following crate features to be activated: `PaymentAddress`*"]
63 pub fn sorting_code(this: &PaymentAddress) -> ::alloc::string::String;
64 # [wasm_bindgen (structural , method , getter , js_class = "PaymentAddress" , js_name = languageCode)]
65 #[doc = "Getter for the `languageCode` field of this object."]
66 #[doc = ""]
67 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/languageCode)"]
68 #[doc = ""]
69 #[doc = "*This API requires the following crate features to be activated: `PaymentAddress`*"]
70 pub fn language_code(this: &PaymentAddress) -> ::alloc::string::String;
71 # [wasm_bindgen (structural , method , getter , js_class = "PaymentAddress" , js_name = organization)]
72 #[doc = "Getter for the `organization` field of this object."]
73 #[doc = ""]
74 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/organization)"]
75 #[doc = ""]
76 #[doc = "*This API requires the following crate features to be activated: `PaymentAddress`*"]
77 pub fn organization(this: &PaymentAddress) -> ::alloc::string::String;
78 # [wasm_bindgen (structural , method , getter , js_class = "PaymentAddress" , js_name = recipient)]
79 #[doc = "Getter for the `recipient` field of this object."]
80 #[doc = ""]
81 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/recipient)"]
82 #[doc = ""]
83 #[doc = "*This API requires the following crate features to be activated: `PaymentAddress`*"]
84 pub fn recipient(this: &PaymentAddress) -> ::alloc::string::String;
85 # [wasm_bindgen (structural , method , getter , js_class = "PaymentAddress" , js_name = phone)]
86 #[doc = "Getter for the `phone` field of this object."]
87 #[doc = ""]
88 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/phone)"]
89 #[doc = ""]
90 #[doc = "*This API requires the following crate features to be activated: `PaymentAddress`*"]
91 pub fn phone(this: &PaymentAddress) -> ::alloc::string::String;
92 # [wasm_bindgen (method , structural , js_class = "PaymentAddress" , js_name = toJSON)]
93 #[doc = "The `toJSON()` method."]
94 #[doc = ""]
95 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/toJSON)"]
96 #[doc = ""]
97 #[doc = "*This API requires the following crate features to be activated: `PaymentAddress`*"]
98 pub fn to_json(this: &PaymentAddress) -> ::js_sys::Object;
99}