Package com.stripe.param
Class PersonUpdateParams.UsCfpbData.RaceDetails.Builder
java.lang.Object
com.stripe.param.PersonUpdateParams.UsCfpbData.RaceDetails.Builder
- Enclosing class:
- PersonUpdateParams.UsCfpbData.RaceDetails
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdd all elements to `race` list.Add an element to `race` list.build()
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.setRaceOther
(EmptyParam raceOther) setRaceOther
(String raceOther) Please specify your race, when other is selected.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
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. SeePersonUpdateParams.UsCfpbData.RaceDetails.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. SeePersonUpdateParams.UsCfpbData.RaceDetails.extraParams
for the field documentation. -
addRace
public PersonUpdateParams.UsCfpbData.RaceDetails.Builder addRace(PersonUpdateParams.UsCfpbData.RaceDetails.Race element) Add an element to `race` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeePersonUpdateParams.UsCfpbData.RaceDetails.race
for the field documentation. -
addAllRace
public PersonUpdateParams.UsCfpbData.RaceDetails.Builder addAllRace(List<PersonUpdateParams.UsCfpbData.RaceDetails.Race> elements) Add all elements to `race` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeePersonUpdateParams.UsCfpbData.RaceDetails.race
for the field documentation. -
setRaceOther
Please specify your race, when other is selected. -
setRaceOther
-