Package com.stripe.param
Class CustomerSessionCreateParams.Components.TaxIdElement.Features.Builder
java.lang.Object
com.stripe.param.CustomerSessionCreateParams.Components.TaxIdElement.Features.Builder
- Enclosing class:
- CustomerSessionCreateParams.Components.TaxIdElement.Features
public static class CustomerSessionCreateParams.Components.TaxIdElement.Features.Builder
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()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.setTaxIdRedisplay(CustomerSessionCreateParams.Components.TaxIdElement.Features.TaxIdRedisplay taxIdRedisplay) Controls whether the Tax ID Element displays saved tax IDs for the customer.Controls whether the Tax ID Element allows merchants to save new tax IDs for their customer.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
putExtraParam
public CustomerSessionCreateParams.Components.TaxIdElement.Features.Builder putExtraParam(String key, 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. SeeCustomerSessionCreateParams.Components.TaxIdElement.Features.extraParamsfor the field documentation. -
putAllExtraParam
public CustomerSessionCreateParams.Components.TaxIdElement.Features.Builder putAllExtraParam(Map<String, 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. SeeCustomerSessionCreateParams.Components.TaxIdElement.Features.extraParamsfor the field documentation. -
setTaxIdRedisplay
public CustomerSessionCreateParams.Components.TaxIdElement.Features.Builder setTaxIdRedisplay(CustomerSessionCreateParams.Components.TaxIdElement.Features.TaxIdRedisplay taxIdRedisplay) Controls whether the Tax ID Element displays saved tax IDs for the customer. This parameter defaults todisabled.When enabled, the Tax ID Element will show existing tax IDs associated with the customer, allowing them to select from previously saved tax identification numbers.
-
setTaxIdSave
public CustomerSessionCreateParams.Components.TaxIdElement.Features.Builder setTaxIdSave(CustomerSessionCreateParams.Components.TaxIdElement.Features.TaxIdSave taxIdSave) Controls whether the Tax ID Element allows merchants to save new tax IDs for their customer. This parameter defaults todisabled.When enabled, customers can enter and save new tax identification numbers during the payment flow, which will be stored securely and associated with their customer object for future use.
-