Package com.stripe.param
Class PaymentIntentCaptureParams.PaymentDetails.LodgingData.Insurance.Builder
java.lang.Object
com.stripe.param.PaymentIntentCaptureParams.PaymentDetails.LodgingData.Insurance.Builder
- Enclosing class:
- PaymentIntentCaptureParams.PaymentDetails.LodgingData.Insurance
public static class PaymentIntentCaptureParams.PaymentDetails.LodgingData.Insurance.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.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(PaymentIntentCaptureParams.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
public PaymentIntentCaptureParams.PaymentDetails.LodgingData.Insurance.Builder setAmount(Long amount) Required. Price of the insurance coverage in cents. -
setCurrency
public PaymentIntentCaptureParams.PaymentDetails.LodgingData.Insurance.Builder setCurrency(String currency) Currency of the insurance amount. -
putExtraParam
public PaymentIntentCaptureParams.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. SeePaymentIntentCaptureParams.PaymentDetails.LodgingData.Insurance.extraParamsfor the field documentation. -
putAllExtraParam
public PaymentIntentCaptureParams.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. SeePaymentIntentCaptureParams.PaymentDetails.LodgingData.Insurance.extraParamsfor the field documentation. -
setInsuranceCompanyName
public PaymentIntentCaptureParams.PaymentDetails.LodgingData.Insurance.Builder setInsuranceCompanyName(String insuranceCompanyName) Name of the insurance company. -
setInsuranceType
public PaymentIntentCaptureParams.PaymentDetails.LodgingData.Insurance.Builder setInsuranceType(PaymentIntentCaptureParams.PaymentDetails.LodgingData.Insurance.InsuranceType insuranceType) Required. Type of insurance coverage.
-