Package com.stripe.param
Class TaxIdCollectionCreateParams.Builder
- java.lang.Object
-
- com.stripe.param.TaxIdCollectionCreateParams.Builder
-
- Enclosing class:
- TaxIdCollectionCreateParams
public static class TaxIdCollectionCreateParams.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TaxIdCollectionCreateParams.BuilderaddAllExpand(java.util.List<java.lang.String> elements)Add all elements to `expand` list.TaxIdCollectionCreateParams.BuilderaddExpand(java.lang.String element)Add an element to `expand` list.TaxIdCollectionCreateParamsbuild()Finalize and obtain parameter instance from this builder.TaxIdCollectionCreateParams.BuilderputAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)Add all map key/value pairs to `extraParams` map.TaxIdCollectionCreateParams.BuilderputExtraParam(java.lang.String key, java.lang.Object value)Add a key/value pair to `extraParams` map.TaxIdCollectionCreateParams.BuildersetType(TaxIdCollectionCreateParams.Type type)Type of the tax ID, one ofae_trn,au_abn,br_cnpj,br_cpf,ca_bn,ca_qst,ch_vat,cl_tin,es_cif,eu_vat,gb_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, orza_vat.TaxIdCollectionCreateParams.BuildersetValue(java.lang.String value)Value of the tax ID.
-
-
-
Method Detail
-
build
public TaxIdCollectionCreateParams build()
Finalize and obtain parameter instance from this builder.
-
addExpand
public TaxIdCollectionCreateParams.Builder addExpand(java.lang.String element)
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. SeeTaxIdCollectionCreateParams.expandfor the field documentation.
-
addAllExpand
public TaxIdCollectionCreateParams.Builder addAllExpand(java.util.List<java.lang.String> elements)
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. SeeTaxIdCollectionCreateParams.expandfor the field documentation.
-
putExtraParam
public TaxIdCollectionCreateParams.Builder putExtraParam(java.lang.String key, java.lang.Object value)
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. SeeTaxIdCollectionCreateParams.extraParamsfor the field documentation.
-
putAllExtraParam
public TaxIdCollectionCreateParams.Builder putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
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. SeeTaxIdCollectionCreateParams.extraParamsfor the field documentation.
-
setType
public TaxIdCollectionCreateParams.Builder setType(TaxIdCollectionCreateParams.Type type)
Type of the tax ID, one ofae_trn,au_abn,br_cnpj,br_cpf,ca_bn,ca_qst,ch_vat,cl_tin,es_cif,eu_vat,gb_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, orza_vat.
-
setValue
public TaxIdCollectionCreateParams.Builder setValue(java.lang.String value)
Value of the tax ID.
-
-