Package com.stripe.param
Class PaymentIntentCaptureParams.PaymentDetails.LodgingData.Total.ExtraCharge.Builder
java.lang.Object
com.stripe.param.PaymentIntentCaptureParams.PaymentDetails.LodgingData.Total.ExtraCharge.Builder
public static class PaymentIntentCaptureParams.PaymentDetails.LodgingData.Total.ExtraCharge.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.Amount of the extra charge in cents.Type of extra charge.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAmount
public PaymentIntentCaptureParams.PaymentDetails.LodgingData.Total.ExtraCharge.Builder setAmount(Long amount) Amount of the extra charge in cents. -
putExtraParam
public PaymentIntentCaptureParams.PaymentDetails.LodgingData.Total.ExtraCharge.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. SeePaymentIntentCaptureParams.PaymentDetails.LodgingData.Total.ExtraCharge.extraParamsfor the field documentation. -
putAllExtraParam
public PaymentIntentCaptureParams.PaymentDetails.LodgingData.Total.ExtraCharge.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. SeePaymentIntentCaptureParams.PaymentDetails.LodgingData.Total.ExtraCharge.extraParamsfor the field documentation. -
setType
public PaymentIntentCaptureParams.PaymentDetails.LodgingData.Total.ExtraCharge.Builder setType(PaymentIntentCaptureParams.PaymentDetails.LodgingData.Total.ExtraCharge.Type type) Type of extra charge.
-