Package com.stripe.param
Class ChargeUpdateParams.PaymentDetails.FlightData.Total.Builder
java.lang.Object
com.stripe.param.ChargeUpdateParams.PaymentDetails.FlightData.Total.Builder
- Enclosing class:
- ChargeUpdateParams.PaymentDetails.FlightData.Total
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdd all elements to `extraCharges` list.Add an element to `extraCharges` 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.Required. Total flight amount.Reason for credit.setCurrency(EmptyParam currency) Total currency.setCurrency(String currency) Total currency.Discount details.Tax breakdown.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAmount
Required. Total flight amount. -
setCreditReason
public ChargeUpdateParams.PaymentDetails.FlightData.Total.Builder setCreditReason(ChargeUpdateParams.PaymentDetails.FlightData.Total.CreditReason creditReason) Reason for credit. -
setCurrency
Total currency. -
setCurrency
Total currency. -
setDiscounts
public ChargeUpdateParams.PaymentDetails.FlightData.Total.Builder setDiscounts(ChargeUpdateParams.PaymentDetails.FlightData.Total.Discounts discounts) Discount details. -
addExtraCharge
public ChargeUpdateParams.PaymentDetails.FlightData.Total.Builder addExtraCharge(ChargeUpdateParams.PaymentDetails.FlightData.Total.ExtraCharge element) Add an element to `extraCharges` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeChargeUpdateParams.PaymentDetails.FlightData.Total.extraChargesfor the field documentation. -
addAllExtraCharge
public ChargeUpdateParams.PaymentDetails.FlightData.Total.Builder addAllExtraCharge(List<ChargeUpdateParams.PaymentDetails.FlightData.Total.ExtraCharge> elements) Add all elements to `extraCharges` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeChargeUpdateParams.PaymentDetails.FlightData.Total.extraChargesfor the field documentation. -
putExtraParam
public ChargeUpdateParams.PaymentDetails.FlightData.Total.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.extraParamsfor the field documentation. -
putAllExtraParam
public ChargeUpdateParams.PaymentDetails.FlightData.Total.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.extraParamsfor the field documentation. -
setTax
public ChargeUpdateParams.PaymentDetails.FlightData.Total.Builder setTax(ChargeUpdateParams.PaymentDetails.FlightData.Total.Tax tax) Tax breakdown.
-