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