Package com.stripe.param
Class ChargeCaptureParams.PaymentDetails.LodgingData.Total.Discounts.Builder
java.lang.Object
com.stripe.param.ChargeCaptureParams.PaymentDetails.LodgingData.Total.Discounts.Builder
- Enclosing class:
- ChargeCaptureParams.PaymentDetails.LodgingData.Total.Discounts
public static class ChargeCaptureParams.PaymentDetails.LodgingData.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) Add all map key/value pairs to `extraParams` map.putExtraParam(String key, Object value) Add a key/value pair to `extraParams` map.setCorporateClientCode(String corporateClientCode) Corporate client discount code.Coupon code.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setCorporateClientCode
public ChargeCaptureParams.PaymentDetails.LodgingData.Total.Discounts.Builder setCorporateClientCode(String corporateClientCode) Corporate client discount code. -
setCoupon
public ChargeCaptureParams.PaymentDetails.LodgingData.Total.Discounts.Builder setCoupon(String coupon) Coupon code. -
putExtraParam
public ChargeCaptureParams.PaymentDetails.LodgingData.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. SeeChargeCaptureParams.PaymentDetails.LodgingData.Total.Discounts.extraParamsfor the field documentation. -
putAllExtraParam
public ChargeCaptureParams.PaymentDetails.LodgingData.Total.Discounts.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.Discounts.extraParamsfor the field documentation.
-