Class CardholderUpdateParams.Builder

java.lang.Object
com.stripe.param.issuing.CardholderUpdateParams.Builder
Enclosing class:
CardholderUpdateParams

public static class CardholderUpdateParams.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

      public CardholderUpdateParams build()
      Finalize and obtain parameter instance from this builder.
    • setBilling

      The cardholder's billing address.
    • setCompany

      Additional information about a company cardholder.
    • setEmail

      public CardholderUpdateParams.Builder setEmail(String email)
      The cardholder's email address.
    • setEmail

      public CardholderUpdateParams.Builder setEmail(EmptyParam email)
      The cardholder's email address.
    • addExpand

      public CardholderUpdateParams.Builder addExpand(String element)
      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. See CardholderUpdateParams.expand for the field documentation.
    • addAllExpand

      public CardholderUpdateParams.Builder addAllExpand(List<String> elements)
      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. See CardholderUpdateParams.expand for the field documentation.
    • putExtraParam

      public CardholderUpdateParams.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. See CardholderUpdateParams.extraParams for the field documentation.
    • putAllExtraParam

      public CardholderUpdateParams.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. See CardholderUpdateParams.extraParams for the field documentation.
    • setIndividual

      Additional information about an individual cardholder.
    • putMetadata

      public CardholderUpdateParams.Builder putMetadata(String key, String value)
      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. See CardholderUpdateParams.metadata for the field documentation.
    • putAllMetadata

      public CardholderUpdateParams.Builder putAllMetadata(Map<String,String> map)
      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. See CardholderUpdateParams.metadata for the field documentation.
    • setPhoneNumber

      public CardholderUpdateParams.Builder setPhoneNumber(String phoneNumber)
      The cardholder's phone number. This is required for all cardholders who will be creating EU cards. While phone number is optional if the cardholder will not be creating EU cards, note that this cardholder will not be eligible for 3DS without a phone number. See the 3D Secure documentation for more details.
    • setPhoneNumber

      public CardholderUpdateParams.Builder setPhoneNumber(EmptyParam phoneNumber)
      The cardholder's phone number. This is required for all cardholders who will be creating EU cards. While phone number is optional if the cardholder will not be creating EU cards, note that this cardholder will not be eligible for 3DS without a phone number. See the 3D Secure documentation for more details.
    • addPreferredLocale

      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. See CardholderUpdateParams.preferredLocales for the field documentation.
    • addAllPreferredLocale

      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. See CardholderUpdateParams.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.