Package com.stripe.param.issuing
Class AuthorizationFinalizeAmountParams.Fleet.Builder
java.lang.Object
com.stripe.param.issuing.AuthorizationFinalizeAmountParams.Fleet.Builder
- Enclosing class:
- AuthorizationFinalizeAmountParams.Fleet
-
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
(AuthorizationFinalizeAmountParams.Fleet.CardholderPromptData cardholderPromptData) Answers to prompts presented to the cardholder at the point of sale.The type of purchase.setReportedBreakdown
(AuthorizationFinalizeAmountParams.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 AuthorizationFinalizeAmountParams.Fleet.Builder setCardholderPromptData(AuthorizationFinalizeAmountParams.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
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. SeeAuthorizationFinalizeAmountParams.Fleet.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. SeeAuthorizationFinalizeAmountParams.Fleet.extraParams
for the field documentation. -
setPurchaseType
public AuthorizationFinalizeAmountParams.Fleet.Builder setPurchaseType(AuthorizationFinalizeAmountParams.Fleet.PurchaseType purchaseType) The type of purchase. One offuel_purchase
,non_fuel_purchase
, orfuel_and_non_fuel_purchase
. -
setReportedBreakdown
public AuthorizationFinalizeAmountParams.Fleet.Builder setReportedBreakdown(AuthorizationFinalizeAmountParams.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 AuthorizationFinalizeAmountParams.Fleet.Builder setServiceType(AuthorizationFinalizeAmountParams.Fleet.ServiceType serviceType) The type of fuel service. One ofnon_fuel_transaction
,full_service
, orself_service
.
-