Package com.stripe.param
Class PaymentIntentCreateParams.Shipping.Builder
java.lang.Object
com.stripe.param.PaymentIntentCreateParams.Shipping.Builder
- Enclosing class:
- PaymentIntentCreateParams.Shipping
-
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.Required. Shipping address.setCarrier
(String carrier) The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.Required. Recipient name.Recipient phone (including extension).setTrackingNumber
(String trackingNumber) The tracking number for a physical product, obtained from the delivery service.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAddress
public PaymentIntentCreateParams.Shipping.Builder setAddress(PaymentIntentCreateParams.Shipping.Address address) Required. Shipping address. -
setCarrier
The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc. -
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. SeePaymentIntentCreateParams.Shipping.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. SeePaymentIntentCreateParams.Shipping.extraParams
for the field documentation. -
setName
Required. Recipient name. -
setPhone
Recipient phone (including extension). -
setTrackingNumber
The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas.
-