Package com.stripe.param
Class ChargeUpdateParams.PaymentDetails.FlightData.Total.ExtraCharge.Builder
java.lang.Object
com.stripe.param.ChargeUpdateParams.PaymentDetails.FlightData.Total.ExtraCharge.Builder
- Enclosing class:
- ChargeUpdateParams.PaymentDetails.FlightData.Total.ExtraCharge
public static class ChargeUpdateParams.PaymentDetails.FlightData.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 additional charges.Type of additional charges.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAmount
public ChargeUpdateParams.PaymentDetails.FlightData.Total.ExtraCharge.Builder setAmount(Long amount) Amount of additional charges. -
putExtraParam
public ChargeUpdateParams.PaymentDetails.FlightData.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. SeeChargeUpdateParams.PaymentDetails.FlightData.Total.ExtraCharge.extraParamsfor the field documentation. -
putAllExtraParam
public ChargeUpdateParams.PaymentDetails.FlightData.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. SeeChargeUpdateParams.PaymentDetails.FlightData.Total.ExtraCharge.extraParamsfor the field documentation. -
setType
public ChargeUpdateParams.PaymentDetails.FlightData.Total.ExtraCharge.Builder setType(ChargeUpdateParams.PaymentDetails.FlightData.Total.ExtraCharge.Type type) Type of additional charges.
-