Package com.stripe.param.issuing
Class CardholderUpdateParams.Builder
java.lang.Object
com.stripe.param.issuing.CardholderUpdateParams.Builder
- Enclosing class:
- CardholderUpdateParams
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddAllExpand
(List<String> elements) Add all elements to `expand` list.Add all elements to `preferredLocales` list.Add an element to `expand` list.Add an element to `preferredLocales` list.build()
Finalize and obtain parameter instance from this builder.putAllExtraParam
(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putAllMetadata
(Map<String, String> map) Add all map key/value pairs to `metadata` map.putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.putMetadata
(String key, String value) Add a key/value pair to `metadata` map.setBilling
(CardholderUpdateParams.Billing billing) The cardholder's billing address.setCompany
(CardholderUpdateParams.Company company) Additional information about acompany
cardholder.setEmail
(EmptyParam email) The cardholder's email address.The cardholder's email address.setIndividual
(CardholderUpdateParams.Individual individual) Additional information about anindividual
cardholder.setPhoneNumber
(EmptyParam phoneNumber) The cardholder's phone number.setPhoneNumber
(String phoneNumber) The cardholder's phone number.setSpendingControls
(CardholderUpdateParams.SpendingControls spendingControls) Rules that control spending across this cardholder's cards.Specifies whether to permit authorizations on this cardholder's cards.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setBilling
The cardholder's billing address. -
setCompany
Additional information about acompany
cardholder. -
setEmail
The cardholder's email address. -
setEmail
The cardholder's email address. -
addExpand
Add an element to `expand` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeCardholderUpdateParams.expand
for the field documentation. -
addAllExpand
Add all elements to `expand` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeCardholderUpdateParams.expand
for the field documentation. -
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. SeeCardholderUpdateParams.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. SeeCardholderUpdateParams.extraParams
for the field documentation. -
setIndividual
Additional information about anindividual
cardholder. -
putMetadata
Add a key/value pair to `metadata` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeCardholderUpdateParams.metadata
for the field documentation. -
putAllMetadata
Add all map key/value pairs to `metadata` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeCardholderUpdateParams.metadata
for the field documentation. -
setPhoneNumber
The cardholder's phone number. This is required for all cardholders who will be creating EU cards. See the 3D Secure documentation for more details. -
setPhoneNumber
The cardholder's phone number. This is required for all cardholders who will be creating EU cards. See the 3D Secure documentation for more details. -
addPreferredLocale
public CardholderUpdateParams.Builder addPreferredLocale(CardholderUpdateParams.PreferredLocale element) Add an element to `preferredLocales` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeCardholderUpdateParams.preferredLocales
for the field documentation. -
addAllPreferredLocale
public CardholderUpdateParams.Builder addAllPreferredLocale(List<CardholderUpdateParams.PreferredLocale> elements) Add all elements to `preferredLocales` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeCardholderUpdateParams.preferredLocales
for the field documentation. -
setSpendingControls
public CardholderUpdateParams.Builder setSpendingControls(CardholderUpdateParams.SpendingControls spendingControls) Rules that control spending across this cardholder's cards. Refer to our documentation for more details. -
setStatus
Specifies whether to permit authorizations on this cardholder's cards.
-