Package com.stripe.param
Class ChargeCaptureParams.PaymentDetails.CarRental.Delivery.Recipient.Builder
java.lang.Object
com.stripe.param.ChargeCaptureParams.PaymentDetails.CarRental.Delivery.Recipient.Builder
- Enclosing class:
- ChargeCaptureParams.PaymentDetails.CarRental.Delivery.Recipient
public static class ChargeCaptureParams.PaymentDetails.CarRental.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.The email of the recipient the ticket is delivered to.The name 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 ChargeCaptureParams.PaymentDetails.CarRental.Delivery.Recipient.Builder setEmail(String email) The email of the recipient the ticket is delivered to. -
putExtraParam
public ChargeCaptureParams.PaymentDetails.CarRental.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. SeeChargeCaptureParams.PaymentDetails.CarRental.Delivery.Recipient.extraParams
for the field documentation. -
putAllExtraParam
public ChargeCaptureParams.PaymentDetails.CarRental.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. SeeChargeCaptureParams.PaymentDetails.CarRental.Delivery.Recipient.extraParams
for the field documentation. -
setName
The name of the recipient the ticket is delivered to. -
setPhone
public ChargeCaptureParams.PaymentDetails.CarRental.Delivery.Recipient.Builder setPhone(String phone)
-