Package com.stripe.param
Class PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Builder
java.lang.Object
com.stripe.param.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Builder
public static class PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Builder
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllBusReservationDetail(List<PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.BusReservationDetail> elements) Add all elements to `busReservationDetails` list.addAllEventReservationDetail(List<PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.EventReservationDetail> elements) Add all elements to `eventReservationDetails` list.addAllFerryReservationDetail(List<PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail> elements) Add all elements to `ferryReservationDetails` list.addAllInsurance(List<PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Insurance> elements) Add all elements to `insurances` list.addAllMarketplaceSeller(List<PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller> elements) Add all elements to `marketplaceSellers` list.addAllRoundTripReservationDetail(List<PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.RoundTripReservationDetail> elements) Add all elements to `roundTripReservationDetails` list.addAllTrainReservationDetail(List<PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.TrainReservationDetail> elements) Add all elements to `trainReservationDetails` list.addAllVoucher(List<PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Voucher> elements) Add all elements to `vouchers` list.addBusReservationDetail(PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.BusReservationDetail element) Add an element to `busReservationDetails` list.addEventReservationDetail(PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.EventReservationDetail element) Add an element to `eventReservationDetails` list.addFerryReservationDetail(PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail element) Add an element to `ferryReservationDetails` list.addInsurance(PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Insurance element) Add an element to `insurances` list.addMarketplaceSeller(PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller element) Add an element to `marketplaceSellers` list.addRoundTripReservationDetail(PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.RoundTripReservationDetail element) Add an element to `roundTripReservationDetails` list.addTrainReservationDetail(PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.TrainReservationDetail element) Add an element to `trainReservationDetails` list.addVoucher(PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Voucher element) Add an element to `vouchers` list.build()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.setBusReservationDetails(EmptyParam busReservationDetails) Supplementary bus reservation details.setBusReservationDetails(List<PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.BusReservationDetail> busReservationDetails) Supplementary bus reservation details.setEventReservationDetails(EmptyParam eventReservationDetails) Supplementary event reservation details.setEventReservationDetails(List<PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.EventReservationDetail> eventReservationDetails) Supplementary event reservation details.setFerryReservationDetails(EmptyParam ferryReservationDetails) Supplementary ferry reservation details.setFerryReservationDetails(List<PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail> ferryReservationDetails) Supplementary ferry reservation details.setInsurances(EmptyParam insurances) Supplementary insurance details.setInsurances(List<PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Insurance> insurances) Supplementary insurance details.setMarketplaceSellers(EmptyParam marketplaceSellers) Supplementary marketplace seller details.setMarketplaceSellers(List<PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller> marketplaceSellers) Supplementary marketplace seller details.setRoundTripReservationDetails(EmptyParam roundTripReservationDetails) Supplementary round trip reservation details.setRoundTripReservationDetails(List<PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.RoundTripReservationDetail> roundTripReservationDetails) Supplementary round trip reservation details.setTrainReservationDetails(EmptyParam trainReservationDetails) Supplementary train reservation details.setTrainReservationDetails(List<PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.TrainReservationDetail> trainReservationDetails) Supplementary train reservation details.setVouchers(EmptyParam vouchers) Voucher details, such as a gift card or discount code.setVouchers(List<PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Voucher> vouchers) Voucher details, such as a gift card or discount code.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
addBusReservationDetail
public PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Builder addBusReservationDetail(PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.BusReservationDetail element) Add an element to `busReservationDetails` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeePaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.busReservationDetailsfor the field documentation. -
addAllBusReservationDetail
public PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Builder addAllBusReservationDetail(List<PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.BusReservationDetail> elements) Add all elements to `busReservationDetails` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeePaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.busReservationDetailsfor the field documentation. -
setBusReservationDetails
public PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Builder setBusReservationDetails(EmptyParam busReservationDetails) Supplementary bus reservation details. -
setBusReservationDetails
public PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Builder setBusReservationDetails(List<PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.BusReservationDetail> busReservationDetails) Supplementary bus reservation details. -
addEventReservationDetail
public PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Builder addEventReservationDetail(PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.EventReservationDetail element) Add an element to `eventReservationDetails` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeePaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.eventReservationDetailsfor the field documentation. -
addAllEventReservationDetail
public PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Builder addAllEventReservationDetail(List<PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.EventReservationDetail> elements) Add all elements to `eventReservationDetails` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeePaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.eventReservationDetailsfor the field documentation. -
setEventReservationDetails
public PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Builder setEventReservationDetails(EmptyParam eventReservationDetails) Supplementary event reservation details. -
setEventReservationDetails
public PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Builder setEventReservationDetails(List<PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.EventReservationDetail> eventReservationDetails) Supplementary event reservation details. -
putExtraParam
public PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.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.extraParamsfor the field documentation. -
putAllExtraParam
public PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.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.extraParamsfor the field documentation. -
addFerryReservationDetail
public PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Builder addFerryReservationDetail(PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail element) Add an element to `ferryReservationDetails` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeePaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.ferryReservationDetailsfor the field documentation. -
addAllFerryReservationDetail
public PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Builder addAllFerryReservationDetail(List<PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail> elements) Add all elements to `ferryReservationDetails` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeePaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.ferryReservationDetailsfor the field documentation. -
setFerryReservationDetails
public PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Builder setFerryReservationDetails(EmptyParam ferryReservationDetails) Supplementary ferry reservation details. -
setFerryReservationDetails
public PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Builder setFerryReservationDetails(List<PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail> ferryReservationDetails) Supplementary ferry reservation details. -
addInsurance
public PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Builder addInsurance(PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Insurance element) Add an element to `insurances` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeePaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.insurancesfor the field documentation. -
addAllInsurance
public PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Builder addAllInsurance(List<PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Insurance> elements) Add all elements to `insurances` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeePaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.insurancesfor the field documentation. -
setInsurances
public PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Builder setInsurances(EmptyParam insurances) Supplementary insurance details. -
setInsurances
public PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Builder setInsurances(List<PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Insurance> insurances) Supplementary insurance details. -
addMarketplaceSeller
public PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Builder addMarketplaceSeller(PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller element) Add an element to `marketplaceSellers` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeePaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.marketplaceSellersfor the field documentation. -
addAllMarketplaceSeller
public PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Builder addAllMarketplaceSeller(List<PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller> elements) Add all elements to `marketplaceSellers` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeePaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.marketplaceSellersfor the field documentation. -
setMarketplaceSellers
public PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Builder setMarketplaceSellers(EmptyParam marketplaceSellers) Supplementary marketplace seller details. -
setMarketplaceSellers
public PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Builder setMarketplaceSellers(List<PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller> marketplaceSellers) Supplementary marketplace seller details. -
addRoundTripReservationDetail
public PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Builder addRoundTripReservationDetail(PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.RoundTripReservationDetail element) Add an element to `roundTripReservationDetails` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeePaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.roundTripReservationDetailsfor the field documentation. -
addAllRoundTripReservationDetail
public PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Builder addAllRoundTripReservationDetail(List<PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.RoundTripReservationDetail> elements) Add all elements to `roundTripReservationDetails` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeePaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.roundTripReservationDetailsfor the field documentation. -
setRoundTripReservationDetails
public PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Builder setRoundTripReservationDetails(EmptyParam roundTripReservationDetails) Supplementary round trip reservation details. -
setRoundTripReservationDetails
public PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Builder setRoundTripReservationDetails(List<PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.RoundTripReservationDetail> roundTripReservationDetails) Supplementary round trip reservation details. -
addTrainReservationDetail
public PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Builder addTrainReservationDetail(PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.TrainReservationDetail element) Add an element to `trainReservationDetails` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeePaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.trainReservationDetailsfor the field documentation. -
addAllTrainReservationDetail
public PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Builder addAllTrainReservationDetail(List<PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.TrainReservationDetail> elements) Add all elements to `trainReservationDetails` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeePaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.trainReservationDetailsfor the field documentation. -
setTrainReservationDetails
public PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Builder setTrainReservationDetails(EmptyParam trainReservationDetails) Supplementary train reservation details. -
setTrainReservationDetails
public PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Builder setTrainReservationDetails(List<PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.TrainReservationDetail> trainReservationDetails) Supplementary train reservation details. -
addVoucher
public PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Builder addVoucher(PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Voucher element) Add an element to `vouchers` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeePaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.vouchersfor the field documentation. -
addAllVoucher
public PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Builder addAllVoucher(List<PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Voucher> elements) Add all elements to `vouchers` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeePaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.vouchersfor the field documentation. -
setVouchers
public PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Builder setVouchers(EmptyParam vouchers) Voucher details, such as a gift card or discount code. -
setVouchers
public PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Builder setVouchers(List<PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Voucher> vouchers) Voucher details, such as a gift card or discount code.
-