Struct stripe::TaxId[][src]

pub struct TaxId {
    pub id: TaxIdId,
    pub country: Option<String>,
    pub created: Option<Timestamp>,
    pub customer: Option<Expandable<Customer>>,
    pub deleted: bool,
    pub livemode: Option<bool>,
    pub type_: Option<TaxIdType>,
    pub value: Option<String>,
    pub verification: Option<TaxIdVerification>,
}

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: boollivemode: 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]

impl Object for TaxId[src]

type Id = TaxIdId

The canonical id type for this object.

impl Serialize for TaxId[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]