Package com.stripe.param
Class PaymentIntentConfirmParams.PaymentDetails.Builder
java.lang.Object
com.stripe.param.PaymentIntentConfirmParams.PaymentDetails.Builder
- Enclosing class:
- PaymentIntentConfirmParams.PaymentDetails
-
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.Car rental details for this PaymentIntent.setCustomerReference
(EmptyParam customerReference) Some customers might be required by their company or organization to provide this information.setCustomerReference
(String customerReference) Some customers might be required by their company or organization to provide this information.Event details for this PaymentIntent.Flight reservation details for this PaymentIntent.Lodging reservation details for this PaymentIntent.setOrderReference
(EmptyParam orderReference) A unique value assigned by the business to identify the transaction.setOrderReference
(String orderReference) A unique value assigned by the business to identify the transaction.Subscription details for this PaymentIntent.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setCarRental
public PaymentIntentConfirmParams.PaymentDetails.Builder setCarRental(PaymentIntentConfirmParams.PaymentDetails.CarRental carRental) Car rental details for this PaymentIntent. -
setCustomerReference
public PaymentIntentConfirmParams.PaymentDetails.Builder setCustomerReference(String customerReference) Some customers might be required by their company or organization to provide this information. If so, provide this value. Otherwise you can ignore this field. -
setCustomerReference
public PaymentIntentConfirmParams.PaymentDetails.Builder setCustomerReference(EmptyParam customerReference) Some customers might be required by their company or organization to provide this information. If so, provide this value. Otherwise you can ignore this field. -
setEventDetails
public PaymentIntentConfirmParams.PaymentDetails.Builder setEventDetails(PaymentIntentConfirmParams.PaymentDetails.EventDetails eventDetails) Event details for this PaymentIntent. -
putExtraParam
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. SeePaymentIntentConfirmParams.PaymentDetails.extraParams
for the field documentation. -
putAllExtraParam
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. SeePaymentIntentConfirmParams.PaymentDetails.extraParams
for the field documentation. -
setFlight
public PaymentIntentConfirmParams.PaymentDetails.Builder setFlight(PaymentIntentConfirmParams.PaymentDetails.Flight flight) Flight reservation details for this PaymentIntent. -
setLodging
public PaymentIntentConfirmParams.PaymentDetails.Builder setLodging(PaymentIntentConfirmParams.PaymentDetails.Lodging lodging) Lodging reservation details for this PaymentIntent. -
setOrderReference
A unique value assigned by the business to identify the transaction. -
setOrderReference
public PaymentIntentConfirmParams.PaymentDetails.Builder setOrderReference(EmptyParam orderReference) A unique value assigned by the business to identify the transaction. -
setSubscription
public PaymentIntentConfirmParams.PaymentDetails.Builder setSubscription(PaymentIntentConfirmParams.PaymentDetails.Subscription subscription) Subscription details for this PaymentIntent.
-