Package com.stripe.param
Class PaymentIntentUpdateParams.PaymentDetails.CarRentalData.Total.Tax.Builder
java.lang.Object
com.stripe.param.PaymentIntentUpdateParams.PaymentDetails.CarRentalData.Total.Tax.Builder
- Enclosing class:
- PaymentIntentUpdateParams.PaymentDetails.CarRentalData.Total.Tax
public static class PaymentIntentUpdateParams.PaymentDetails.CarRentalData.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 if the transaction is tax exempt.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
putExtraParam
public PaymentIntentUpdateParams.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. SeePaymentIntentUpdateParams.PaymentDetails.CarRentalData.Total.Tax.extraParamsfor the field documentation. -
putAllExtraParam
public PaymentIntentUpdateParams.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. SeePaymentIntentUpdateParams.PaymentDetails.CarRentalData.Total.Tax.extraParamsfor the field documentation. -
setTaxExemptIndicator
public PaymentIntentUpdateParams.PaymentDetails.CarRentalData.Total.Tax.Builder setTaxExemptIndicator(Boolean taxExemptIndicator) Indicates if the transaction is tax exempt. -
addTax
public PaymentIntentUpdateParams.PaymentDetails.CarRentalData.Total.Tax.Builder addTax(PaymentIntentUpdateParams.PaymentDetails.CarRentalData.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. SeePaymentIntentUpdateParams.PaymentDetails.CarRentalData.Total.Tax.taxesfor the field documentation. -
addAllTax
public PaymentIntentUpdateParams.PaymentDetails.CarRentalData.Total.Tax.Builder addAllTax(List<PaymentIntentUpdateParams.PaymentDetails.CarRentalData.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. SeePaymentIntentUpdateParams.PaymentDetails.CarRentalData.Total.Tax.taxesfor the field documentation.
-