Struct stripe::TaxId [−][src]
The resource representing a Stripe "tax_id".
Fields
id: TaxIdId
Unique identifier for the object.
country: Option<String>
Two-letter ISO code representing the country of the tax ID.
created: Option<Timestamp>
Time at which the object was created.
Measured in seconds since the Unix epoch.
customer: Option<Expandable<Customer>>
ID of the customer.
deleted: bool
livemode: Option<bool>
Has the value true
if the object exists in live mode or the value false
if the object exists in test mode.
type_: Option<TaxIdType>
Type of the tax ID, one of ae_trn
, au_abn
, br_cnpj
, br_cpf
, ca_bn
, ca_qst
, ch_vat
, cl_tin
, es_cif
, eu_vat
, hk_br
, id_npwp
, in_gst
, jp_cn
, jp_rn
, kr_brn
, li_uid
, mx_rfc
, my_frp
, my_itn
, my_sst
, no_vat
, nz_gst
, ru_inn
, ru_kpp
, sa_vat
, sg_gst
, sg_uen
, th_vat
, tw_vat
, us_ein
, or za_vat
.
Note that some legacy tax IDs have type unknown
.
value: Option<String>
Value of the tax ID.
verification: Option<TaxIdVerification>
Tax ID verification information.
Trait Implementations
impl Clone for TaxId
[src]
impl Debug for TaxId
[src]
impl<'de> Deserialize<'de> for TaxId
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Object for TaxId
[src]
type Id = TaxIdId
The canonical id type for this object.
fn id(&self) -> Self::Id
[src]
fn object(&self) -> &'static str
[src]
impl Serialize for TaxId
[src]
Auto Trait Implementations
impl RefUnwindSafe for TaxId
[src]
impl Send for TaxId
[src]
impl Sync for TaxId
[src]
impl Unpin for TaxId
[src]
impl UnwindSafe for TaxId
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,