From 9835e2ae736235810b4ea1c162ca5e65c547e770 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 18 May 2024 04:49:50 +0200 Subject: Merging upstream version 1.71.1+dfsg1. Signed-off-by: Daniel Baumann --- vendor/web-sys/src/features/gen_PaymentAddress.rs | 98 +++++++++++++++++++++++ 1 file changed, 98 insertions(+) create mode 100644 vendor/web-sys/src/features/gen_PaymentAddress.rs (limited to 'vendor/web-sys/src/features/gen_PaymentAddress.rs') diff --git a/vendor/web-sys/src/features/gen_PaymentAddress.rs b/vendor/web-sys/src/features/gen_PaymentAddress.rs new file mode 100644 index 000000000..7402ca5be --- /dev/null +++ b/vendor/web-sys/src/features/gen_PaymentAddress.rs @@ -0,0 +1,98 @@ +#![allow(unused_imports)] +use super::*; +use wasm_bindgen::prelude::*; +#[wasm_bindgen] +extern "C" { + # [wasm_bindgen (extends = :: js_sys :: Object , js_name = PaymentAddress , typescript_type = "PaymentAddress")] + #[derive(Debug, Clone, PartialEq, Eq)] + #[doc = "The `PaymentAddress` class."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `PaymentAddress`*"] + pub type PaymentAddress; + # [wasm_bindgen (structural , method , getter , js_class = "PaymentAddress" , js_name = country)] + #[doc = "Getter for the `country` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/country)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `PaymentAddress`*"] + pub fn country(this: &PaymentAddress) -> String; + # [wasm_bindgen (structural , method , getter , js_class = "PaymentAddress" , js_name = addressLine)] + #[doc = "Getter for the `addressLine` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/addressLine)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `PaymentAddress`*"] + pub fn address_line(this: &PaymentAddress) -> ::js_sys::Array; + # [wasm_bindgen (structural , method , getter , js_class = "PaymentAddress" , js_name = region)] + #[doc = "Getter for the `region` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/region)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `PaymentAddress`*"] + pub fn region(this: &PaymentAddress) -> String; + # [wasm_bindgen (structural , method , getter , js_class = "PaymentAddress" , js_name = city)] + #[doc = "Getter for the `city` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/city)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `PaymentAddress`*"] + pub fn city(this: &PaymentAddress) -> String; + # [wasm_bindgen (structural , method , getter , js_class = "PaymentAddress" , js_name = dependentLocality)] + #[doc = "Getter for the `dependentLocality` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/dependentLocality)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `PaymentAddress`*"] + pub fn dependent_locality(this: &PaymentAddress) -> String; + # [wasm_bindgen (structural , method , getter , js_class = "PaymentAddress" , js_name = postalCode)] + #[doc = "Getter for the `postalCode` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/postalCode)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `PaymentAddress`*"] + pub fn postal_code(this: &PaymentAddress) -> String; + # [wasm_bindgen (structural , method , getter , js_class = "PaymentAddress" , js_name = sortingCode)] + #[doc = "Getter for the `sortingCode` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/sortingCode)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `PaymentAddress`*"] + pub fn sorting_code(this: &PaymentAddress) -> String; + # [wasm_bindgen (structural , method , getter , js_class = "PaymentAddress" , js_name = languageCode)] + #[doc = "Getter for the `languageCode` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/languageCode)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `PaymentAddress`*"] + pub fn language_code(this: &PaymentAddress) -> String; + # [wasm_bindgen (structural , method , getter , js_class = "PaymentAddress" , js_name = organization)] + #[doc = "Getter for the `organization` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/organization)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `PaymentAddress`*"] + pub fn organization(this: &PaymentAddress) -> String; + # [wasm_bindgen (structural , method , getter , js_class = "PaymentAddress" , js_name = recipient)] + #[doc = "Getter for the `recipient` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/recipient)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `PaymentAddress`*"] + pub fn recipient(this: &PaymentAddress) -> String; + # [wasm_bindgen (structural , method , getter , js_class = "PaymentAddress" , js_name = phone)] + #[doc = "Getter for the `phone` field of this object."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/phone)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `PaymentAddress`*"] + pub fn phone(this: &PaymentAddress) -> String; + # [wasm_bindgen (method , structural , js_class = "PaymentAddress" , js_name = toJSON)] + #[doc = "The `toJSON()` method."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/PaymentAddress/toJSON)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `PaymentAddress`*"] + pub fn to_json(this: &PaymentAddress) -> ::js_sys::Object; +} -- cgit v1.2.3