Package com.stripe.param
Class PaymentIntentCreateParams.PaymentDetails.CarRentalData.Total.Tax.Builder
java.lang.Object
com.stripe.param.PaymentIntentCreateParams.PaymentDetails.CarRentalData.Total.Tax.Builder
- Enclosing class:
- PaymentIntentCreateParams.PaymentDetails.CarRentalData.Total.Tax
public static class PaymentIntentCreateParams.PaymentDetails.CarRentalData.Total.Tax.Builder
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllTaxItem(List<PaymentIntentCreateParams.PaymentDetails.CarRentalData.Total.Tax.TaxItem> elements) Add all elements to `taxItems` list.Add an element to `taxItems` 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 if 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.CarRentalData.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.CarRentalData.Total.Tax.extraParamsfor the field documentation. -
putAllExtraParam
public PaymentIntentCreateParams.PaymentDetails.CarRentalData.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.CarRentalData.Total.Tax.extraParamsfor the field documentation. -
setTaxExemptIndicator
public PaymentIntentCreateParams.PaymentDetails.CarRentalData.Total.Tax.Builder setTaxExemptIndicator(Boolean taxExemptIndicator) Indicates if the transaction is tax exempt. -
addTaxItem
public PaymentIntentCreateParams.PaymentDetails.CarRentalData.Total.Tax.Builder addTaxItem(PaymentIntentCreateParams.PaymentDetails.CarRentalData.Total.Tax.TaxItem element) Add an element to `taxItems` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeePaymentIntentCreateParams.PaymentDetails.CarRentalData.Total.Tax.taxItemsfor the field documentation. -
addAllTaxItem
public PaymentIntentCreateParams.PaymentDetails.CarRentalData.Total.Tax.Builder addAllTaxItem(List<PaymentIntentCreateParams.PaymentDetails.CarRentalData.Total.Tax.TaxItem> elements) Add all elements to `taxItems` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeePaymentIntentCreateParams.PaymentDetails.CarRentalData.Total.Tax.taxItemsfor the field documentation.
-