Package com.stripe.param
Class PaymentIntentCreateParams.PaymentDetails.LodgingData.Total.Tax.Builder
java.lang.Object
com.stripe.param.PaymentIntentCreateParams.PaymentDetails.LodgingData.Total.Tax.Builder
- Enclosing class:
- PaymentIntentCreateParams.PaymentDetails.LodgingData.Total.Tax
public static class PaymentIntentCreateParams.PaymentDetails.LodgingData.Total.Tax.Builder
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdd all elements to `taxes` list.Add an element to `taxes` 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.setTaxExemptIndicator(Boolean taxExemptIndicator) Indicates whether the transaction is tax exempt.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
putExtraParam
public PaymentIntentCreateParams.PaymentDetails.LodgingData.Total.Tax.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. SeePaymentIntentCreateParams.PaymentDetails.LodgingData.Total.Tax.extraParamsfor the field documentation. -
putAllExtraParam
public PaymentIntentCreateParams.PaymentDetails.LodgingData.Total.Tax.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. SeePaymentIntentCreateParams.PaymentDetails.LodgingData.Total.Tax.extraParamsfor the field documentation. -
setTaxExemptIndicator
public PaymentIntentCreateParams.PaymentDetails.LodgingData.Total.Tax.Builder setTaxExemptIndicator(Boolean taxExemptIndicator) Indicates whether the transaction is tax exempt. -
addTax
public PaymentIntentCreateParams.PaymentDetails.LodgingData.Total.Tax.Builder addTax(PaymentIntentCreateParams.PaymentDetails.LodgingData.Total.Tax.InnerTax element) Add an element to `taxes` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeePaymentIntentCreateParams.PaymentDetails.LodgingData.Total.Tax.taxesfor the field documentation. -
addAllTax
public PaymentIntentCreateParams.PaymentDetails.LodgingData.Total.Tax.Builder addAllTax(List<PaymentIntentCreateParams.PaymentDetails.LodgingData.Total.Tax.InnerTax> elements) Add all elements to `taxes` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeePaymentIntentCreateParams.PaymentDetails.LodgingData.Total.Tax.taxesfor the field documentation.
-