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
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. The address that the card is shipped to.setAddressValidation(CardCreateParams.Shipping.AddressValidation addressValidation) Address validation settings.setBusinessName(String businessName) The name of the business at the shipping address, used on the shipping label to ensure delivery when the card is shipped to a cardholder's workplace.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. -
setBusinessName
The name of the business at the shipping address, used on the shipping label to ensure delivery when the card is shipped to a cardholder's workplace. Allowed characters:A-Z,a-z,0-9, ,.,-. All other characters are stripped or ASCII-normalized when printed. -
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.extraParamsfor 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.extraParamsfor 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.
-