Package com.stripe.param
Class OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Builder
java.lang.Object
com.stripe.param.OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Builder
- Enclosing class:
- OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail
public static class OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Builder
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllInsurance(List<OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Insurance> elements) Add all elements to `insurances` list.addAllPassenger(List<OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Passenger> elements) Add all elements to `passengers` list.addInsurance(OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Insurance element) Add an element to `insurances` list.addPassenger(OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Passenger element) Add an element to `passengers` 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.setAffiliateName(EmptyParam affiliateName) Name of associated or partner company for the service.setAffiliateName(String affiliateName) Name of associated or partner company for the service.setArrival(OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Arrival arrival) Arrival details.setCarrierName(EmptyParam carrierName) Name of transportation company.setCarrierName(String carrierName) Name of transportation company.setCurrency(EmptyParam currency) Currency.setCurrency(String currency) Currency.setDeparture(OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Departure departure) Departure details.Price in cents.setTicketClass(OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.TicketClass ticketClass) Ticket class.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
public OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail build()Finalize and obtain parameter instance from this builder. -
setAffiliateName
public OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Builder setAffiliateName(String affiliateName) Name of associated or partner company for the service. -
setAffiliateName
public OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Builder setAffiliateName(EmptyParam affiliateName) Name of associated or partner company for the service. -
setArrival
public OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Builder setArrival(OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Arrival arrival) Arrival details. -
setCarrierName
public OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Builder setCarrierName(String carrierName) Name of transportation company. -
setCarrierName
public OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Builder setCarrierName(EmptyParam carrierName) Name of transportation company. -
setCurrency
public OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Builder setCurrency(String currency) Currency. -
setCurrency
public OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Builder setCurrency(EmptyParam currency) Currency. -
setDeparture
public OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Builder setDeparture(OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Departure departure) Departure details. -
putExtraParam
public OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.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. SeeOrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.extraParamsfor the field documentation. -
putAllExtraParam
public OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.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. SeeOrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.extraParamsfor the field documentation. -
addInsurance
public OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Builder addInsurance(OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.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. SeeOrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.insurancesfor the field documentation. -
addAllInsurance
public OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Builder addAllInsurance(List<OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.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. SeeOrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.insurancesfor the field documentation. -
addPassenger
public OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Builder addPassenger(OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Passenger element) Add an element to `passengers` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeOrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.passengersfor the field documentation. -
addAllPassenger
public OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Builder addAllPassenger(List<OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Passenger> elements) Add all elements to `passengers` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeOrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.passengersfor the field documentation. -
setPrice
public OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Builder setPrice(Long price) Price in cents. -
setTicketClass
public OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.Builder setTicketClass(OrderUpdateParams.Payment.Settings.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.FerryReservationDetail.TicketClass ticketClass) Ticket class.
-