Package com.stripe.param.issuing
Class TransactionCreateForceCaptureParams.PurchaseDetails.Fleet.Builder
java.lang.Object
com.stripe.param.issuing.TransactionCreateForceCaptureParams.PurchaseDetails.Fleet.Builder
- Enclosing class:
- TransactionCreateForceCaptureParams.PurchaseDetails.Fleet
public static class TransactionCreateForceCaptureParams.PurchaseDetails.Fleet.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.setCardholderPromptData
(TransactionCreateForceCaptureParams.PurchaseDetails.Fleet.CardholderPromptData cardholderPromptData) Answers to prompts presented to the cardholder at the point of sale.setPurchaseType
(TransactionCreateForceCaptureParams.PurchaseDetails.Fleet.PurchaseType purchaseType) The type of purchase.setReportedBreakdown
(TransactionCreateForceCaptureParams.PurchaseDetails.Fleet.ReportedBreakdown reportedBreakdown) More information about the total amount.The type of fuel service.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setCardholderPromptData
public TransactionCreateForceCaptureParams.PurchaseDetails.Fleet.Builder setCardholderPromptData(TransactionCreateForceCaptureParams.PurchaseDetails.Fleet.CardholderPromptData cardholderPromptData) Answers to prompts presented to the cardholder at the point of sale. Prompted fields vary depending on the configuration of your physical fleet cards. Typical points of sale support only numeric entry. -
putExtraParam
public TransactionCreateForceCaptureParams.PurchaseDetails.Fleet.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.extraParams
for the field documentation. -
putAllExtraParam
public TransactionCreateForceCaptureParams.PurchaseDetails.Fleet.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.extraParams
for the field documentation. -
setPurchaseType
public TransactionCreateForceCaptureParams.PurchaseDetails.Fleet.Builder setPurchaseType(TransactionCreateForceCaptureParams.PurchaseDetails.Fleet.PurchaseType purchaseType) The type of purchase. One offuel_purchase
,non_fuel_purchase
, orfuel_and_non_fuel_purchase
. -
setReportedBreakdown
public TransactionCreateForceCaptureParams.PurchaseDetails.Fleet.Builder setReportedBreakdown(TransactionCreateForceCaptureParams.PurchaseDetails.Fleet.ReportedBreakdown reportedBreakdown) More information about the total amount. This information is not guaranteed to be accurate as some merchants may provide unreliable data. -
setServiceType
public TransactionCreateForceCaptureParams.PurchaseDetails.Fleet.Builder setServiceType(TransactionCreateForceCaptureParams.PurchaseDetails.Fleet.ServiceType serviceType) The type of fuel service. One ofnon_fuel_transaction
,full_service
, orself_service
.
-