Package com.stripe.param.issuing
Class AuthorizationCreateParams.Fleet.CardholderPromptData.Builder
java.lang.Object
com.stripe.param.issuing.AuthorizationCreateParams.Fleet.CardholderPromptData.Builder
- Enclosing class:
- AuthorizationCreateParams.Fleet.CardholderPromptData
-
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.setDriverId
(String driverId) Driver ID.setOdometer
(Long odometer) Odometer reading.setUnspecifiedId
(String unspecifiedId) An alphanumeric ID.User ID.setVehicleNumber
(String vehicleNumber)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setDriverId
Driver ID. -
putExtraParam
public AuthorizationCreateParams.Fleet.CardholderPromptData.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. SeeAuthorizationCreateParams.Fleet.CardholderPromptData.extraParams
for the field documentation. -
putAllExtraParam
public AuthorizationCreateParams.Fleet.CardholderPromptData.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. SeeAuthorizationCreateParams.Fleet.CardholderPromptData.extraParams
for the field documentation. -
setOdometer
Odometer reading. -
setUnspecifiedId
public AuthorizationCreateParams.Fleet.CardholderPromptData.Builder setUnspecifiedId(String unspecifiedId) An alphanumeric ID. This field is used when a vehicle ID, driver ID, or generic ID is entered by the cardholder, but the merchant or card network did not specify the prompt type. -
setUserId
User ID. -
setVehicleNumber
public AuthorizationCreateParams.Fleet.CardholderPromptData.Builder setVehicleNumber(String vehicleNumber)
-