Package com.stripe.param
Class ChargeUpdateParams.PaymentDetails.Builder
java.lang.Object
com.stripe.param.ChargeUpdateParams.PaymentDetails.Builder
- Enclosing class:
- ChargeUpdateParams.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 ChargeUpdateParams.PaymentDetails.Builder setCarRental(ChargeUpdateParams.PaymentDetails.CarRental carRental) Car rental details for this PaymentIntent. -
setCustomerReference
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
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 ChargeUpdateParams.PaymentDetails.Builder setEventDetails(ChargeUpdateParams.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. SeeChargeUpdateParams.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. SeeChargeUpdateParams.PaymentDetails.extraParams
for the field documentation. -
setFlight
public ChargeUpdateParams.PaymentDetails.Builder setFlight(ChargeUpdateParams.PaymentDetails.Flight flight) Flight reservation details for this PaymentIntent. -
setLodging
public ChargeUpdateParams.PaymentDetails.Builder setLodging(ChargeUpdateParams.PaymentDetails.Lodging lodging) Lodging reservation details for this PaymentIntent. -
setOrderReference
A unique value assigned by the business to identify the transaction. -
setOrderReference
A unique value assigned by the business to identify the transaction. -
setSubscription
public ChargeUpdateParams.PaymentDetails.Builder setSubscription(ChargeUpdateParams.PaymentDetails.Subscription subscription) Subscription details for this PaymentIntent.
-