Package com.stripe.param
Class PaymentIntentUpdateParams.PaymentDetails.Flight.Delivery.Recipient.Builder
java.lang.Object
com.stripe.param.PaymentIntentUpdateParams.PaymentDetails.Flight.Delivery.Recipient.Builder
- Enclosing class:
- PaymentIntentUpdateParams.PaymentDetails.Flight.Delivery.Recipient
public static class PaymentIntentUpdateParams.PaymentDetails.Flight.Delivery.Recipient.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.setEmail
(EmptyParam email) The email of the recipient the ticket is delivered to.The email of the recipient the ticket is delivered to.setName
(EmptyParam name) The name of the recipient the ticket is delivered to.The name of the recipient the ticket is delivered to.setPhone
(EmptyParam phone) The phone number of the recipient the ticket is delivered to.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setEmail
public PaymentIntentUpdateParams.PaymentDetails.Flight.Delivery.Recipient.Builder setEmail(String email) The email of the recipient the ticket is delivered to. -
setEmail
public PaymentIntentUpdateParams.PaymentDetails.Flight.Delivery.Recipient.Builder setEmail(EmptyParam email) The email of the recipient the ticket is delivered to. -
putExtraParam
public PaymentIntentUpdateParams.PaymentDetails.Flight.Delivery.Recipient.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.PaymentDetails.Flight.Delivery.Recipient.extraParams
for the field documentation. -
putAllExtraParam
public PaymentIntentUpdateParams.PaymentDetails.Flight.Delivery.Recipient.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.PaymentDetails.Flight.Delivery.Recipient.extraParams
for the field documentation. -
setName
public PaymentIntentUpdateParams.PaymentDetails.Flight.Delivery.Recipient.Builder setName(String name) The name of the recipient the ticket is delivered to. -
setName
public PaymentIntentUpdateParams.PaymentDetails.Flight.Delivery.Recipient.Builder setName(EmptyParam name) The name of the recipient the ticket is delivered to. -
setPhone
public PaymentIntentUpdateParams.PaymentDetails.Flight.Delivery.Recipient.Builder setPhone(String phone) The phone number of the recipient the ticket is delivered to. -
setPhone
public PaymentIntentUpdateParams.PaymentDetails.Flight.Delivery.Recipient.Builder setPhone(EmptyParam phone)
-