Package com.stripe.param
Class ChargeCaptureParams.PaymentDetails.LodgingData.Insurance.Builder
java.lang.Object
com.stripe.param.ChargeCaptureParams.PaymentDetails.LodgingData.Insurance.Builder
- Enclosing class:
- ChargeCaptureParams.PaymentDetails.LodgingData.Insurance
-
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.Required. Price of the insurance coverage in cents.setCurrency(String currency) Currency of the insurance amount.setInsuranceCompanyName(String insuranceCompanyName) Name of the insurance company.setInsuranceType(ChargeCaptureParams.PaymentDetails.LodgingData.Insurance.InsuranceType insuranceType) Required. Type of insurance coverage.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAmount
Required. Price of the insurance coverage in cents. -
setCurrency
public ChargeCaptureParams.PaymentDetails.LodgingData.Insurance.Builder setCurrency(String currency) Currency of the insurance amount. -
putExtraParam
public ChargeCaptureParams.PaymentDetails.LodgingData.Insurance.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.Insurance.extraParamsfor the field documentation. -
putAllExtraParam
public ChargeCaptureParams.PaymentDetails.LodgingData.Insurance.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.Insurance.extraParamsfor the field documentation. -
setInsuranceCompanyName
public ChargeCaptureParams.PaymentDetails.LodgingData.Insurance.Builder setInsuranceCompanyName(String insuranceCompanyName) Name of the insurance company. -
setInsuranceType
public ChargeCaptureParams.PaymentDetails.LodgingData.Insurance.Builder setInsuranceType(ChargeCaptureParams.PaymentDetails.LodgingData.Insurance.InsuranceType insuranceType) Required. Type of insurance coverage.
-