Package com.stripe.param
Class ChargeUpdateParams.PaymentDetails.FlightData.Total.Discounts.Builder
java.lang.Object
com.stripe.param.ChargeUpdateParams.PaymentDetails.FlightData.Total.Discounts.Builder
- Enclosing class:
- ChargeUpdateParams.PaymentDetails.FlightData.Total.Discounts
public static class ChargeUpdateParams.PaymentDetails.FlightData.Total.Discounts.Builder
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Finalize and obtain parameter instance from this builder.putAllExtraParam(Map<String, Object> map) putExtraParam(String key, Object value) Add a key/value pair to `extraParams` map.setCorporateClientCode(EmptyParam corporateClientCode) Corporate client discount code.setCorporateClientCode(String corporateClientCode) Corporate client discount code.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setCorporateClientCode
public ChargeUpdateParams.PaymentDetails.FlightData.Total.Discounts.Builder setCorporateClientCode(String corporateClientCode) Corporate client discount code. -
setCorporateClientCode
public ChargeUpdateParams.PaymentDetails.FlightData.Total.Discounts.Builder setCorporateClientCode(EmptyParam corporateClientCode) Corporate client discount code. -
putExtraParam
public ChargeUpdateParams.PaymentDetails.FlightData.Total.Discounts.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.Discounts.extraParamsfor the field documentation. -
putAllExtraParam
public ChargeUpdateParams.PaymentDetails.FlightData.Total.Discounts.Builder putAllExtraParam(Map<String, Object> map)
-