Package com.stripe.param
Class ChargeUpdateParams.PaymentDetails.LodgingData.Total.Tax.Builder
java.lang.Object
com.stripe.param.ChargeUpdateParams.PaymentDetails.LodgingData.Total.Tax.Builder
- Enclosing class:
- ChargeUpdateParams.PaymentDetails.LodgingData.Total.Tax
-
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 ChargeUpdateParams.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. SeeChargeUpdateParams.PaymentDetails.LodgingData.Total.Tax.extraParamsfor the field documentation. -
putAllExtraParam
public ChargeUpdateParams.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. SeeChargeUpdateParams.PaymentDetails.LodgingData.Total.Tax.extraParamsfor the field documentation. -
setTaxExemptIndicator
public ChargeUpdateParams.PaymentDetails.LodgingData.Total.Tax.Builder setTaxExemptIndicator(Boolean taxExemptIndicator) Indicates whether the transaction is tax exempt. -
addTax
public ChargeUpdateParams.PaymentDetails.LodgingData.Total.Tax.Builder addTax(ChargeUpdateParams.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. SeeChargeUpdateParams.PaymentDetails.LodgingData.Total.Tax.taxesfor the field documentation. -
addAllTax
public ChargeUpdateParams.PaymentDetails.LodgingData.Total.Tax.Builder addAllTax(List<ChargeUpdateParams.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. SeeChargeUpdateParams.PaymentDetails.LodgingData.Total.Tax.taxesfor the field documentation.
-