Package com.stripe.param
Class OrderCreateParams.TaxDetails.Builder
java.lang.Object
com.stripe.param.OrderCreateParams.TaxDetails.Builder
- Enclosing class:
- OrderCreateParams.TaxDetails
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddAllTaxId
(List<OrderCreateParams.TaxDetails.TaxId> elements) Add all elements to `taxIds` list.Add an element to `taxIds` 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.setTaxExempt
(EmptyParam taxExempt) The purchaser's tax exemption status.The purchaser's tax exemption status.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
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. SeeOrderCreateParams.TaxDetails.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. SeeOrderCreateParams.TaxDetails.extraParams
for the field documentation. -
setTaxExempt
public OrderCreateParams.TaxDetails.Builder setTaxExempt(OrderCreateParams.TaxDetails.TaxExempt taxExempt) The purchaser's tax exemption status. One ofnone
,exempt
, orreverse
. -
setTaxExempt
The purchaser's tax exemption status. One ofnone
,exempt
, orreverse
. -
addTaxId
Add an element to `taxIds` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeOrderCreateParams.TaxDetails.taxIds
for the field documentation. -
addAllTaxId
public OrderCreateParams.TaxDetails.Builder addAllTaxId(List<OrderCreateParams.TaxDetails.TaxId> elements) Add all elements to `taxIds` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeOrderCreateParams.TaxDetails.taxIds
for the field documentation.
-