Package com.stripe.param.issuing
Class TransactionCreateUnlinkedRefundParams.PurchaseDetails.Fleet.CardholderPromptData.Builder
java.lang.Object
com.stripe.param.issuing.TransactionCreateUnlinkedRefundParams.PurchaseDetails.Fleet.CardholderPromptData.Builder
public static class TransactionCreateUnlinkedRefundParams.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 TransactionCreateUnlinkedRefundParams.PurchaseDetails.Fleet.CardholderPromptData.Builder setDriverId(String driverId) Driver ID. -
putExtraParam
public TransactionCreateUnlinkedRefundParams.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. SeeTransactionCreateUnlinkedRefundParams.PurchaseDetails.Fleet.CardholderPromptData.extraParams
for the field documentation. -
putAllExtraParam
public TransactionCreateUnlinkedRefundParams.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. SeeTransactionCreateUnlinkedRefundParams.PurchaseDetails.Fleet.CardholderPromptData.extraParams
for the field documentation. -
setOdometer
public TransactionCreateUnlinkedRefundParams.PurchaseDetails.Fleet.CardholderPromptData.Builder setOdometer(Long odometer) Odometer reading. -
setUnspecifiedId
public TransactionCreateUnlinkedRefundParams.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 TransactionCreateUnlinkedRefundParams.PurchaseDetails.Fleet.CardholderPromptData.Builder setUserId(String userId) User ID. -
setVehicleNumber
public TransactionCreateUnlinkedRefundParams.PurchaseDetails.Fleet.CardholderPromptData.Builder setVehicleNumber(String vehicleNumber) Vehicle number.
-