Package com.stripe.param
Class ChargeCaptureParams.PaymentDetails.LodgingData.Total.Tax.InnerTax.Builder
java.lang.Object
com.stripe.param.ChargeCaptureParams.PaymentDetails.LodgingData.Total.Tax.InnerTax.Builder
- Enclosing class:
- ChargeCaptureParams.PaymentDetails.LodgingData.Total.Tax.InnerTax
public static class ChargeCaptureParams.PaymentDetails.LodgingData.Total.Tax.InnerTax.Builder
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()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.Tax amount in cents.Tax rate.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAmount
public ChargeCaptureParams.PaymentDetails.LodgingData.Total.Tax.InnerTax.Builder setAmount(Long amount) Tax amount in cents. -
putExtraParam
public ChargeCaptureParams.PaymentDetails.LodgingData.Total.Tax.InnerTax.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. SeeChargeCaptureParams.PaymentDetails.LodgingData.Total.Tax.InnerTax.extraParamsfor the field documentation. -
putAllExtraParam
public ChargeCaptureParams.PaymentDetails.LodgingData.Total.Tax.InnerTax.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. SeeChargeCaptureParams.PaymentDetails.LodgingData.Total.Tax.InnerTax.extraParamsfor the field documentation. -
setRate
Tax rate. -
setType
public ChargeCaptureParams.PaymentDetails.LodgingData.Total.Tax.InnerTax.Builder setType(String type)
-