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