Package com.stripe.param.issuing
Class TransactionCreateForceCaptureParams.PurchaseDetails.Fleet.CardholderPromptData.Builder
java.lang.Object
com.stripe.param.issuing.TransactionCreateForceCaptureParams.PurchaseDetails.Fleet.CardholderPromptData.Builder
public static class TransactionCreateForceCaptureParams.PurchaseDetails.Fleet.CardholderPromptData.Builder
extends Object
-
Constructor Summary
-
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) Vehicle number.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setDriverId
public TransactionCreateForceCaptureParams.PurchaseDetails.Fleet.CardholderPromptData.Builder setDriverId(String driverId) Driver ID. -
putExtraParam
public TransactionCreateForceCaptureParams.PurchaseDetails.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. SeeTransactionCreateForceCaptureParams.PurchaseDetails.Fleet.CardholderPromptData.extraParams
for the field documentation. -
putAllExtraParam
public TransactionCreateForceCaptureParams.PurchaseDetails.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. SeeTransactionCreateForceCaptureParams.PurchaseDetails.Fleet.CardholderPromptData.extraParams
for the field documentation. -
setOdometer
public TransactionCreateForceCaptureParams.PurchaseDetails.Fleet.CardholderPromptData.Builder setOdometer(Long odometer) Odometer reading. -
setUnspecifiedId
public TransactionCreateForceCaptureParams.PurchaseDetails.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
public TransactionCreateForceCaptureParams.PurchaseDetails.Fleet.CardholderPromptData.Builder setUserId(String userId) User ID. -
setVehicleNumber
public TransactionCreateForceCaptureParams.PurchaseDetails.Fleet.CardholderPromptData.Builder setVehicleNumber(String vehicleNumber) Vehicle number.
-