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