Package com.stripe.param
Class TaxIdCreateParams.Builder
java.lang.Object
com.stripe.param.TaxIdCreateParams.Builder
- Enclosing class:
- TaxIdCreateParams
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddAllExpand
(List<String> elements) Add all elements to `expand` list.Add an element to `expand` list.build()
Finalize and obtain parameter instance from this builder.putAllExtraParam
(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.setOwner
(TaxIdCreateParams.Owner owner) The account or customer the tax ID belongs to.Required. Type of the tax ID, one ofad_nrt
,ae_trn
,ar_cuit
,au_abn
,au_arn
,bg_uic
,bh_vat
,bo_tin
,br_cnpj
,br_cpf
,ca_bn
,ca_gst_hst
,ca_pst_bc
,ca_pst_mb
,ca_pst_sk
,ca_qst
,ch_uid
,ch_vat
,cl_tin
,cn_tin
,co_nit
,cr_tin
,de_stn
,do_rcn
,ec_ruc
,eg_tin
,es_cif
,eu_oss_vat
,eu_vat
,gb_vat
,ge_vat
,hk_br
,hr_oib
,hu_tin
,id_npwp
,il_vat
,in_gst
,is_vat
,jp_cn
,jp_rn
,jp_trn
,ke_pin
,kr_brn
,kz_bin
,li_uid
,mx_rfc
,my_frp
,my_itn
,my_sst
,ng_tin
,no_vat
,no_voec
,nz_gst
,om_vat
,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
, orza_vat
Required. Value of the tax ID.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
addExpand
Add an element to `expand` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeTaxIdCreateParams.expand
for the field documentation. -
addAllExpand
Add all elements to `expand` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeTaxIdCreateParams.expand
for the field documentation. -
putExtraParam
Add a key/value pair to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeTaxIdCreateParams.extraParams
for the field documentation. -
putAllExtraParam
Add all map key/value pairs to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeTaxIdCreateParams.extraParams
for the field documentation. -
setOwner
The account or customer the tax ID belongs to. Defaults toowner[type]=self
. -
setType
Required. Type of the tax ID, one ofad_nrt
,ae_trn
,ar_cuit
,au_abn
,au_arn
,bg_uic
,bh_vat
,bo_tin
,br_cnpj
,br_cpf
,ca_bn
,ca_gst_hst
,ca_pst_bc
,ca_pst_mb
,ca_pst_sk
,ca_qst
,ch_uid
,ch_vat
,cl_tin
,cn_tin
,co_nit
,cr_tin
,de_stn
,do_rcn
,ec_ruc
,eg_tin
,es_cif
,eu_oss_vat
,eu_vat
,gb_vat
,ge_vat
,hk_br
,hr_oib
,hu_tin
,id_npwp
,il_vat
,in_gst
,is_vat
,jp_cn
,jp_rn
,jp_trn
,ke_pin
,kr_brn
,kz_bin
,li_uid
,mx_rfc
,my_frp
,my_itn
,my_sst
,ng_tin
,no_vat
,no_voec
,nz_gst
,om_vat
,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
, orza_vat
-
setValue
Required. Value of the tax ID.
-