Package com.stripe.param.issuing
Class CardCreateParams.Shipping.Builder
java.lang.Object
com.stripe.param.issuing.CardCreateParams.Shipping.Builder
- Enclosing class:
- CardCreateParams.Shipping
-
Constructor Summary
-
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. The address that the card is shipped to.setAddressValidation
(CardCreateParams.Shipping.AddressValidation addressValidation) Address validation settings.Customs information for the shipment.Required. The name printed on the shipping label when shipping the card.setPhoneNumber
(String phoneNumber) Phone number of the recipient of the shipment.setRequireSignature
(Boolean requireSignature) Whether a signature is required for card delivery.Shipment service.Packaging options.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAddress
Required. The address that the card is shipped to. -
setAddressValidation
public CardCreateParams.Shipping.Builder setAddressValidation(CardCreateParams.Shipping.AddressValidation addressValidation) Address validation settings. -
setCustoms
Customs information for the shipment. -
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. SeeCardCreateParams.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. SeeCardCreateParams.Shipping.extraParams
for the field documentation. -
setName
Required. The name printed on the shipping label when shipping the card. -
setPhoneNumber
Phone number of the recipient of the shipment. -
setRequireSignature
Whether a signature is required for card delivery. -
setService
Shipment service. -
setType
Packaging options.
-