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