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