Struct stripe::TaxId [−][src]
pub struct TaxId {
pub id: TaxIdId,
pub country: Option<Box<String>>,
pub created: Option<Timestamp>,
pub customer: Option<Box<Expandable<Customer>>>,
pub deleted: bool,
pub livemode: Option<Box<bool>>,
pub type_: Option<Box<TaxIdType>>,
pub value: Option<Box<String>>,
pub verification: Option<Box<TaxIdVerification>>,
}
Expand description
The resource representing a Stripe “tax_id”.
Fields
id: TaxIdId
Unique identifier for the object.
country: Option<Box<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<Box<Expandable<Customer>>>
ID of the customer.
deleted: bool
livemode: Option<Box<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<Box<TaxIdType>>
Type of the tax ID, one of ae_trn
, au_abn
, au_arn
, br_cnpj
, br_cpf
, ca_bn
, ca_gst_hst
, ca_pst_bc
, ca_pst_mb
, ca_pst_sk
, ca_qst
, ch_vat
, cl_tin
, es_cif
, eu_vat
, gb_vat
, ge_vat
, hk_br
, id_npwp
, il_vat
, 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
, ua_vat
, us_ein
, or za_vat
.
Note that some legacy tax IDs have type unknown
.
value: Option<Box<String>>
Value of the tax ID.
verification: Option<Box<TaxIdVerification>>
Tax ID verification information.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for TaxId
impl UnwindSafe for TaxId
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more