Package com.stripe.param
Class PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.EventReservationDetail.Insurance.Builder
java.lang.Object
com.stripe.param.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.EventReservationDetail.Insurance.Builder
- Enclosing class:
- PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.EventReservationDetail.Insurance
public static class PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.EventReservationDetail.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.setCurrency(String currency) Insurance currency.setInsuranceCompanyName(String insuranceCompanyName) Name of the company providing the insurance.setInsuranceType(PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.EventReservationDetail.Insurance.InsuranceType insuranceType) Type of insurance.Price of insurance in cents.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
public PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.EventReservationDetail.Insurance build()Finalize and obtain parameter instance from this builder. -
setCurrency
public PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.EventReservationDetail.Insurance.Builder setCurrency(String currency) Insurance currency. -
putExtraParam
public PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.EventReservationDetail.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. SeePaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.EventReservationDetail.Insurance.extraParamsfor the field documentation. -
putAllExtraParam
public PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.EventReservationDetail.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. SeePaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.EventReservationDetail.Insurance.extraParamsfor the field documentation. -
setInsuranceCompanyName
public PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.EventReservationDetail.Insurance.Builder setInsuranceCompanyName(String insuranceCompanyName) Name of the company providing the insurance. -
setInsuranceType
public PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.EventReservationDetail.Insurance.Builder setInsuranceType(PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.EventReservationDetail.Insurance.InsuranceType insuranceType) Type of insurance. -
setPrice
public PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.EventReservationDetail.Insurance.Builder setPrice(Long price) Price of insurance in cents.
-