pub struct CreateTaxId<'a> {
pub expand: &'a [&'a str],
pub owner: Option<CreateTaxIdOwner>,
pub type_: TaxIdTypeFilter,
pub value: &'a str,
}
Expand description
The parameters for TaxId::create
.
Fields§
§expand: &'a [&'a str]
Specifies which fields in the response should be expanded.
owner: Option<CreateTaxIdOwner>
The account or customer the tax ID belongs to.
Defaults to owner[type]=self
.
type_: TaxIdTypeFilter
Type of the tax ID, one of ad_nrt
, ae_trn
, ar_cuit
, au_abn
, au_arn
, bg_uic
, bo_tin
, br_cnpj
, br_cpf
, ca_bn
, ca_gst_hst
, ca_pst_bc
, ca_pst_mb
, ca_pst_sk
, ca_qst
, ch_vat
, cl_tin
, cn_tin
, co_nit
, cr_tin
, do_rcn
, ec_ruc
, eg_tin
, es_cif
, eu_oss_vat
, eu_vat
, gb_vat
, ge_vat
, hk_br
, hu_tin
, id_npwp
, il_vat
, in_gst
, is_vat
, jp_cn
, jp_rn
, jp_trn
, ke_pin
, kr_brn
, li_uid
, mx_rfc
, my_frp
, my_itn
, my_sst
, no_vat
, nz_gst
, pe_ruc
, ph_tin
, ro_tin
, rs_pib
, ru_inn
, ru_kpp
, sa_vat
, sg_gst
, sg_uen
, si_tin
, sv_nit
, th_vat
, tr_tin
, tw_vat
, ua_vat
, us_ein
, uy_ruc
, ve_rif
, vn_tin
, or za_vat
.
value: &'a str
Value of the tax ID.
Implementations§
source§impl<'a> CreateTaxId<'a>
impl<'a> CreateTaxId<'a>
pub fn new(type_: TaxIdTypeFilter, value: &'a str) -> Self
Trait Implementations§
source§impl<'a> Clone for CreateTaxId<'a>
impl<'a> Clone for CreateTaxId<'a>
source§fn clone(&self) -> CreateTaxId<'a>
fn clone(&self) -> CreateTaxId<'a>
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more